reddest-panda commited on
Commit
610a41f
1 Parent(s): ae272be

Upload Qwen2ForCausalLM

Browse files
Files changed (4) hide show
  1. README.md +8 -8
  2. config.json +28 -0
  3. generation_config.json +14 -0
  4. model.safetensors +3 -0
README.md CHANGED
@@ -1,18 +1,18 @@
1
  ---
 
 
 
 
 
2
  tags:
3
  - autotrain
4
  - text-generation-inference
5
  - text-generation
6
  - peft
7
- library_name: transformers
8
- base_model: Qwen/Qwen2-0.5B-Instruct
9
  widget:
10
- - messages:
11
- - role: user
12
- content: What is your favorite condiment?
13
- license: other
14
- datasets:
15
- - reddest-panda/arm-asm-xsmall
16
  ---
17
 
18
  # Model Trained Using AutoTrain
 
1
  ---
2
+ base_model: Qwen/Qwen2-0.5B-Instruct
3
+ datasets:
4
+ - reddest-panda/arm-asm-xsmall
5
+ library_name: transformers
6
+ license: other
7
  tags:
8
  - autotrain
9
  - text-generation-inference
10
  - text-generation
11
  - peft
 
 
12
  widget:
13
+ - messages:
14
+ - role: user
15
+ content: What is your favorite condiment?
 
 
 
16
  ---
17
 
18
  # Model Trained Using AutoTrain
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Qwen/Qwen2-0.5B-Instruct",
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": 24,
15
+ "model_type": "qwen2",
16
+ "num_attention_heads": 14,
17
+ "num_hidden_layers": 24,
18
+ "num_key_value_heads": 2,
19
+ "rms_norm_eps": 1e-06,
20
+ "rope_theta": 1000000.0,
21
+ "sliding_window": null,
22
+ "tie_word_embeddings": true,
23
+ "torch_dtype": "bfloat16",
24
+ "transformers_version": "4.43.3",
25
+ "use_cache": true,
26
+ "use_sliding_window": false,
27
+ "vocab_size": 151936
28
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "repetition_penalty": 1.1,
10
+ "temperature": 0.7,
11
+ "top_k": 20,
12
+ "top_p": 0.8,
13
+ "transformers_version": "4.43.3"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29a51ed4fc1d873d76bdb533c155f24256df87446ab24e17f91caaeeb4800735
3
+ size 988097824