danielhanchen
commited on
Commit
•
f2d25c1
1
Parent(s):
b4296ba
Upload LlamaForCausalLM
Browse files- README.md +1 -2
- config.json +2 -2
- generation_config.json +1 -1
README.md
CHANGED
@@ -1,13 +1,12 @@
|
|
1 |
---
|
2 |
language:
|
3 |
- en
|
4 |
-
license: apache-2.0
|
5 |
library_name: transformers
|
|
|
6 |
tags:
|
7 |
- unsloth
|
8 |
- transformers
|
9 |
- codellama
|
10 |
-
|
11 |
---
|
12 |
|
13 |
# Finetune Mistral, Gemma, Llama 2-5x faster with 70% less memory via Unsloth!
|
|
|
1 |
---
|
2 |
language:
|
3 |
- en
|
|
|
4 |
library_name: transformers
|
5 |
+
license: apache-2.0
|
6 |
tags:
|
7 |
- unsloth
|
8 |
- transformers
|
9 |
- codellama
|
|
|
10 |
---
|
11 |
|
12 |
# Finetune Mistral, Gemma, Llama 2-5x faster with 70% less memory via Unsloth!
|
config.json
CHANGED
@@ -12,18 +12,18 @@
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 11008,
|
14 |
"max_position_embeddings": 16384,
|
|
|
15 |
"model_type": "llama",
|
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 |
"rms_norm_eps": 1e-05,
|
22 |
"rope_scaling": null,
|
23 |
"rope_theta": 1000000,
|
24 |
"tie_word_embeddings": false,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
-
"transformers_version": "4.
|
27 |
"use_cache": true,
|
28 |
"vocab_size": 32016
|
29 |
}
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 11008,
|
14 |
"max_position_embeddings": 16384,
|
15 |
+
"mlp_bias": false,
|
16 |
"model_type": "llama",
|
17 |
"num_attention_heads": 32,
|
18 |
"num_hidden_layers": 32,
|
19 |
"num_key_value_heads": 32,
|
|
|
20 |
"pretraining_tp": 1,
|
21 |
"rms_norm_eps": 1e-05,
|
22 |
"rope_scaling": null,
|
23 |
"rope_theta": 1000000,
|
24 |
"tie_word_embeddings": false,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
+
"transformers_version": "4.43.3",
|
27 |
"use_cache": true,
|
28 |
"vocab_size": 32016
|
29 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.43.3"
|
6 |
}
|