Upload LlamaForCausalLM
Browse files- config.json +1 -2
- generation_config.json +5 -3
- model-00001-of-00002.safetensors +1 -1
- model-00002-of-00002.safetensors +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
@@ -16,7 +16,6 @@
|
|
| 16 |
"num_attention_heads": 32,
|
| 17 |
"num_hidden_layers": 32,
|
| 18 |
"num_key_value_heads": 32,
|
| 19 |
-
"pad_token_id": 0,
|
| 20 |
"pretraining_tp": 1,
|
| 21 |
"quantization_config": {
|
| 22 |
"bnb_4bit_compute_dtype": "float32",
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
|
|
| 16 |
"num_attention_heads": 32,
|
| 17 |
"num_hidden_layers": 32,
|
| 18 |
"num_key_value_heads": 32,
|
|
|
|
| 19 |
"pretraining_tp": 1,
|
| 20 |
"quantization_config": {
|
| 21 |
"bnb_4bit_compute_dtype": "float32",
|
generation_config.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
{
|
| 2 |
-
"_from_model_config": true,
|
| 3 |
"bos_token_id": 1,
|
|
|
|
| 4 |
"eos_token_id": 2,
|
|
|
|
| 5 |
"pad_token_id": 0,
|
| 6 |
-
"
|
| 7 |
-
"
|
|
|
|
| 8 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"bos_token_id": 1,
|
| 3 |
+
"do_sample": true,
|
| 4 |
"eos_token_id": 2,
|
| 5 |
+
"max_length": 4096,
|
| 6 |
"pad_token_id": 0,
|
| 7 |
+
"temperature": 0.6,
|
| 8 |
+
"top_p": 0.9,
|
| 9 |
+
"transformers_version": "4.36.2"
|
| 10 |
}
|
model-00001-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4992587592
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24ff31d11809201c064a97283c5272d87b9f0b9939da7da8f7ce268a1df62e97
|
| 3 |
size 4992587592
|
model-00002-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2555349880
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8586d7c66a0baa83edb5c8d9f23c3bec7c76f0e990d7cb1f9fdf91e7c0c31909
|
| 3 |
size 2555349880
|