danielhanchen
commited on
Commit
•
b694447
1
Parent(s):
465745a
Upload config
Browse files- README.md +1 -2
- config.json +6 -3
README.md
CHANGED
@@ -1,14 +1,13 @@
|
|
1 |
---
|
2 |
language:
|
3 |
- en
|
4 |
-
license: apache-2.0
|
5 |
library_name: transformers
|
|
|
6 |
tags:
|
7 |
- unsloth
|
8 |
- transformers
|
9 |
- llama
|
10 |
- llama-2
|
11 |
-
|
12 |
---
|
13 |
|
14 |
# 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 |
- llama
|
10 |
- llama-2
|
|
|
11 |
---
|
12 |
|
13 |
# Finetune Mistral, Gemma, Llama 2-5x faster with 70% less memory via Unsloth!
|
config.json
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
|
|
7 |
"bos_token_id": 1,
|
8 |
"eos_token_id": 2,
|
9 |
"hidden_act": "silu",
|
@@ -11,6 +12,7 @@
|
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 11008,
|
13 |
"max_position_embeddings": 4096,
|
|
|
14 |
"model_type": "llama",
|
15 |
"num_attention_heads": 32,
|
16 |
"num_hidden_layers": 32,
|
@@ -21,8 +23,9 @@
|
|
21 |
"rope_scaling": null,
|
22 |
"rope_theta": 10000.0,
|
23 |
"tie_word_embeddings": false,
|
24 |
-
"torch_dtype": "
|
25 |
-
"transformers_version": "4.
|
|
|
26 |
"use_cache": true,
|
27 |
"vocab_size": 32000
|
28 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "unsloth/llama-2-7b",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 1,
|
9 |
"eos_token_id": 2,
|
10 |
"hidden_act": "silu",
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 11008,
|
14 |
"max_position_embeddings": 4096,
|
15 |
+
"mlp_bias": false,
|
16 |
"model_type": "llama",
|
17 |
"num_attention_heads": 32,
|
18 |
"num_hidden_layers": 32,
|
|
|
23 |
"rope_scaling": null,
|
24 |
"rope_theta": 10000.0,
|
25 |
"tie_word_embeddings": false,
|
26 |
+
"torch_dtype": "bfloat16",
|
27 |
+
"transformers_version": "4.44.0",
|
28 |
+
"unsloth_version": "2024.8",
|
29 |
"use_cache": true,
|
30 |
"vocab_size": 32000
|
31 |
}
|