StefanDaniels1
commited on
Commit
•
7c59430
1
Parent(s):
691b390
Trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- README.md +1 -0
- config.json +54 -0
- generation_config.json +14 -0
- model.safetensors +3 -0
README.md
CHANGED
@@ -9,6 +9,7 @@ tags:
|
|
9 |
- unsloth
|
10 |
- llama
|
11 |
- trl
|
|
|
12 |
---
|
13 |
|
14 |
# Uploaded model
|
|
|
9 |
- unsloth
|
10 |
- llama
|
11 |
- trl
|
12 |
+
- sft
|
13 |
---
|
14 |
|
15 |
# Uploaded model
|
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "unsloth/llama-3.2-3b-instruct-bnb-4bit",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": [
|
10 |
+
128001,
|
11 |
+
128008,
|
12 |
+
128009
|
13 |
+
],
|
14 |
+
"head_dim": 128,
|
15 |
+
"hidden_act": "silu",
|
16 |
+
"hidden_size": 3072,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 8192,
|
19 |
+
"max_position_embeddings": 131072,
|
20 |
+
"mlp_bias": false,
|
21 |
+
"model_type": "llama",
|
22 |
+
"num_attention_heads": 24,
|
23 |
+
"num_hidden_layers": 28,
|
24 |
+
"num_key_value_heads": 8,
|
25 |
+
"pad_token_id": 128004,
|
26 |
+
"pretraining_tp": 1,
|
27 |
+
"quantization_config": {
|
28 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
29 |
+
"bnb_4bit_quant_type": "nf4",
|
30 |
+
"bnb_4bit_use_double_quant": true,
|
31 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
32 |
+
"llm_int8_has_fp16_weight": false,
|
33 |
+
"llm_int8_skip_modules": null,
|
34 |
+
"llm_int8_threshold": 6.0,
|
35 |
+
"load_in_4bit": true,
|
36 |
+
"load_in_8bit": false,
|
37 |
+
"quant_method": "bitsandbytes"
|
38 |
+
},
|
39 |
+
"rms_norm_eps": 1e-05,
|
40 |
+
"rope_scaling": {
|
41 |
+
"factor": 32.0,
|
42 |
+
"high_freq_factor": 4.0,
|
43 |
+
"low_freq_factor": 1.0,
|
44 |
+
"original_max_position_embeddings": 8192,
|
45 |
+
"rope_type": "llama3"
|
46 |
+
},
|
47 |
+
"rope_theta": 500000.0,
|
48 |
+
"tie_word_embeddings": true,
|
49 |
+
"torch_dtype": "bfloat16",
|
50 |
+
"transformers_version": "4.44.2",
|
51 |
+
"unsloth_version": "2024.10.7",
|
52 |
+
"use_cache": true,
|
53 |
+
"vocab_size": 128256
|
54 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 128000,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": [
|
5 |
+
128001,
|
6 |
+
128008,
|
7 |
+
128009
|
8 |
+
],
|
9 |
+
"max_length": 131072,
|
10 |
+
"pad_token_id": 128004,
|
11 |
+
"temperature": 0.6,
|
12 |
+
"top_p": 0.9,
|
13 |
+
"transformers_version": "4.44.2"
|
14 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7aaf4c7cb89bb45c2559e094aaab4a37d39527a535c25a25ce86b8d23e3efa5e
|
3 |
+
size 3030767835
|