Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +190 -0
- law-chat-Q2_K.gguf +3 -0
- law-chat-Q3_K_L.gguf +3 -0
- law-chat-Q3_K_M.gguf +3 -0
- law-chat-Q3_K_S.gguf +3 -0
- law-chat-Q4_0.gguf +3 -0
- law-chat-Q4_K_M.gguf +3 -0
- law-chat-Q4_K_S.gguf +3 -0
- law-chat-Q5_0.gguf +3 -0
- law-chat-Q5_K_M.gguf +3 -0
- law-chat-Q5_K_S.gguf +3 -0
- law-chat-Q6_K.gguf +3 -0
- law-chat-Q8_0.gguf +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
law-chat-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
law-chat-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
law-chat-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
law-chat-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
law-chat-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
law-chat-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
law-chat-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
law-chat-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
law-chat-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
law-chat-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
law-chat-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
law-chat-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: llama2
|
5 |
+
tags:
|
6 |
+
- legal
|
7 |
+
- TensorBlock
|
8 |
+
- GGUF
|
9 |
+
datasets:
|
10 |
+
- EleutherAI/pile
|
11 |
+
- Open-Orca/OpenOrca
|
12 |
+
- GAIR/lima
|
13 |
+
- WizardLM/WizardLM_evol_instruct_V2_196k
|
14 |
+
metrics:
|
15 |
+
- accuracy
|
16 |
+
pipeline_tag: text-generation
|
17 |
+
base_model: AdaptLLM/law-chat
|
18 |
+
model-index:
|
19 |
+
- name: law-chat
|
20 |
+
results:
|
21 |
+
- task:
|
22 |
+
type: text-generation
|
23 |
+
name: Text Generation
|
24 |
+
dataset:
|
25 |
+
name: AI2 Reasoning Challenge (25-Shot)
|
26 |
+
type: ai2_arc
|
27 |
+
config: ARC-Challenge
|
28 |
+
split: test
|
29 |
+
args:
|
30 |
+
num_few_shot: 25
|
31 |
+
metrics:
|
32 |
+
- type: acc_norm
|
33 |
+
value: 53.41
|
34 |
+
name: normalized accuracy
|
35 |
+
source:
|
36 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=AdaptLLM/law-chat
|
37 |
+
name: Open LLM Leaderboard
|
38 |
+
- task:
|
39 |
+
type: text-generation
|
40 |
+
name: Text Generation
|
41 |
+
dataset:
|
42 |
+
name: HellaSwag (10-Shot)
|
43 |
+
type: hellaswag
|
44 |
+
split: validation
|
45 |
+
args:
|
46 |
+
num_few_shot: 10
|
47 |
+
metrics:
|
48 |
+
- type: acc_norm
|
49 |
+
value: 76.16
|
50 |
+
name: normalized accuracy
|
51 |
+
source:
|
52 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=AdaptLLM/law-chat
|
53 |
+
name: Open LLM Leaderboard
|
54 |
+
- task:
|
55 |
+
type: text-generation
|
56 |
+
name: Text Generation
|
57 |
+
dataset:
|
58 |
+
name: MMLU (5-Shot)
|
59 |
+
type: cais/mmlu
|
60 |
+
config: all
|
61 |
+
split: test
|
62 |
+
args:
|
63 |
+
num_few_shot: 5
|
64 |
+
metrics:
|
65 |
+
- type: acc
|
66 |
+
value: 50.24
|
67 |
+
name: accuracy
|
68 |
+
source:
|
69 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=AdaptLLM/law-chat
|
70 |
+
name: Open LLM Leaderboard
|
71 |
+
- task:
|
72 |
+
type: text-generation
|
73 |
+
name: Text Generation
|
74 |
+
dataset:
|
75 |
+
name: TruthfulQA (0-shot)
|
76 |
+
type: truthful_qa
|
77 |
+
config: multiple_choice
|
78 |
+
split: validation
|
79 |
+
args:
|
80 |
+
num_few_shot: 0
|
81 |
+
metrics:
|
82 |
+
- type: mc2
|
83 |
+
value: 43.53
|
84 |
+
source:
|
85 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=AdaptLLM/law-chat
|
86 |
+
name: Open LLM Leaderboard
|
87 |
+
- task:
|
88 |
+
type: text-generation
|
89 |
+
name: Text Generation
|
90 |
+
dataset:
|
91 |
+
name: Winogrande (5-shot)
|
92 |
+
type: winogrande
|
93 |
+
config: winogrande_xl
|
94 |
+
split: validation
|
95 |
+
args:
|
96 |
+
num_few_shot: 5
|
97 |
+
metrics:
|
98 |
+
- type: acc
|
99 |
+
value: 75.45
|
100 |
+
name: accuracy
|
101 |
+
source:
|
102 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=AdaptLLM/law-chat
|
103 |
+
name: Open LLM Leaderboard
|
104 |
+
- task:
|
105 |
+
type: text-generation
|
106 |
+
name: Text Generation
|
107 |
+
dataset:
|
108 |
+
name: GSM8k (5-shot)
|
109 |
+
type: gsm8k
|
110 |
+
config: main
|
111 |
+
split: test
|
112 |
+
args:
|
113 |
+
num_few_shot: 5
|
114 |
+
metrics:
|
115 |
+
- type: acc
|
116 |
+
value: 18.5
|
117 |
+
name: accuracy
|
118 |
+
source:
|
119 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=AdaptLLM/law-chat
|
120 |
+
name: Open LLM Leaderboard
|
121 |
+
---
|
122 |
+
|
123 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
124 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
125 |
+
</div>
|
126 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
127 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
128 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
129 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
130 |
+
</p>
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
|
134 |
+
## AdaptLLM/law-chat - GGUF
|
135 |
+
|
136 |
+
This repo contains GGUF format model files for [AdaptLLM/law-chat](https://huggingface.co/AdaptLLM/law-chat).
|
137 |
+
|
138 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4242](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
139 |
+
|
140 |
+
<div style="text-align: left; margin: 20px 0;">
|
141 |
+
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
142 |
+
Run them on the TensorBlock client using your local machine ↗
|
143 |
+
</a>
|
144 |
+
</div>
|
145 |
+
|
146 |
+
## Prompt template
|
147 |
+
|
148 |
+
```
|
149 |
+
|
150 |
+
```
|
151 |
+
|
152 |
+
## Model file specification
|
153 |
+
|
154 |
+
| Filename | Quant type | File Size | Description |
|
155 |
+
| -------- | ---------- | --------- | ----------- |
|
156 |
+
| [law-chat-Q2_K.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q2_K.gguf) | Q2_K | 2.533 GB | smallest, significant quality loss - not recommended for most purposes |
|
157 |
+
| [law-chat-Q3_K_S.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q3_K_S.gguf) | Q3_K_S | 2.948 GB | very small, high quality loss |
|
158 |
+
| [law-chat-Q3_K_M.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q3_K_M.gguf) | Q3_K_M | 3.298 GB | very small, high quality loss |
|
159 |
+
| [law-chat-Q3_K_L.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q3_K_L.gguf) | Q3_K_L | 3.597 GB | small, substantial quality loss |
|
160 |
+
| [law-chat-Q4_0.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q4_0.gguf) | Q4_0 | 3.826 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
161 |
+
| [law-chat-Q4_K_S.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q4_K_S.gguf) | Q4_K_S | 3.857 GB | small, greater quality loss |
|
162 |
+
| [law-chat-Q4_K_M.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q4_K_M.gguf) | Q4_K_M | 4.081 GB | medium, balanced quality - recommended |
|
163 |
+
| [law-chat-Q5_0.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q5_0.gguf) | Q5_0 | 4.652 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
164 |
+
| [law-chat-Q5_K_S.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q5_K_S.gguf) | Q5_K_S | 4.652 GB | large, low quality loss - recommended |
|
165 |
+
| [law-chat-Q5_K_M.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q5_K_M.gguf) | Q5_K_M | 4.783 GB | large, very low quality loss - recommended |
|
166 |
+
| [law-chat-Q6_K.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q6_K.gguf) | Q6_K | 5.529 GB | very large, extremely low quality loss |
|
167 |
+
| [law-chat-Q8_0.gguf](https://huggingface.co/tensorblock/law-chat-GGUF/blob/main/law-chat-Q8_0.gguf) | Q8_0 | 7.161 GB | very large, extremely low quality loss - not recommended |
|
168 |
+
|
169 |
+
|
170 |
+
## Downloading instruction
|
171 |
+
|
172 |
+
### Command line
|
173 |
+
|
174 |
+
Firstly, install Huggingface Client
|
175 |
+
|
176 |
+
```shell
|
177 |
+
pip install -U "huggingface_hub[cli]"
|
178 |
+
```
|
179 |
+
|
180 |
+
Then, downoad the individual model file the a local directory
|
181 |
+
|
182 |
+
```shell
|
183 |
+
huggingface-cli download tensorblock/law-chat-GGUF --include "law-chat-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
184 |
+
```
|
185 |
+
|
186 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
187 |
+
|
188 |
+
```shell
|
189 |
+
huggingface-cli download tensorblock/law-chat-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
190 |
+
```
|
law-chat-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a47c19e6c95af1ae50fe3f75d81ba89e9c4fc66fbe4e74ead74032c9f4c3c815
|
3 |
+
size 2532869792
|
law-chat-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b641109897528e7d80e643f770d9dd1c78ee0d22c592a74058398a718db138fd
|
3 |
+
size 3597117504
|
law-chat-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4df3171e40c35dd4bd20a177cc2400a749705bf47ae792f8f9164c12c8f667e
|
3 |
+
size 3298011200
|
law-chat-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08e67ae979cadc0f1a94fc2193ac0f78df98d706d044f0745535049cb385db8f
|
3 |
+
size 2948311104
|
law-chat-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fcf970108d2c2028ae9d3fd047e3658292c06c3d991a2f225b1b3704ded55760
|
3 |
+
size 3825814112
|
law-chat-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1854ca6a4a72a7668f4084bb9a1ef194c5a94765b0581fed18aa1207d42fb50
|
3 |
+
size 4081011296
|
law-chat-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fced337a5543c36b62650095c5be50bd8f75e653bd8585ad3eaca6e0df6786ce
|
3 |
+
size 3856747104
|
law-chat-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:693dedba4211e3dbf8e98ee5cd10d7bb7ee943a0c8d884e57b55ce01508d5f74
|
3 |
+
size 4651699296
|
law-chat-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93c0e8e51aee3f753377b8413b1aaad4839593f43b3aba6a3d09672d0319b073
|
3 |
+
size 4783164512
|
law-chat-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc1ae273e276bf70a9ee235bc6ef3a57774601470d6eecb843842d537fc21aee
|
3 |
+
size 4651699296
|
law-chat-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27e552dda2e788754d3dd53501a70b11143b9829eb0d0667a063e9200645fbf9
|
3 |
+
size 5529202304
|
law-chat-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eca1d187ca9d9bd727ddb3e41fd147b2d0457a499c03641568caf3fa309532b3
|
3 |
+
size 7161099840
|