bartowski commited on
Commit
20b5fce
โ€ข
1 Parent(s): 3972991

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -79
README.md CHANGED
@@ -11,19 +11,32 @@ tags:
11
  - Athene
12
  - Chat Model
13
  quantized_by: bartowski
 
 
 
 
 
 
 
 
14
  ---
 
15
 
16
- ## Llamacpp imatrix Quantizations of Athene-70B
17
 
18
- Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3412">b3412</a> for quantization.
 
 
19
 
20
- Original model: https://huggingface.co/Nexusflow/Athene-70B
 
 
21
 
22
- All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
23
 
24
- Run them in [LM Studio](https://lmstudio.ai/)
25
 
26
- ## Prompt format
27
 
28
  ```
29
  <|begin_of_text|><|start_header_id|>system<|end_header_id|>
@@ -31,86 +44,22 @@ Run them in [LM Studio](https://lmstudio.ai/)
31
  {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
32
 
33
  {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
34
-
35
-
36
- ```
37
-
38
- ## Download a file (not the whole branch) from below:
39
-
40
- | Filename | Quant type | File Size | Split | Description |
41
- | -------- | ---------- | --------- | ----- | ----------- |
42
- | [Athene-70B-f32.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/tree/main/Athene-70B-f32) | f32 | 282.22GB | true | Full F32 weights. |
43
- | [Athene-70B-Q8_0.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/tree/main/Athene-70B-Q8_0) | Q8_0 | 74.98GB | true | Extremely high quality, generally unneeded but max available quant. |
44
- | [Athene-70B-Q6_K_L.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/tree/main/Athene-70B-Q6_K_L) | Q6_K_L | 58.40GB | true | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
45
- | [Athene-70B-Q6_K.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/tree/main/Athene-70B-Q6_K) | Q6_K | 57.89GB | true | Very high quality, near perfect, *recommended*. |
46
- | [Athene-70B-Q5_K_L.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/tree/main/Athene-70B-Q5_K_L) | Q5_K_L | 50.60GB | true | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
47
- | [Athene-70B-Q5_K_M.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/tree/main/Athene-70B-Q5_K_M) | Q5_K_M | 49.95GB | true | High quality, *recommended*. |
48
- | [Athene-70B-Q5_K_S.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q5_K_S.gguf) | Q5_K_S | 48.66GB | false | High quality, *recommended*. |
49
- | [Athene-70B-Q4_K_L.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q4_K_L.gguf) | Q4_K_L | 43.30GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
50
- | [Athene-70B-Q4_K_M.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q4_K_M.gguf) | Q4_K_M | 42.52GB | false | Good quality, default size for must use cases, *recommended*. |
51
- | [Athene-70B-Q4_K_S.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q4_K_S.gguf) | Q4_K_S | 40.35GB | false | Slightly lower quality with more space savings, *recommended*. |
52
- | [Athene-70B-Q3_K_XL.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q3_K_XL.gguf) | Q3_K_XL | 38.06GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
53
- | [Athene-70B-IQ4_XS.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-IQ4_XS.gguf) | IQ4_XS | 37.90GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
54
- | [Athene-70B-Q3_K_L.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q3_K_L.gguf) | Q3_K_L | 37.14GB | false | Lower quality but usable, good for low RAM availability. |
55
- | [Athene-70B-Q3_K_M.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q3_K_M.gguf) | Q3_K_M | 34.27GB | false | Low quality. |
56
- | [Athene-70B-IQ3_M.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-IQ3_M.gguf) | IQ3_M | 31.94GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
57
- | [Athene-70B-Q3_K_S.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q3_K_S.gguf) | Q3_K_S | 30.91GB | false | Low quality, not recommended. |
58
- | [Athene-70B-IQ3_XS.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-IQ3_XS.gguf) | IQ3_XS | 29.31GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
59
- | [Athene-70B-Q2_K_L.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q2_K_L.gguf) | Q2_K_L | 27.40GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
60
- | [Athene-70B-Q2_K.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-Q2_K.gguf) | Q2_K | 26.38GB | false | Very low quality but surprisingly usable. |
61
- | [Athene-70B-IQ2_M.gguf](https://huggingface.co/bartowski/Athene-70B-GGUF/blob/main/Athene-70B-IQ2_M.gguf) | IQ2_M | 24.12GB | false | Relatively low quality, uses SOTA techniques to be surprisingly usable. |
62
-
63
- ## Credits
64
-
65
- Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset
66
-
67
- Thank you ZeroWw for the inspiration to experiment with embed/output
68
-
69
- ## Downloading using huggingface-cli
70
-
71
- First, make sure you have hugginface-cli installed:
72
-
73
- ```
74
- pip install -U "huggingface_hub[cli]"
75
- ```
76
-
77
- Then, you can target the specific file you want:
78
-
79
- ```
80
- huggingface-cli download bartowski/Athene-70B-GGUF --include "Athene-70B-Q4_K_M.gguf" --local-dir ./
81
  ```
82
 
83
- If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:
84
-
85
- ```
86
- huggingface-cli download bartowski/Athene-70B-GGUF --include "Athene-70B-Q8_0.gguf/*" --local-dir Athene-70B-Q8_0
87
- ```
88
-
89
- You can either specify a new local-dir (Athene-70B-Q8_0) or download them all in place (./)
90
-
91
- ## Which file should I choose?
92
-
93
- A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
94
-
95
- The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.
96
-
97
- If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.
98
-
99
- If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.
100
-
101
- Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
102
 
103
- If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.
104
 
105
- If you want to get more into the weeds, you can check out this extremely useful feature chart:
106
 
107
- [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
108
 
109
- But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.
110
 
111
- These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
112
 
113
- The I-quants are *not* compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.
114
 
115
- Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
116
 
 
 
11
  - Athene
12
  - Chat Model
13
  quantized_by: bartowski
14
+ lm_studio:
15
+ param_count: 70b
16
+ use_case: chat
17
+ release_date: 19-07-2024
18
+ model_creator: Nexusflow
19
+ prompt_template: Llama 3
20
+ base_model: llama
21
+ original_repo: Nexusflow/Athene-70B
22
  ---
23
+ ## ๐Ÿ’ซ Community Model> Athene 70B by Nexusflow
24
 
25
+ *๐Ÿ‘พ [LM Studio](https://lmstudio.ai) Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on [Discord](https://discord.gg/aPQfnNkxGC)*.
26
 
27
+ **Model creator:** [Nexusflow](https://huggingface.co/Nexusflow)<br>
28
+ **Original model**: [Athene-70B](https://huggingface.co/Nexusflow/Athene-70B)<br>
29
+ **GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` release [b3412](https://github.com/ggerganov/llama.cpp/releases/tag/b3412)<br>
30
 
31
+ ## Model Summary:
32
+ This is a finetune of Llama 3 70B finetuned on high-quality preference data for targeted Reinforcement Learning from Human Feedback.<br>
33
+ With this training, Nexusflow has achieved large improvements in several areas, such as instruction following, math, coding, creative writing, and multilingual capabilities.
34
 
35
+ ## Prompt template:
36
 
37
+ Choose the `Llama 3` preset in your LM Studio.
38
 
39
+ Under the hood, the model will see a prompt that's formatted like so:
40
 
41
  ```
42
  <|begin_of_text|><|start_header_id|>system<|end_header_id|>
 
44
  {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
45
 
46
  {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  ```
48
 
49
+ ## Technical Details
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
+ Nexusflow created a rigorous benchmark to evaluate model capabilities across a range of tasks and categories, and with the results of those tests, developed a dataset for RLHF training.
52
 
53
+ Built on top of the success of Starling LM, a great performing 7B model, this tune shows large improvements over the default Llama 3 release.
54
 
55
+ For more details, check their blog post [here](https://nexusflow.ai/blogs/athene)
56
 
57
+ ## Special thanks
58
 
59
+ ๐Ÿ™ Special thanks to [Georgi Gerganov](https://github.com/ggerganov) and the whole team working on [llama.cpp](https://github.com/ggerganov/llama.cpp/) for making all of this possible.
60
 
61
+ ๐Ÿ™ Special thanks to [Kalomaze](https://github.com/kalomaze) for his dataset (linked [here](https://github.com/ggerganov/llama.cpp/discussions/5263)) for imatrix calibration.
62
 
63
+ ## Disclaimers
64
 
65
+ LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Community Model is the sole responsibility of the person or entity who originated such Model. LM Studio may not monitor or control the Community Models and cannot, and does not, take responsibility for any such Model. LM Studio disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Community Models. LM Studio further disclaims any warranty that the Community Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Community Models, your downloading of any Community Model, or use of any other Community Model provided by or through LM Studio.