rahulvramesh
commited on
Upload LlamaForCausalLM
Browse files- README.md +3 -1
- config.json +18 -3
- generation_config.json +1 -1
- model.safetensors +2 -2
README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
-
tags:
|
|
|
|
|
4 |
---
|
5 |
|
6 |
# Model Card for Model ID
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- trl
|
5 |
+
- sft
|
6 |
---
|
7 |
|
8 |
# Model Card for Model ID
|
config.json
CHANGED
@@ -17,12 +17,27 @@
|
|
17 |
"num_hidden_layers": 22,
|
18 |
"num_key_value_heads": 4,
|
19 |
"pretraining_tp": 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
"rms_norm_eps": 1e-05,
|
21 |
"rope_scaling": null,
|
22 |
"rope_theta": 10000.0,
|
23 |
"tie_word_embeddings": false,
|
24 |
-
"torch_dtype": "
|
25 |
-
"transformers_version": "4.
|
26 |
-
"use_cache":
|
27 |
"vocab_size": 32000
|
28 |
}
|
|
|
17 |
"num_hidden_layers": 22,
|
18 |
"num_key_value_heads": 4,
|
19 |
"pretraining_tp": 1,
|
20 |
+
"quantization_config": {
|
21 |
+
"_load_in_4bit": true,
|
22 |
+
"_load_in_8bit": false,
|
23 |
+
"bnb_4bit_compute_dtype": "float16",
|
24 |
+
"bnb_4bit_quant_storage": "uint8",
|
25 |
+
"bnb_4bit_quant_type": "nf4",
|
26 |
+
"bnb_4bit_use_double_quant": true,
|
27 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
28 |
+
"llm_int8_has_fp16_weight": false,
|
29 |
+
"llm_int8_skip_modules": null,
|
30 |
+
"llm_int8_threshold": 6.0,
|
31 |
+
"load_in_4bit": true,
|
32 |
+
"load_in_8bit": false,
|
33 |
+
"quant_method": "bitsandbytes"
|
34 |
+
},
|
35 |
"rms_norm_eps": 1e-05,
|
36 |
"rope_scaling": null,
|
37 |
"rope_theta": 10000.0,
|
38 |
"tie_word_embeddings": false,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.39.3",
|
41 |
+
"use_cache": false,
|
42 |
"vocab_size": 32000
|
43 |
}
|
generation_config.json
CHANGED
@@ -3,5 +3,5 @@
|
|
3 |
"eos_token_id": 2,
|
4 |
"max_length": 2048,
|
5 |
"pad_token_id": 0,
|
6 |
-
"transformers_version": "4.
|
7 |
}
|
|
|
3 |
"eos_token_id": 2,
|
4 |
"max_length": 2048,
|
5 |
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.39.3"
|
7 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1995af131e691c5ef1b876710e40018c888dd4f17aa3e795fc441641f90f77c
|
3 |
+
size 1029304339
|