mjschock commited on
Commit
a29f1bb
1 Parent(s): 583760c

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +5 -21
  2. generation_config.json +2 -2
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "unsloth/tinyllama-chat-bnb-4bit",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -11,36 +11,20 @@
11
  "hidden_size": 2048,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 5632,
14
- "max_position_embeddings": 4096,
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
- "quantization_config": {
23
- "bnb_4bit_compute_dtype": "float16",
24
- "bnb_4bit_quant_type": "nf4",
25
- "bnb_4bit_use_double_quant": true,
26
- "llm_int8_enable_fp32_cpu_offload": false,
27
- "llm_int8_has_fp16_weight": false,
28
- "llm_int8_skip_modules": null,
29
- "llm_int8_threshold": 6.0,
30
- "load_in_4bit": true,
31
- "load_in_8bit": false,
32
- "quant_method": "bitsandbytes"
33
- },
34
  "rms_norm_eps": 1e-05,
35
- "rope_scaling": {
36
- "factor": 2.0,
37
- "type": "linear"
38
- },
39
  "rope_theta": 10000.0,
40
  "tie_word_embeddings": false,
41
- "torch_dtype": "float16",
42
  "transformers_version": "4.44.2",
43
- "unsloth_version": "2024.10.7",
44
  "use_cache": true,
45
  "vocab_size": 32000
46
  }
 
1
  {
2
+ "_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
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": 2,
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": "float32",
27
  "transformers_version": "4.44.2",
 
28
  "use_cache": true,
29
  "vocab_size": 32000
30
  }
generation_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "bos_token_id": 1,
3
  "eos_token_id": 2,
4
- "max_length": 4096,
5
- "pad_token_id": 0,
6
  "transformers_version": "4.44.2"
7
  }
 
1
  {
2
  "bos_token_id": 1,
3
  "eos_token_id": 2,
4
+ "max_length": 2048,
5
+ "pad_token_id": 2,
6
  "transformers_version": "4.44.2"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0765cd247611d60e0f2eeab01dfc52be0aa38d5e3f7ad2234157c924cff6b23
3
- size 762453323
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e9e93a56efef2e4c9a01d31c9f3e1d5b7369b81843a426ecfd1889b10e4361d
3
+ size 4400216536