sunwu51 commited on
Commit
0a176de
·
verified ·
1 Parent(s): cb50ad8

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-1.5B-Instruct
9
  widget:
10
- - messages:
11
- - role: user
12
- content: What is your favorite condiment?
13
- license: other
14
- datasets:
15
- - sunwu51/chinese_braille_3k_rows
16
  ---
17
 
18
  # Model Trained Using AutoTrain
 
1
  ---
2
+ base_model: Qwen/Qwen2-1.5B-Instruct
3
+ datasets:
4
+ - sunwu51/chinese_braille_3k_rows
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-1.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": 1536,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 8960,
13
+ "max_position_embeddings": 32768,
14
+ "max_window_layers": 28,
15
+ "model_type": "qwen2",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 28,
18
+ "num_key_value_heads": 2,
19
+ "rms_norm_eps": 1e-06,
20
+ "rope_theta": 1000000.0,
21
+ "sliding_window": 32768,
22
+ "tie_word_embeddings": true,
23
+ "torch_dtype": "float16",
24
+ "transformers_version": "4.41.0",
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.41.0"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d14061d81b674a0471acee590c5b383a09f22bed3ab18d9926f3d8cddb10eb5a
3
+ size 3087466808