Instructions to use IoakeimE/kto_simpletext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IoakeimE/kto_simpletext with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("IoakeimE/kto_simpletext", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Training in progress, epoch 1
Browse files- README.md +2 -2
- adapter_config.json +3 -3
- adapter_model.safetensors +1 -1
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -4,8 +4,8 @@ library_name: transformers
|
|
| 4 |
model_name: kto_simpletext
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
-
- trl
|
| 8 |
- unsloth
|
|
|
|
| 9 |
- kto
|
| 10 |
licence: license
|
| 11 |
---
|
|
@@ -28,7 +28,7 @@ print(output["generated_text"])
|
|
| 28 |
|
| 29 |
## Training procedure
|
| 30 |
|
| 31 |
-
[<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/ioakeime-aristotle-university-of-thessaloniki/kto_simpletext/runs/
|
| 32 |
|
| 33 |
|
| 34 |
This model was trained with KTO, a method introduced in [KTO: Model Alignment as Prospect Theoretic Optimization](https://huggingface.co/papers/2402.01306).
|
|
|
|
| 4 |
model_name: kto_simpletext
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
| 7 |
- unsloth
|
| 8 |
+
- trl
|
| 9 |
- kto
|
| 10 |
licence: license
|
| 11 |
---
|
|
|
|
| 28 |
|
| 29 |
## Training procedure
|
| 30 |
|
| 31 |
+
[<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/ioakeime-aristotle-university-of-thessaloniki/kto_simpletext/runs/f39llvr3)
|
| 32 |
|
| 33 |
|
| 34 |
This model was trained with KTO, a method introduced in [KTO: Model Alignment as Prospect Theoretic Optimization](https://huggingface.co/papers/2402.01306).
|
adapter_config.json
CHANGED
|
@@ -35,12 +35,12 @@
|
|
| 35 |
"revision": null,
|
| 36 |
"target_modules": [
|
| 37 |
"k_proj",
|
| 38 |
-
"up_proj",
|
| 39 |
-
"down_proj",
|
| 40 |
"gate_proj",
|
|
|
|
| 41 |
"v_proj",
|
| 42 |
"q_proj",
|
| 43 |
-
"
|
|
|
|
| 44 |
],
|
| 45 |
"target_parameters": null,
|
| 46 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 35 |
"revision": null,
|
| 36 |
"target_modules": [
|
| 37 |
"k_proj",
|
|
|
|
|
|
|
| 38 |
"gate_proj",
|
| 39 |
+
"o_proj",
|
| 40 |
"v_proj",
|
| 41 |
"q_proj",
|
| 42 |
+
"down_proj",
|
| 43 |
+
"up_proj"
|
| 44 |
],
|
| 45 |
"target_parameters": null,
|
| 46 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 167832240
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a21dcb8a40c4bfec72369a7fef5614c254fa25c129f5fb9d7ccc23ea440899c5
|
| 3 |
size 167832240
|
tokenizer_config.json
CHANGED
|
@@ -6179,7 +6179,7 @@
|
|
| 6179 |
"legacy": false,
|
| 6180 |
"model_max_length": 32768,
|
| 6181 |
"pad_token": "[control_768]",
|
| 6182 |
-
"padding_side": "
|
| 6183 |
"sp_model_kwargs": {},
|
| 6184 |
"spaces_between_special_tokens": false,
|
| 6185 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
|
| 6179 |
"legacy": false,
|
| 6180 |
"model_max_length": 32768,
|
| 6181 |
"pad_token": "[control_768]",
|
| 6182 |
+
"padding_side": "right",
|
| 6183 |
"sp_model_kwargs": {},
|
| 6184 |
"spaces_between_special_tokens": false,
|
| 6185 |
"tokenizer_class": "LlamaTokenizer",
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6481
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd35f28e7f19d247eefdbc466c9d46498bc2fa6d1debd8940b021421e74a451c
|
| 3 |
size 6481
|