Kibalama commited on
Commit
746e75d
·
verified ·
1 Parent(s): 317f070

End of training

Browse files
README.md CHANGED
@@ -1,59 +1,59 @@
1
  ---
2
- library_name: peft
3
- license: apache-2.0
4
- base_model: unsloth/whisper-small
5
  tags:
6
- - base_model:adapter:unsloth/whisper-small
7
- - lora
8
- - transformers
9
  - unsloth
10
- model-index:
11
- - name: outputs
12
- results: []
13
  ---
14
 
15
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
- should probably proofread and complete it, then remove this comment. -->
17
 
18
- # outputs
 
19
 
20
- This model is a fine-tuned version of [unsloth/whisper-small](https://huggingface.co/unsloth/whisper-small) on an unknown dataset.
21
 
22
- ## Model description
 
23
 
24
- More information needed
 
 
 
 
25
 
26
- ## Intended uses & limitations
27
-
28
- More information needed
29
-
30
- ## Training and evaluation data
31
 
32
- More information needed
33
 
34
- ## Training procedure
35
 
36
- ### Training hyperparameters
37
 
38
- The following hyperparameters were used during training:
39
- - learning_rate: 0.0002
40
- - train_batch_size: 8
41
- - eval_batch_size: 8
42
- - seed: 3407
43
- - optimizer: Use OptimizerNames.ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
44
- - lr_scheduler_type: linear
45
- - lr_scheduler_warmup_steps: 5
46
- - num_epochs: 1
47
- - mixed_precision_training: Native AMP
48
 
49
- ### Training results
 
 
 
 
50
 
 
51
 
52
 
53
- ### Framework versions
54
 
55
- - PEFT 0.17.0
56
- - Transformers 4.51.3
57
- - Pytorch 2.8.0+cu126
58
- - Datasets 3.6.0
59
- - Tokenizers 0.21.4
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: unsloth/gemma-3-270m
3
+ library_name: transformers
4
+ model_name: outputs
5
  tags:
6
+ - generated_from_trainer
7
+ - sft
8
+ - trl
9
  - unsloth
10
+ licence: license
 
 
11
  ---
12
 
13
+ # Model Card for outputs
 
14
 
15
+ This model is a fine-tuned version of [unsloth/gemma-3-270m](https://huggingface.co/unsloth/gemma-3-270m).
16
+ It has been trained using [TRL](https://github.com/huggingface/trl).
17
 
18
+ ## Quick start
19
 
20
+ ```python
21
+ from transformers import pipeline
22
 
23
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
24
+ generator = pipeline("text-generation", model="Kibalama/outputs", device="cuda")
25
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
26
+ print(output["generated_text"])
27
+ ```
28
 
29
+ ## Training procedure
 
 
 
 
30
 
31
+
32
 
 
33
 
34
+ This model was trained with SFT.
35
 
36
+ ### Framework versions
 
 
 
 
 
 
 
 
 
37
 
38
+ - TRL: 0.21.0
39
+ - Transformers: 4.55.4
40
+ - Pytorch: 2.8.0+cu126
41
+ - Datasets: 3.6.0
42
+ - Tokenizers: 0.21.4
43
 
44
+ ## Citations
45
 
46
 
 
47
 
48
+ Cite TRL as:
49
+
50
+ ```bibtex
51
+ @misc{vonwerra2022trl,
52
+ title = {{TRL: Transformer Reinforcement Learning}},
53
+ 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},
54
+ year = 2020,
55
+ journal = {GitHub repository},
56
+ publisher = {GitHub},
57
+ howpublished = {\url{https://github.com/huggingface/trl}}
58
+ }
59
+ ```
adapter_config.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": {
4
- "base_model_class": "WhisperForConditionalGeneration",
5
- "parent_library": "transformers.models.whisper.modeling_whisper"
6
  },
7
- "base_model_name_or_path": "unsloth/whisper-small",
8
  "bias": "none",
9
  "corda_config": null,
10
  "eva_config": null,
@@ -16,7 +16,7 @@
16
  "layers_pattern": null,
17
  "layers_to_transform": null,
18
  "loftq_config": {},
19
- "lora_alpha": 64,
20
  "lora_bias": false,
21
  "lora_dropout": 0,
22
  "megatron_config": null,
@@ -24,12 +24,19 @@
24
  "modules_to_save": null,
25
  "peft_type": "LORA",
26
  "qalora_group_size": 16,
27
- "r": 64,
28
  "rank_pattern": {},
29
  "revision": null,
30
  "target_modules": [
 
31
  "q_proj",
32
- "v_proj"
 
 
 
 
 
 
33
  ],
34
  "target_parameters": null,
35
  "task_type": null,
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": {
4
+ "base_model_class": "Gemma3ForCausalLM",
5
+ "parent_library": "transformers.models.gemma3.modeling_gemma3"
6
  },
7
+ "base_model_name_or_path": "unsloth/gemma-3-270m",
8
  "bias": "none",
9
  "corda_config": null,
10
  "eva_config": null,
 
16
  "layers_pattern": null,
17
  "layers_to_transform": null,
18
  "loftq_config": {},
19
+ "lora_alpha": 128,
20
  "lora_bias": false,
21
  "lora_dropout": 0,
22
  "megatron_config": null,
 
24
  "modules_to_save": null,
25
  "peft_type": "LORA",
26
  "qalora_group_size": 16,
27
+ "r": 128,
28
  "rank_pattern": {},
29
  "revision": null,
30
  "target_modules": [
31
+ "gate_proj",
32
  "q_proj",
33
+ "o_proj",
34
+ "v_proj",
35
+ "lm_head",
36
+ "up_proj",
37
+ "down_proj",
38
+ "k_proj",
39
+ "embed_tokens"
40
  ],
41
  "target_parameters": null,
42
  "task_type": null,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d24ebb17304bd909e4e39750c0a10f09888966636e0c36d20ff9fb101b538a4c
3
- size 28331952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46a638c4e142b5538d2bbffcb624127c2180a6115da10624ae5f13928a1cdc86
3
+ size 1061718040
special_tokens_map.json CHANGED
@@ -9,7 +9,7 @@
9
  },
