richie-ghost commited on
Commit
eb573a3
1 Parent(s): 09d7191

Trained with Unsloth

Browse files
Files changed (4) hide show
  1. README.md +1 -0
  2. config.json +34 -0
  3. generation_config.json +7 -0
  4. 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,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 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
+ "rms_norm_eps": 1e-05,
23
+ "rope_scaling": {
24
+ "factor": 2.0,
25
+ "type": "linear"
26
+ },
27
+ "rope_theta": 10000.0,
28
+ "tie_word_embeddings": false,
29
+ "torch_dtype": "bfloat16",
30
+ "transformers_version": "4.42.4",
31
+ "unsloth_version": "2024.7",
32
+ "use_cache": true,
33
+ "vocab_size": 32000
34
+ }
generation_config.json ADDED
@@ -0,0 +1,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:d0d30d8da27850e2f885e0f1670606e8fb83807acc1eec6f34a5bc10319825b8
3
+ size 4137888232