Instructions to use XicoC/llama381binstruct_summarize_short with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use XicoC/llama381binstruct_summarize_short with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Meta-Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "XicoC/llama381binstruct_summarize_short") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from XicoC/llama381binstruct_summarize_short: direct link, hf CLI and curl.
- Browser
- Download file 2.5 kB
-
https://huggingface.co/XicoC/llama381binstruct_summarize_short/resolve/main/README.md
- Command line
-
hf download hf://XicoC/llama381binstruct_summarize_short/README.md
-
curl -L -o README.md https://huggingface.co/XicoC/llama381binstruct_summarize_short/resolve/main/README.md
2.5 kB
| base_model: NousResearch/Meta-Llama-3.1-8B-Instruct | |
| datasets: | |
| - generator | |
| library_name: peft | |
| license: llama3.1 | |
| tags: | |
| - trl | |
| - sft | |
| - generated_from_trainer | |
| model-index: | |
| - name: llama381binstruct_summarize_short | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # llama381binstruct_summarize_short | |
| This model is a fine-tuned version of [NousResearch/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/NousResearch/Meta-Llama-3.1-8B-Instruct) on the generator dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 2.6824 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 0.0002 | |
| - train_batch_size: 1 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 30 | |
| - training_steps: 500 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-------:|:----:|:---------------:| | |
| | 1.8128 | 1.3158 | 25 | 1.5527 | | |
| | 0.8098 | 2.6316 | 50 | 1.6115 | | |
| | 0.3997 | 3.9474 | 75 | 1.7703 | | |
| | 0.1397 | 5.2632 | 100 | 2.1432 | | |
| | 0.0698 | 6.5789 | 125 | 2.2678 | | |
| | 0.0404 | 7.8947 | 150 | 2.2523 | | |
| | 0.0374 | 9.2105 | 175 | 2.1689 | | |
| | 0.0106 | 10.5263 | 200 | 2.4594 | | |
| | 0.0095 | 11.8421 | 225 | 2.4115 | | |
| | 0.0086 | 13.1579 | 250 | 2.4416 | | |
| | 0.0065 | 14.4737 | 275 | 2.4596 | | |
| | 0.006 | 15.7895 | 300 | 2.5076 | | |
| | 0.0034 | 17.1053 | 325 | 2.5684 | | |
| | 0.0022 | 18.4211 | 350 | 2.6151 | | |
| | 0.0022 | 19.7368 | 375 | 2.6410 | | |
| | 0.0026 | 21.0526 | 400 | 2.6586 | | |
| | 0.0018 | 22.3684 | 425 | 2.6678 | | |
| | 0.0022 | 23.6842 | 450 | 2.6756 | | |
| | 0.0021 | 25.0 | 475 | 2.6810 | | |
| | 0.0016 | 26.3158 | 500 | 2.6824 | | |
| ### Framework versions | |
| - PEFT 0.12.0 | |
| - Transformers 4.44.2 | |
| - Pytorch 2.4.0+cu121 | |
| - Datasets 3.0.0 | |
| - Tokenizers 0.19.1 |