phandat128 commited on
Commit
2a4fdf7
·
verified ·
1 Parent(s): 4b895f6

Upload 10 files

Browse files
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HIT-TMG/KaLM-embedding-multilingual-mini-instruct-v1",
3
+ "architectures": [
4
+ "Qwen2ForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151643,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 896,
11
+ "id2label": {
12
+ "0": "LABEL_0"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 4864,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "max_position_embeddings": 131072,
20
+ "max_window_layers": 24,
21
+ "model_type": "qwen2",
22
+ "num_attention_heads": 14,
23
+ "num_hidden_layers": 24,
24
+ "num_key_value_heads": 2,
25
+ "pad_token_id": 151643,
26
+ "rms_norm_eps": 1e-06,
27
+ "rope_theta": 1000000.0,
28
+ "sliding_window": null,
29
+ "tie_word_embeddings": true,
30
+ "torch_dtype": "float16",
31
+ "transformers_version": "4.44.2",
32
+ "use_cache": false,
33
+ "use_sliding_window": false,
34
+ "vocab_size": 151936
35
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e56c619cbe49de5517fab6b8c458971daa6444115538f63c2fbf973ed607808
3
+ size 988099416
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "eos_token": {
7
+ "content": "<|endoftext|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "pad_token": {
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ }
20
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "151643": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "151644": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "151645": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "additional_special_tokens": [
30
+ "<|im_start|>",
31
+ "<|im_end|>"
32
+ ],
33
+ "auto_map": {
34
+ "AutoTokenizer": [
35
+ "HIT-TMG/KaLM-embedding-multilingual-mini-instruct-v1--tokenization_qwen.Qwen2Tokenizer",
36
+ "HIT-TMG/KaLM-embedding-multilingual-mini-instruct-v1--tokenization_qwen.Qwen2TokenizerFast"
37
+ ]
38
+ },
39
+ "bos_token": null,
40
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
41
+ "clean_up_tokenization_spaces": false,
42
+ "eos_token": "<|endoftext|>",
43
+ "errors": "replace",
44
+ "max_length": 512,
45
+ "model_max_length": 32768,
46
+ "pad_to_multiple_of": null,
47
+ "pad_token": "<|endoftext|>",
48
+ "pad_token_type_id": 0,
49
+ "padding_side": "left",
50
+ "split_special_tokens": false,
51
+ "stride": 0,
52
+ "tokenizer_class": "Qwen2Tokenizer",
53
+ "truncation_side": "right",
54
+ "truncation_strategy": "longest_first",
55
+ "unk_token": null
56
+ }
trainer_state.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3733,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.1339405304045004,
13
+ "grad_norm": 20.019311904907227,
14
+ "learning_rate": 1.925573087228342e-05,
15
+ "loss": 0.6476,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.2678810608090008,
20
+ "grad_norm": 15.345267295837402,
21
+ "learning_rate": 1.627865436141709e-05,
22
+ "loss": 0.4459,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.4018215912135012,
27
+ "grad_norm": 10.613130569458008,
28
+ "learning_rate": 1.330157785055076e-05,
29
+ "loss": 0.3806,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.5357621216180016,
34
+ "grad_norm": 6.42950439453125,
35
+ "learning_rate": 1.0324501339684432e-05,
36
+ "loss": 0.356,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.669702652022502,
41
+ "grad_norm": 11.147576332092285,
42
+ "learning_rate": 7.347424828818102e-06,
43
+ "loss": 0.3135,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.8036431824270024,
48
+ "grad_norm": 6.7693047523498535,
49
+ "learning_rate": 4.370348317951772e-06,
50
+ "loss": 0.304,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 0.9375837128315028,
55
+ "grad_norm": 8.816291809082031,
56
+ "learning_rate": 1.3932718070854423e-06,
57
+ "loss": 0.2765,
58
+ "step": 3500
59
+ }
60
+ ],
61
+ "logging_steps": 500,
62
+ "max_steps": 3733,
63
+ "num_input_tokens_seen": 0,
64
+ "num_train_epochs": 1,
65
+ "save_steps": 500,
66
+ "stateful_callbacks": {
67
+ "TrainerControl": {
68
+ "args": {
69
+ "should_epoch_stop": false,
70
+ "should_evaluate": false,
71
+ "should_log": false,
72
+ "should_save": true,
73
+ "should_training_stop": true
74
+ },
75
+ "attributes": {}
76
+ }
77
+ },
78
+ "total_flos": 0.0,
79
+ "train_batch_size": 16,
80
+ "trial_name": null,
81
+ "trial_params": null
82
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:644341618422331205081ed36797f91eec27f9651203e76ad37f736da419b59f
3
+ size 6776
vocab.json ADDED
The diff for this file is too large to render. See raw diff