robert commited on
Commit
ea9369e
1 Parent(s): 56b5f87
LLaMa-65B-GPTQ4bit.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38adc50b9fef306016f635688d64d287a54b1d36ae5d08a12285e23c3cc11c8b
3
+ size 33471316664
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ inference: false
4
+ tags:
5
+ - GPTQ
6
+ - 3-bit
7
+ - quantized
8
+ ---
9
+ # LLaMa 65B 3bit GPTQ
10
+
11
+ This is a GPTQ format quantised 3-bit model of LLaMa 65B.
12
+
13
+ It is the result of quantising to 3-bit using [GPTQ-for-LLaMa](https://github.com/qwopqwop200/GPTQ-for-LLaMa).
14
+
15
+ ## How to easily download and use this model in text-generation-webui
16
+
17
+ Open the text-generation-webui UI as normal.
18
+
19
+ 1. Click the **Model tab**.
20
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/LLaMa-65B-GPTQ-3bit`.
21
+ 3. Click **Download**.
22
+ 4. Wait until it says it's finished downloading.
23
+ 5. Click the **Refresh** icon next to **Model** in the top left.
24
+ 6. In the **Model drop-down**: choose the model you just downloaded, `LLaMa-65B-GPTQ-3bit`.
25
+ 7. If you see an error in the bottom right, ignore it - it's temporary.
26
+ 8. Fill out the `GPTQ parameters` on the right: `Bits = 3`, `Groupsize = None`, `model_type = Llama`
27
+ 9. Click **Save settings for this model** in the top right.
28
+ 10. Click **Reload the Model** in the top right.
29
+ 11. Once it says it's loaded, click the **Text Generation tab** and enter a prompt!
30
+
31
+ ## Provided files
32
+
33
+ **Compatible file - LLaMa-65B-GPTQ-3bit.safetensors**
34
+
35
+ This will work with all versions of GPTQ-for-LLaMa. It has maximum compatibility
36
+
37
+ It was created with the `--act-order` parameter to maximise inference quality, and with group_size = None to minmise VRAM requirements.
38
+
39
+ * `Wizard-Vicuna-13B-Uncensored-GPTQ-4bit-128g.compat.no-act-order.safetensors`
40
+ * Works with all versions of GPTQ-for-LLaMa code, both Triton and CUDA branches
41
+ * Works with AutoGPTQ.
42
+ * Works with text-generation-webui one-click-installers
43
+ * Parameters: Groupsize = None. act-order.
44
+ * Command used to create the GPTQ:
45
+ ```
46
+ python llama.py /workspace/models/huggyllama_llama-65b wikitext2 --wbits 3 --true-sequential --act-order --save_safetensors /workspace/llama-3bit/LLaMa-65B-GPTQ-3bit.safetensors
47
+ ```
config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "bos_token_id": 1,
6
+ "eos_token_id": 2,
7
+ "hidden_act": "silu",
8
+ "hidden_size": 8192,
9
+ "initializer_range": 0.02,
10
+ "intermediate_size": 22016,
11
+ "max_sequence_length": 2048,
12
+ "model_type": "llama",
13
+ "num_attention_heads": 64,
14
+ "num_hidden_layers": 80,
15
+ "pad_token_id": 0,
16
+ "rms_norm_eps": 1e-05,
17
+ "tie_word_embeddings": false,
18
+ "torch_dtype": "float16",
19
+ "transformers_version": "4.28.0.dev0",
20
+ "use_cache": true,
21
+ "vocab_size": 32000
22
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.28.0.dev0"
7
+ }
quantize_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 3,
3
+ "group_size": -1,
4
+ "damp_percent": 0.01,
5
+ "desc_act": true,
6
+ "sym": true,
7
+ "true_sequential": true
8
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "bos_token": {
5
+ "__type": "AddedToken",
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "clean_up_tokenization_spaces": false,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "model_max_length": 2048,
22
+ "pad_token": null,
23
+ "sp_model_kwargs": {},
24
+ "tokenizer_class": "LlamaTokenizer",
25
+ "unk_token": {
26
+ "__type": "AddedToken",
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": true,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }