hsan512 commited on
Commit
6b186a5
1 Parent(s): 22c0bdc

Training in progress, step 4

Browse files
adapter_config.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": {
4
- "base_model_class": "MistralForCausalLM",
5
- "parent_library": "transformers.models.mistral.modeling_mistral"
6
  },
7
- "base_model_name_or_path": "Viet-Mistral/Vistral-7B-Chat",
8
  "bias": "none",
9
  "fan_in_fan_out": false,
10
  "inference_mode": true,
@@ -23,15 +23,12 @@
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
- "v_proj",
27
- "q_proj",
28
- "up_proj",
29
  "down_proj",
30
- "o_proj",
31
- "gate_proj",
32
- "k_proj"
33
  ],
34
  "task_type": null,
35
- "use_dora": false,
36
  "use_rslora": false
37
  }
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": {
4
+ "base_model_class": "MptForCausalLM",
5
+ "parent_library": "transformers.models.mpt.modeling_mpt"
6
  },
7
+ "base_model_name_or_path": "vinai/PhoGPT-4B-Chat",
8
  "bias": "none",
9
  "fan_in_fan_out": false,
10
  "inference_mode": true,
 
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
+ "Wqkv",
27
+ "out_proj",
 
28
  "down_proj",
29
+ "up_proj"
 
 
30
  ],
31
  "task_type": null,
32
+ "use_dora": true,
33
  "use_rslora": false
34
  }
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:242a6af7b5a0ff82aac7c6f0ea6478bdb5e5d47ef8141a536fcf1fc2645dba0e
3
- size 83945296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a015d9c73adc8761a6c0f966efbb7beed52acd3356e5f2d9b35506487e525327
3
+ size 53923248
special_tokens_map.json CHANGED
@@ -1,9 +1,4 @@
1
  {
2
- "additional_special_tokens": [
3
- "<unk>",
4
- "<s>",
5
- "</s>"
6
- ],
7
  "bos_token": {
8
  "content": "<s>",
9
  "lstrip": false,
@@ -19,7 +14,7 @@
19
  "single_word": false
20
  },
21
  "pad_token": {
22
- "content": "<unk>",
23
  "lstrip": false,
24
  "normalized": false,
25
  "rstrip": false,
 
1
  {
 
 
 
 
 
2
  "bos_token": {
3
  "content": "<s>",
4
  "lstrip": false,
 
14
  "single_word": false
15
  },
16
  "pad_token": {
17
+ "content": "<pad>",
18
  "lstrip": false,
19
  "normalized": false,
20
  "rstrip": false,
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,6 +1,5 @@
1
  {
2
- "add_bos_token": true,
3
- "add_eos_token": false,
4
  "added_tokens_decoder": {
5
  "0": {
6
  "content": "<unk>",
@@ -26,55 +25,22 @@
26
  "single_word": false,
27
  "special": true
28
  },
29
- "38365": {
30
- "content": "<<SYS>>",
31
  "lstrip": false,
32
  "normalized": false,
33
  "rstrip": false,
34
  "single_word": false,
35
- "special": false
36
- },
37
- "38366": {
38
- "content": "<</SYS>>",
39
- "lstrip": false,
40
- "normalized": false,
41
- "rstrip": false,
42
- "single_word": false,
43
- "special": false
44
- },
45
- "38367": {
46
- "content": "[INST]",
47
- "lstrip": false,
48
- "normalized": false,
49
- "rstrip": false,
50
- "single_word": false,
51
- "special": false
52
- },
53
- "38368": {
54
- "content": "[/INST]",
55
- "lstrip": false,
56
- "normalized": false,
57
- "rstrip": false,
58
- "single_word": false,
59
- "special": false
60
  }
61
  },
62
- "additional_special_tokens": [
63
- "<unk>",
64
- "<s>",
65
- "</s>"
66
- ],
67
  "bos_token": "<s>",
68
- "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}",
69
  "clean_up_tokenization_spaces": false,
70
  "eos_token": "</s>",
71
- "legacy": true,
72
- "model_max_length": 1000000000000000019884624838656,
73
- "pad_token": "<unk>",
74
- "sp_model_kwargs": {},
75
- "spaces_between_special_tokens": false,
76
- "tokenizer_class": "LlamaTokenizer",
77
- "unk_token": "<unk>",
78
- "use_default_system_prompt": false,
79
- "use_fast": true
80
  }
 
1
  {
2
+ "add_prefix_space": false,
 
3
  "added_tokens_decoder": {
4
  "0": {
5
  "content": "<unk>",
 
25
  "single_word": false,
26
  "special": true
27
  },
28
+ "3": {
29
+ "content": "<pad>",
30
  "lstrip": false,
31
  "normalized": false,
32
  "rstrip": false,
33
  "single_word": false,
34
+ "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  }
36
  },
 
 
 
 
 
37
  "bos_token": "<s>",
38
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{% if message['role'] == 'user' and loop.first %}{{ '### Câu hỏi: ' + message['content'].strip() }}{% elif message['role'] == 'user' %}{{ '\n### Câu hỏi: ' + message['content'].strip() }}{% elif message['role'] == 'assistant' %}{{ '\n### Trả lời: ' + message['content'] + eos_token }}{% endif %}{% if loop.last %}{% if message['role'] == 'user' and add_generation_prompt %}{{ '\n### Trả lời:' }}{% endif %}{% endif %}{% endfor %}",
39
  "clean_up_tokenization_spaces": false,
40
  "eos_token": "</s>",
41
+ "model_max_length": 8192,
42
+ "pad_token": "<pad>",
43
+ "padding_side": "right",
44
+ "tokenizer_class": "BloomTokenizer",
45
+ "unk_token": "<unk>"
 
 
 
 
46
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:258ce3f2c30f2dd5d61b0c55898095fdd50b3ffd6fee97143d267e6748468c48
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a258901ba7183b5b37b37dcd95dce7f77bab35551eae7e7edec705146e6e24ff
3
  size 5368