End of training
Browse files- README.md +40 -40
- adapter_config.json +13 -6
- adapter_model.safetensors +2 -2
- special_tokens_map.json +1 -1
- tokenizer.json +2 -2
- tokenizer_config.json +1 -2
- training_args.bin +2 -2
README.md
CHANGED
|
@@ -1,59 +1,59 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
tags:
|
| 6 |
-
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
- unsloth
|
| 10 |
-
|
| 11 |
-
- name: outputs
|
| 12 |
-
results: []
|
| 13 |
---
|
| 14 |
|
| 15 |
-
|
| 16 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
##
|
| 27 |
-
|
| 28 |
-
More information needed
|
| 29 |
-
|
| 30 |
-
## Training and evaluation data
|
| 31 |
|
| 32 |
-
|
| 33 |
|
| 34 |
-
## Training procedure
|
| 35 |
|
| 36 |
-
|
| 37 |
|
| 38 |
-
|
| 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
|
|
|
| 51 |
|
| 52 |
|
| 53 |
-
### Framework versions
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "
|
| 5 |
-
"parent_library": "transformers.models.
|
| 6 |
},
|
| 7 |
-
"base_model_name_or_path": "unsloth/
|
| 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":
|
| 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":
|
| 28 |
"rank_pattern": {},
|
| 29 |
"revision": null,
|
| 30 |
"target_modules": [
|
|
|
|
| 31 |
"q_proj",
|
| 32 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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": "<
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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": "<
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a4b022f8aa910777f0cd4b714648a8c9c451fd1512f72dd40a1a8f3297e3f24
|
| 3 |
+
size 6161
|