Instructions to use riyanatsill/model-ft_PMB with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use riyanatsill/model-ft_PMB with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "riyanatsill/model-ft_PMB") - Notebooks
- Google Colab
- Kaggle
model-ft_PMB
This model is a fine-tuned version of NousResearch/Llama-2-7b-chat-hf on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.7020
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: 2
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 16
- optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 4 | 1.9457 |
| No log | 2.0 | 8 | 1.0707 |
| 2.4225 | 3.0 | 12 | 0.9516 |
| 2.4225 | 4.0 | 16 | 0.8666 |
| 0.8356 | 5.0 | 20 | 0.8133 |
| 0.8356 | 6.0 | 24 | 0.7757 |
| 0.8356 | 7.0 | 28 | 0.7454 |
| 0.6861 | 8.0 | 32 | 0.7230 |
| 0.6861 | 9.0 | 36 | 0.7080 |
| 0.6374 | 10.0 | 40 | 0.7020 |
Framework versions
- PEFT 0.14.0
- Transformers 4.49.0
- Pytorch 2.6.0+cu124
- Datasets 3.4.0
- Tokenizers 0.21.0
- Downloads last month
- 5
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for riyanatsill/model-ft_PMB
Base model
NousResearch/Llama-2-7b-chat-hf