senmasa commited on
Commit
7ea7838
·
verified ·
1 Parent(s): 5a95690

Trained with Unsloth

Browse files

Upload model trained with Unsloth 2x faster

Files changed (3) hide show
  1. config.json +21 -31
  2. generation_config.json +9 -8
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,29 +1,22 @@
1
  {
2
- "_name_or_path": "unsloth/llama-3.2-1b-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": 64,
15
  "hidden_act": "silu",
16
- "hidden_size": 2048,
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": 32,
23
- "num_hidden_layers": 16,
24
- "num_key_value_heads": 8,
25
- "pad_token_id": 128004,
26
- "pretraining_tp": 1,
27
  "quantization_config": {
28
  "bnb_4bit_compute_dtype": "float16",
29
  "bnb_4bit_quant_type": "nf4",
@@ -36,19 +29,16 @@
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": "float16",
50
  "transformers_version": "4.46.2",
51
- "unsloth_version": "2024.11.6",
 
52
  "use_cache": true,
53
- "vocab_size": 128256
 
54
  }
 
1
  {
2
+ "_name_or_path": "unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit",
3
  "architectures": [
4
+ "Qwen2ForCausalLM"
5
  ],
 
6
  "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
 
 
 
 
 
9
  "hidden_act": "silu",
10
+ "hidden_size": 896,
11
  "initializer_range": 0.02,
12
+ "intermediate_size": 4864,
13
+ "max_position_embeddings": 32768,
14
+ "max_window_layers": 21,
15
+ "model_type": "qwen2",
16
+ "num_attention_heads": 14,
17
+ "num_hidden_layers": 24,
18
+ "num_key_value_heads": 2,
19
+ "pad_token_id": 151665,
 
20
  "quantization_config": {
21
  "bnb_4bit_compute_dtype": "float16",
22
  "bnb_4bit_quant_type": "nf4",
 
29
  "load_in_8bit": false,
30
  "quant_method": "bitsandbytes"
31
  },
32
+ "rms_norm_eps": 1e-06,
33
+ "rope_scaling": null,
34
+ "rope_theta": 1000000.0,
35
+ "sliding_window": null,
 
 
 
 
 
36
  "tie_word_embeddings": true,
37
  "torch_dtype": "float16",
38
  "transformers_version": "4.46.2",
39
+ "unsloth_fixed": true,
40
+ "unsloth_version": "2024.11.7",
41
  "use_cache": true,
42
+ "use_sliding_window": false,
43
+ "vocab_size": 151936
44
  }
generation_config.json CHANGED
@@ -1,14 +1,15 @@
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.46.2"
14
  }
 
1
  {
2
+ "bos_token_id": 151643,
3
  "do_sample": true,
4
  "eos_token_id": [
5
+ 151645,
6
+ 151643
 
7
  ],
8
+ "max_length": 32768,
9
+ "pad_token_id": 151665,
10
+ "repetition_penalty": 1.1,
11
+ "temperature": 0.7,
12
+ "top_k": 20,
13
+ "top_p": 0.8,
14
  "transformers_version": "4.46.2"
15
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:494bef2055d5d3ef28e93827c9263ee4268c16ed317b76ffe2d3b1c08a532dc6
3
- size 1027676593
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43951a399196499028e6503baeb78a9a91cb02a1e2854c336bbc5aa26cd486e9
3
+ size 457346538