Mykes commited on
Commit
7e031cb
1 Parent(s): 12e28b2

Trained with Unsloth

Browse files
Files changed (3) hide show
  1. config.json +17 -16
  2. generation_config.json +3 -3
  3. model.safetensors +3 -0
config.json CHANGED
@@ -1,30 +1,31 @@
1
  {
2
- "_name_or_path": "unsloth/gemma-7b-bnb-4bit",
3
  "architectures": [
4
- "GemmaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
- "bos_token_id": 2,
9
- "eos_token_id": 1,
10
- "head_dim": 256,
11
- "hidden_act": "gelu",
12
- "hidden_activation": "gelu_pytorch_tanh",
13
- "hidden_size": 3072,
14
  "initializer_range": 0.02,
15
- "intermediate_size": 24576,
16
- "max_position_embeddings": 8192,
17
- "model_type": "gemma",
18
- "num_attention_heads": 16,
19
- "num_hidden_layers": 28,
20
- "num_key_value_heads": 16,
 
21
  "pad_token_id": 0,
22
- "rms_norm_eps": 1e-06,
 
23
  "rope_scaling": null,
24
  "rope_theta": 10000.0,
 
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.42.4",
27
  "unsloth_version": "2024.7",
28
  "use_cache": true,
29
- "vocab_size": 256000
30
  }
 
1
  {
2
+ "_name_or_path": "unsloth/tinyllama-bnb-4bit",
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",
11
+ "hidden_size": 2048,
 
 
12
  "initializer_range": 0.02,
13
+ "intermediate_size": 5632,
14
+ "max_position_embeddings": 2048,
15
+ "mlp_bias": false,
16
+ "model_type": "llama",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 22,
19
+ "num_key_value_heads": 4,
20
  "pad_token_id": 0,
21
+ "pretraining_tp": 1,
22
+ "rms_norm_eps": 1e-05,
23
  "rope_scaling": null,
24
  "rope_theta": 10000.0,
25
+ "tie_word_embeddings": false,
26
  "torch_dtype": "bfloat16",
27
  "transformers_version": "4.42.4",
28
  "unsloth_version": "2024.7",
29
  "use_cache": true,
30
+ "vocab_size": 32000
31
  }
generation_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "_from_model_config": true,
3
- "bos_token_id": 2,
4
- "eos_token_id": 1,
5
  "pad_token_id": 0,
6
  "transformers_version": "4.42.4"
7
  }
 
1
  {
2
+ "bos_token_id": 1,
3
+ "eos_token_id": 2,
4
+ "max_length": 2048,
5
  "pad_token_id": 0,
6
  "transformers_version": "4.42.4"
7
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4591b5251954f662065e0bdc643096d67ec0417c75c2f87805fe8e2c4fa44dcf
3
+ size 2200119864