10
  "eoi_token": "<end_of_image>",
11
  "eos_token": {
12
- "content": "<end_of_turn>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
 
9
  },
10
  "eoi_token": "<end_of_image>",
11
  "eos_token": {
12
+ "content": "<eos>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d786405177734910d7a3db625c2826640964a0b4e5cdbbd70620ae3313a01bef
3
- size 33384722
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
tokenizer_config.json CHANGED
@@ -51327,7 +51327,7 @@
51327
  "bos_token": "<bos>",
51328
  "clean_up_tokenization_spaces": false,
51329
  "eoi_token": "<end_of_image>",
51330
- "eos_token": "<end_of_turn>",
51331
  "extra_special_tokens": {
51332
  "boi_token": "<start_of_image>",
51333
  "eoi_token": "<end_of_image>",
@@ -51337,7 +51337,6 @@
51337
  "model_max_length": 32768,
51338
  "pad_token": "<pad>",
51339
  "padding_side": "right",
51340
- "processor_class": "Gemma3Processor",
51341
  "sp_model_kwargs": null,
51342
  "spaces_between_special_tokens": false,
51343
  "tokenizer_class": "GemmaTokenizer",
 
51327
  "bos_token": "<bos>",
51328
  "clean_up_tokenization_spaces": false,
51329
  "eoi_token": "<end_of_image>",
51330
+ "eos_token": "<eos>",
51331
  "extra_special_tokens": {
51332
  "boi_token": "<start_of_image>",
51333
  "eoi_token": "<end_of_image>",
 
51337
  "model_max_length": 32768,
51338
  "pad_token": "<pad>",
51339
  "padding_side": "right",
 
51340
  "sp_model_kwargs": null,
51341
  "spaces_between_special_tokens": false,
51342
  "tokenizer_class": "GemmaTokenizer",
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3928f2f1f33609eb571f2c221bb5ea2c5f9486dee64666e45183b06bcfc7f34a
3
- size 5841
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a4b022f8aa910777f0cd4b714648a8c9c451fd1512f72dd40a1a8f3297e3f24
3
+ size 6161