not-lain commited on
Commit
be51c09
·
verified ·
1 Parent(s): 509e623

Training in progress, step 100

Browse files
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- base_model: mustafaaljadery/gemma-2B-10M
3
  library_name: transformers
4
  model_name: Quotes_Generator
5
  tags:
@@ -11,7 +11,7 @@ licence: license
11
 
12
  # Model Card for Quotes_Generator
13
 
14
- This model is a fine-tuned version of [mustafaaljadery/gemma-2B-10M](https://huggingface.co/mustafaaljadery/gemma-2B-10M).
15
  It has been trained using [TRL](https://github.com/huggingface/trl).
16
 
17
  ## Quick start
@@ -27,17 +27,18 @@ print(output["generated_text"])
27
 
28
  ## Training procedure
29
 
30
- [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/not-lain/huggingface/runs/gxswt71k)
 
31
 
32
  This model was trained with SFT.
33
 
34
  ### Framework versions
35
 
36
- - TRL: 0.12.2
37
- - Transformers: 4.46.3
38
- - Pytorch: 2.5.1+cu121
39
- - Datasets: 3.2.0
40
- - Tokenizers: 0.20.3
41
 
42
  ## Citations
43
 
@@ -48,7 +49,7 @@ Cite TRL as:
48
  ```bibtex
49
  @misc{vonwerra2022trl,
50
  title = {{TRL: Transformer Reinforcement Learning}},
51
- author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
52
  year = 2020,
53
  journal = {GitHub repository},
54
  publisher = {GitHub},
 
1
  ---
2
+ base_model: google/gemma-3-1b-it
3
  library_name: transformers
4
  model_name: Quotes_Generator
5
  tags:
 
11
 
12
  # Model Card for Quotes_Generator
13
 
14
+ This model is a fine-tuned version of [google/gemma-3-1b-it](https://huggingface.co/google/gemma-3-1b-it).
15
  It has been trained using [TRL](https://github.com/huggingface/trl).
16
 
17
  ## Quick start
 
27
 
28
  ## Training procedure
29
 
30
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/not-lain/huggingface/runs/16bwzxjk)
31
+
32
 
33
  This model was trained with SFT.
34
 
35
  ### Framework versions
36
 
37
+ - TRL: 0.24.0
38
+ - Transformers: 4.57.1
39
+ - Pytorch: 2.8.0+cu126
40
+ - Datasets: 4.0.0
41
+ - Tokenizers: 0.22.1
42
 
43
  ## Citations
44
 
 
49
  ```bibtex
50
  @misc{vonwerra2022trl,
51
  title = {{TRL: Transformer Reinforcement Learning}},
52
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
53
  year = 2020,
54
  journal = {GitHub repository},
55
  publisher = {GitHub},
adapter_config.json CHANGED
@@ -1,8 +1,11 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
- "base_model_name_or_path": "mustafaaljadery/gemma-2B-10M",
5
  "bias": "none",
 
 
 
6
  "fan_in_fan_out": false,
7
  "inference_mode": true,
8
  "init_lora_weights": true,
@@ -11,24 +14,29 @@
11
  "layers_to_transform": null,
12
  "loftq_config": {},
13
  "lora_alpha": 8,
 
14
  "lora_dropout": 0.0,
15
  "megatron_config": null,
16
  "megatron_core": "megatron.core",
17
  "modules_to_save": null,
18
  "peft_type": "LORA",
 
19
  "r": 8,
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
- "q_proj",
24
- "gate_proj",
25
- "v_proj",
26
  "o_proj",
27
- "up_proj",
28
  "down_proj",
29
- "k_proj"
 
 
 
30
  ],
 
31
  "task_type": "CAUSAL_LM",
 
32
  "use_dora": false,
 
33
  "use_rslora": false
34
  }
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-3-1b-it",
5
  "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
  "fan_in_fan_out": false,
10
  "inference_mode": true,
11
  "init_lora_weights": true,
 
14
  "layers_to_transform": null,
15
  "loftq_config": {},
16
  "lora_alpha": 8,
17
+ "lora_bias": false,
18
  "lora_dropout": 0.0,
19
  "megatron_config": null,
20
  "megatron_core": "megatron.core",
21
  "modules_to_save": null,
22
  "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
  "r": 8,
25
  "rank_pattern": {},
26
  "revision": null,
27
  "target_modules": [
28
+ "k_proj",
 
 
29
  "o_proj",
 
30
  "down_proj",
31
+ "q_proj",
32
+ "v_proj",
33
+ "gate_proj",
34
+ "up_proj"
35
  ],
36
+ "target_parameters": null,
37
  "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
  "use_dora": false,
40
+ "use_qalora": false,
41
  "use_rslora": false
42
  }
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e543d3bf88e583c73f5d9d605818cf4076adbb1e7a5eb2f7f56ecc448e20b7cc
3
- size 39256456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:684fd7ad6b94d5dffa2870e75b48534f34b74495df45687e03adb6e7345bcf96
3
+ size 26139264
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
chat_template.jinja ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{ bos_token }}
2
+ {%- if messages[0]['role'] == 'system' -%}
3
+ {%- if messages[0]['content'] is string -%}
4
+ {%- set first_user_prefix = messages[0]['content'] + '
5
+
6
+ ' -%}
7
+ {%- else -%}
8
+ {%- set first_user_prefix = messages[0]['content'][0]['text'] + '
9
+
10
+ ' -%}
11
+ {%- endif -%}
12
+ {%- set loop_messages = messages[1:] -%}
13
+ {%- else -%}
14
+ {%- set first_user_prefix = "" -%}
15
+ {%- set loop_messages = messages -%}
16
+ {%- endif -%}
17
+ {%- for message in loop_messages -%}
18
+ {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
19
+ {{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
20
+ {%- endif -%}
21
+ {%- if (message['role'] == 'assistant') -%}
22
+ {%- set role = "model" -%}
23
+ {%- else -%}
24
+ {%- set role = message['role'] -%}
25
+ {%- endif -%}
26
+ {{ '<start_of_turn>' + role + '
27
+ ' + (first_user_prefix if loop.first else "") }}
28
+ {%- if message['content'] is string -%}
29
+ {{ message['content'] | trim }}
30
+ {%- elif message['content'] is iterable -%}
31
+ {%- for item in message['content'] -%}
32
+ {%- if item['type'] == 'image' -%}
33
+ {{ '<start_of_image>' }}
34
+ {%- elif item['type'] == 'text' -%}
35
+ {{ item['text'] | trim }}
36
+ {%- endif -%}
37
+ {%- endfor -%}
38
+ {%- else -%}
39
+ {{ raise_exception("Invalid content type") }}
40
+ {%- endif -%}
41
+ {{ '<end_of_turn>
42
+ ' }}
43
+ {%- endfor -%}
44
+ {%- if add_generation_prompt -%}
45
+ {{'<start_of_turn>model
46
+ '}}
47
+ {%- endif -%}
runs/Oct25_18-36-47_afc9ba227e8c/events.out.tfevents.1761417421.afc9ba227e8c.594.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fb001d29ffe30ca47dfacff3eb8299debe85a09be279fde7754c52c6ee3a84a
3
+ size 44801
special_tokens_map.json CHANGED
@@ -1,8 +1,5 @@
1
  {
2
- "additional_special_tokens": [
3
- "<start_of_turn>",
4
- "<end_of_turn>"
5
- ],
6
  "bos_token": {
7
  "content": "<bos>",
8
  "lstrip": false,
@@ -10,6 +7,7 @@
10
  "rstrip": false,
11
  "single_word": false
12
  },
 
13
  "eos_token": {
14
  "content": "<eos>",
15
  "lstrip": false,
@@ -17,6 +15,7 @@
17
  "rstrip": false,
18
  "single_word": false
19
  },
 
20
  "pad_token": {
21
  "content": "<pad>",
22
  "lstrip": false,
 
1
  {
2
+ "boi_token": "<start_of_image>",
 
 
 
3
  "bos_token": {
4
  "content": "<bos>",
5
  "lstrip": false,
 
7
  "rstrip": false,
8
  "single_word": false
9
  },
10
+ "eoi_token": "<end_of_image>",
11
  "eos_token": {
12
  "content": "<eos>",
13
  "lstrip": false,
 
15
  "rstrip": false,
16
  "single_word": false
17
  },
18
+ "image_token": "<image_soft_token>",
19
  "pad_token": {
20
  "content": "<pad>",
21
  "lstrip": false,
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f559f2189f392b4555613965f089e7c4d300b41fbe080bf79da0d676e33ee7f0
3
- size 34356041
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
tokenizer_config.json CHANGED
The diff for this file is too large to render. See raw diff
 
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:74c699a763d23d0833417bf13c29c44be96fbffa3ab58bbc3a439baf5d89343d
3
- size 5560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70e1a64099f950635da1660f6a046f9e158a52e04beb0051ef2ab9f1056e411a
3
+ size 6225