not-lain commited on
Commit
f26f5c0
·
verified ·
1 Parent(s): 1063036

not-lain/MedicalQA

Browse files
README.md CHANGED
@@ -5,7 +5,7 @@ tags:
5
  - trl
6
  - sft
7
  - generated_from_trainer
8
- base_model: google/gemma-2b
9
  model-index:
10
  - name: MedicalQA
11
  results: []
@@ -16,7 +16,7 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # MedicalQA
18
 
19
- This model is a fine-tuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) on the None dataset.
20
 
21
  ## Model description
22
 
 
5
  - trl
6
  - sft
7
  - generated_from_trainer
8
+ base_model: google/gemma-2b-it
9
  model-index:
10
  - name: MedicalQA
11
  results: []
 
16
 
17
  # MedicalQA
18
 
19
+ This model is a fine-tuned version of [google/gemma-2b-it](https://huggingface.co/google/gemma-2b-it) on the None dataset.
20
 
21
  ## Model description
22
 
adapter_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
- "base_model_name_or_path": "google/gemma-2b",
5
  "bias": "none",
6
  "fan_in_fan_out": false,
7
  "inference_mode": true,
@@ -20,13 +20,13 @@
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
- "o_proj",
24
- "up_proj",
25
- "gate_proj",
26
- "k_proj",
27
  "v_proj",
 
 
 
28
  "down_proj",
29
- "q_proj"
 
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-2b-it",
5
  "bias": "none",
6
  "fan_in_fan_out": false,
7
  "inference_mode": true,
 
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
 
 
 
 
23
  "v_proj",
24
+ "k_proj",
25
+ "q_proj",
26
+ "gate_proj",
27
  "down_proj",
28
+ "o_proj",
29
+ "up_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9e986c7484b9d95a7b64d99bbe3dd9e0d60bb26623c037f833bdf30142b454f
3
  size 39256456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d7dff844cfdfbb9865828f1b87e03874b6c20032ceb2f833865b97408aa8ba2
3
  size 39256456
runs/Mar27_23-17-06_3c792cdb8d0c/events.out.tfevents.1711581429.3c792cdb8d0c.1465.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:168592c87cc403f72a7014e8487ccfe74fa255841b71ace17bbd42c6cffabcda
3
+ size 7439
special_tokens_map.json CHANGED
@@ -1,4 +1,8 @@
1
  {
 
 
 
 
2
  "bos_token": {
3
  "content": "<bos>",
4
  "lstrip": false,
 
1
  {
2
+ "additional_special_tokens": [
3
+ "<start_of_turn>",
4
+ "<end_of_turn>"
5
+ ],
6
  "bos_token": {
7
  "content": "<bos>",
8
  "lstrip": false,
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb7e592b7314175501c7fc56b904d581de569169ac90e5aa2ec11a860c2cbbaa
3
- size 17477652
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce19157ce6b457736a0015a2a4fb06c966c6ff252ec9d1950777eec6598abf6d
3
+ size 17478028
tokenizer_config.json CHANGED
@@ -33,9 +33,30 @@
33
  "rstrip": false,
34
  "single_word": false,
35
  "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  }
37
  },
 
 
 
 
38
  "bos_token": "<bos>",
 
39
  "clean_up_tokenization_spaces": false,
40
  "eos_token": "<eos>",
41
  "legacy": null,
 
33
  "rstrip": false,
34
  "single_word": false,
35
  "special": true
36
+ },
37
+ "106": {
38
+ "content": "<start_of_turn>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "107": {
46
+ "content": "<end_of_turn>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
  }
53
  },
54
+ "additional_special_tokens": [
55
+ "<start_of_turn>",
56
+ "<end_of_turn>"
57
+ ],
58
  "bos_token": "<bos>",
59
+ "chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
60
  "clean_up_tokenization_spaces": false,
61
  "eos_token": "<eos>",
62
  "legacy": null,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed12c3b0d80c72c8ecbdf80262812acf6733b081da06c0629e760297242af43c
3
  size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f0dcedabbf6b4641496d32061aac7c156cd728c1401e46491666bc22cee977f
3
  size 4920