Instructions to use IoakeimE/sft_normal_simplification_mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IoakeimE/sft_normal_simplification_mini with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("IoakeimE/sft_normal_simplification_mini", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use IoakeimE/sft_normal_simplification_mini with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for IoakeimE/sft_normal_simplification_mini to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for IoakeimE/sft_normal_simplification_mini to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for IoakeimE/sft_normal_simplification_mini to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="IoakeimE/sft_normal_simplification_mini", max_seq_length=2048, )
Model save
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: unsloth/mistral-7b-v0.3-bnb-4bit
|
| 3 |
library_name: peft
|
| 4 |
-
|
|
|
|
| 5 |
tags:
|
| 6 |
- base_model:adapter:unsloth/mistral-7b-v0.3-bnb-4bit
|
| 7 |
- lora
|
|
@@ -9,55 +9,52 @@ tags:
|
|
| 9 |
- transformers
|
| 10 |
- trl
|
| 11 |
- unsloth
|
| 12 |
-
licence: license
|
| 13 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
| 24 |
-
from transformers import pipeline
|
| 25 |
|
| 26 |
-
|
| 27 |
-
generator = pipeline("text-generation", model="IoakeimE/sft_normal_simplification_mini", device="cuda")
|
| 28 |
-
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 29 |
-
print(output["generated_text"])
|
| 30 |
-
```
|
| 31 |
|
| 32 |
-
##
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
|
|
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
### Framework versions
|
| 40 |
|
| 41 |
- PEFT 0.18.0
|
| 42 |
-
-
|
| 43 |
-
-
|
| 44 |
-
-
|
| 45 |
-
-
|
| 46 |
-
- Tokenizers: 0.22.1
|
| 47 |
-
|
| 48 |
-
## Citations
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
Cite TRL as:
|
| 53 |
-
|
| 54 |
-
```bibtex
|
| 55 |
-
@misc{vonwerra2022trl,
|
| 56 |
-
title = {{TRL: Transformer Reinforcement Learning}},
|
| 57 |
-
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},
|
| 58 |
-
year = 2020,
|
| 59 |
-
journal = {GitHub repository},
|
| 60 |
-
publisher = {GitHub},
|
| 61 |
-
howpublished = {\url{https://github.com/huggingface/trl}}
|
| 62 |
-
}
|
| 63 |
-
```
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
library_name: peft
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: unsloth/mistral-7b-v0.3-bnb-4bit
|
| 5 |
tags:
|
| 6 |
- base_model:adapter:unsloth/mistral-7b-v0.3-bnb-4bit
|
| 7 |
- lora
|
|
|
|
| 9 |
- transformers
|
| 10 |
- trl
|
| 11 |
- unsloth
|
|
|
|
| 12 |
pipeline_tag: text-generation
|
| 13 |
+
model-index:
|
| 14 |
+
- name: sft_normal_simplification_mini
|
| 15 |
+
results: []
|
| 16 |
---
|
| 17 |
|
| 18 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 19 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 20 |
|
| 21 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/ioakeime-aristotle-university-of-thessaloniki/sft_normal_simplification_mini/runs/6nfctecu)
|
| 22 |
+
# sft_normal_simplification_mini
|
| 23 |
|
| 24 |
+
This model is a fine-tuned version of [unsloth/mistral-7b-v0.3-bnb-4bit](https://huggingface.co/unsloth/mistral-7b-v0.3-bnb-4bit) on an unknown dataset.
|
| 25 |
|
| 26 |
+
## Model description
|
|
|
|
| 27 |
|
| 28 |
+
More information needed
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
+
## Intended uses & limitations
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
|
| 34 |
+
## Training and evaluation data
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training procedure
|
| 39 |
|
| 40 |
+
### Training hyperparameters
|
| 41 |
|
| 42 |
+
The following hyperparameters were used during training:
|
| 43 |
+
- learning_rate: 0.0001
|
| 44 |
+
- train_batch_size: 4
|
| 45 |
+
- eval_batch_size: 4
|
| 46 |
+
- seed: 3407
|
| 47 |
+
- gradient_accumulation_steps: 16
|
| 48 |
+
- total_train_batch_size: 64
|
| 49 |
+
- optimizer: Use paged_adamw_32bit with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 50 |
+
- lr_scheduler_type: cosine
|
| 51 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 52 |
+
- num_epochs: 3
|
| 53 |
|
| 54 |
### Framework versions
|
| 55 |
|
| 56 |
- PEFT 0.18.0
|
| 57 |
+
- Transformers 4.57.3
|
| 58 |
+
- Pytorch 2.9.0+cu128
|
| 59 |
+
- Datasets 4.3.0
|
| 60 |
+
- Tokenizers 0.22.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|