Instructions to use FatimatouH/Model_Finetunned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use FatimatouH/Model_Finetunned with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-7B-Chat-GPTQ") model = PeftModel.from_pretrained(base_model, "FatimatouH/Model_Finetunned") - Notebooks
- Google Colab
- Kaggle
| license: llama2 | |
| library_name: peft | |
| tags: | |
| - generated_from_trainer | |
| base_model: TheBloke/Llama-2-7B-Chat-GPTQ | |
| model-index: | |
| - name: Model_Finetunned | |
| 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. --> | |
| # Model_Finetunned | |
| This model is a fine-tuned version of [TheBloke/Llama-2-7B-Chat-GPTQ](https://huggingface.co/TheBloke/Llama-2-7B-Chat-GPTQ) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.3209 | |
| ## 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: 1 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 4 | |
| - total_train_batch_size: 4 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 2 | |
| - num_epochs: 10 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:------:|:----:|:---------------:| | |
| | 2.7664 | 0.9796 | 12 | 2.5081 | | |
| | 2.2918 | 1.9592 | 24 | 2.1012 | | |
| | 1.9284 | 2.9388 | 36 | 1.8079 | | |
| | 1.5278 | 4.0 | 49 | 1.5725 | | |
| | 1.4118 | 4.9796 | 61 | 1.3976 | | |
| | 1.2716 | 5.9592 | 73 | 1.3459 | | |
| | 1.2207 | 6.9388 | 85 | 1.3274 | | |
| | 1.0976 | 8.0 | 98 | 1.3224 | | |
| | 1.1685 | 8.9796 | 110 | 1.3208 | | |
| | 1.0552 | 9.7959 | 120 | 1.3209 | | |
| ### Framework versions | |
| - PEFT 0.10.0 | |
| - Transformers 4.40.2 | |
| - Pytorch 2.3.0+cu121 | |
| - Datasets 2.19.1 | |
| - Tokenizers 0.19.1 |