soumitsr commited on
Commit
cb6f145
·
verified ·
1 Parent(s): 76fd0eb

Trained with Unsloth

Browse files
Files changed (3) hide show
  1. config.json +18 -12
  2. generation_config.json +3 -3
  3. model.safetensors +3 -0
config.json CHANGED
@@ -1,24 +1,24 @@
1
  {
2
- "_name_or_path": "unsloth/SmolLM2-135M",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
- "bos_token_id": 0,
9
- "eos_token_id": 0,
10
  "head_dim": 64,
11
  "hidden_act": "silu",
12
- "hidden_size": 576,
13
- "initializer_range": 0.041666666666666664,
14
- "intermediate_size": 1536,
15
  "is_llama_config": true,
16
  "max_position_embeddings": 16384,
17
  "mlp_bias": false,
18
  "model_type": "llama",
19
- "num_attention_heads": 9,
20
- "num_hidden_layers": 30,
21
- "num_key_value_heads": 3,
22
  "pad_token_id": 49152,
23
  "pretraining_tp": 1,
24
  "rms_norm_eps": 1e-05,
@@ -30,9 +30,15 @@
30
  },
31
  "rope_theta": 100000,
32
  "tie_word_embeddings": true,
33
- "torch_dtype": "float16",
34
- "transformers_version": "4.46.2",
35
- "unsloth_version": "2024.11.9",
 
 
 
 
 
 
36
  "use_cache": true,
37
  "vocab_size": 49153
38
  }
 
1
  {
2
+ "_name_or_path": "unsloth/SmolLM2-360M-Instruct",
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
  "head_dim": 64,
11
  "hidden_act": "silu",
12
+ "hidden_size": 960,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 2560,
15
  "is_llama_config": true,
16
  "max_position_embeddings": 16384,
17
  "mlp_bias": false,
18
  "model_type": "llama",
19
+ "num_attention_heads": 15,
20
+ "num_hidden_layers": 32,
21
+ "num_key_value_heads": 5,
22
  "pad_token_id": 49152,
23
  "pretraining_tp": 1,
24
  "rms_norm_eps": 1e-05,
 
30
  },
31
  "rope_theta": 100000,
32
  "tie_word_embeddings": true,
33
+ "torch_dtype": "bfloat16",
34
+ "transformers.js_config": {
35
+ "kv_cache_dtype": {
36
+ "fp16": "float16",
37
+ "q4f16": "float16"
38
+ }
39
+ },
40
+ "transformers_version": "4.46.3",
41
+ "unsloth_version": "2024.12.4",
42
  "use_cache": true,
43
  "vocab_size": 49153
44
  }
generation_config.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 0,
4
- "eos_token_id": 0,
5
  "max_length": 16384,
6
  "pad_token_id": 49152,
7
- "transformers_version": "4.46.2"
8
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
  "max_length": 16384,
6
  "pad_token_id": 49152,
7
+ "transformers_version": "4.46.3"
8
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23e2ba5d9d5177b3ab662d9d4a83b8af75ad0445ecd8d77ccc30e09bb2bd337b
3
+ size 723676832