Trained with Unsloth
Browse files- README.md +2 -0
- config.json +8 -8
- generation_config.json +0 -3
- pytorch_model.bin +3 -0
README.md
CHANGED
|
@@ -7,6 +7,8 @@ base_model:
|
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
tags:
|
| 9 |
- unsloth
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
---
|
| 12 |
base_model: unsloth/Meta-Llama-3.1-8B-bnb-4bit
|
|
|
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
tags:
|
| 9 |
- unsloth
|
| 10 |
+
- trl
|
| 11 |
+
- sft
|
| 12 |
---
|
| 13 |
---
|
| 14 |
base_model: unsloth/Meta-Llama-3.1-8B-bnb-4bit
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "unsloth/
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
@@ -7,30 +7,30 @@
|
|
| 7 |
"attention_dropout": 0.0,
|
| 8 |
"bos_token_id": 128000,
|
| 9 |
"eos_token_id": 128001,
|
| 10 |
-
"head_dim":
|
| 11 |
"hidden_act": "silu",
|
| 12 |
-
"hidden_size":
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
-
"intermediate_size":
|
| 15 |
"max_position_embeddings": 131072,
|
| 16 |
"mlp_bias": false,
|
| 17 |
"model_type": "llama",
|
| 18 |
"num_attention_heads": 32,
|
| 19 |
-
"num_hidden_layers":
|
| 20 |
"num_key_value_heads": 8,
|
| 21 |
"pad_token_id": 128004,
|
| 22 |
"pretraining_tp": 1,
|
| 23 |
"rms_norm_eps": 1e-05,
|
| 24 |
"rope_scaling": {
|
| 25 |
-
"factor":
|
| 26 |
"high_freq_factor": 4.0,
|
| 27 |
"low_freq_factor": 1.0,
|
| 28 |
"original_max_position_embeddings": 8192,
|
| 29 |
"rope_type": "llama3"
|
| 30 |
},
|
| 31 |
"rope_theta": 500000.0,
|
| 32 |
-
"tie_word_embeddings":
|
| 33 |
-
"torch_dtype": "
|
| 34 |
"transformers_version": "4.47.1",
|
| 35 |
"unsloth_version": "2025.1.5",
|
| 36 |
"use_cache": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "unsloth/llama-3.2-1b-bnb-4bit",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
|
|
| 7 |
"attention_dropout": 0.0,
|
| 8 |
"bos_token_id": 128000,
|
| 9 |
"eos_token_id": 128001,
|
| 10 |
+
"head_dim": 64,
|
| 11 |
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 2048,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 8192,
|
| 15 |
"max_position_embeddings": 131072,
|
| 16 |
"mlp_bias": false,
|
| 17 |
"model_type": "llama",
|
| 18 |
"num_attention_heads": 32,
|
| 19 |
+
"num_hidden_layers": 16,
|
| 20 |
"num_key_value_heads": 8,
|
| 21 |
"pad_token_id": 128004,
|
| 22 |
"pretraining_tp": 1,
|
| 23 |
"rms_norm_eps": 1e-05,
|
| 24 |
"rope_scaling": {
|
| 25 |
+
"factor": 32.0,
|
| 26 |
"high_freq_factor": 4.0,
|
| 27 |
"low_freq_factor": 1.0,
|
| 28 |
"original_max_position_embeddings": 8192,
|
| 29 |
"rope_type": "llama3"
|
| 30 |
},
|
| 31 |
"rope_theta": 500000.0,
|
| 32 |
+
"tie_word_embeddings": true,
|
| 33 |
+
"torch_dtype": "float16",
|
| 34 |
"transformers_version": "4.47.1",
|
| 35 |
"unsloth_version": "2025.1.5",
|
| 36 |
"use_cache": true,
|
generation_config.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 128000,
|
| 4 |
-
"do_sample": true,
|
| 5 |
"eos_token_id": 128001,
|
| 6 |
"max_length": 131072,
|
| 7 |
"pad_token_id": 128004,
|
| 8 |
-
"temperature": 0.6,
|
| 9 |
-
"top_p": 0.9,
|
| 10 |
"transformers_version": "4.47.1"
|
| 11 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 128000,
|
|
|
|
| 4 |
"eos_token_id": 128001,
|
| 5 |
"max_length": 131072,
|
| 6 |
"pad_token_id": 128004,
|
|
|
|
|
|
|
| 7 |
"transformers_version": "4.47.1"
|
| 8 |
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72f96868259abaefd21dcfee7731d74b1f9376da9ce599e844911634b93eceba
|
| 3 |
+
size 2471678098
|