Run this model with HF Jobs
Run 25Iqbal/tinyllama-lora-fast on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/25Iqbal/tinyllama-lora-fast. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/25Iqbal/tinyllama-lora-fast on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use 25Iqbal/tinyllama-lora-fast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 25Iqbal/tinyllama-lora-fast with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0") model = PeftModel.from_pretrained(base_model, "25Iqbal/tinyllama-lora-fast") - Notebooks
- Google Colab
- Kaggle
Training complete 2025-11-07 18:55:49
Browse filesFiles changed (2)
- README.mdAdded+80
- generation_config.jsonAdded+10
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980---library_name: peftlicense: apache-2.0base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0tags:- generated_from_trainermodel-index:- name: tinyllama-lora-fast results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# tinyllama-lora-fast
This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.8744
## 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: 3e-05- train_batch_size: 2- eval_batch_size: 2- seed: 42- gradient_accumulation_steps: 2- total_train_batch_size: 4- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: cosine- lr_scheduler_warmup_ratio: 0.03- num_epochs: 2- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:------:|:----:|:---------------:|| 1.0752 | 0.1111 | 200 | 1.0674 || 1.0248 | 0.2222 | 400 | 1.0167 || 0.9839 | 0.3333 | 600 | 0.9843 || 0.9479 | 0.4444 | 800 | 0.9620 || 0.9478 | 0.5556 | 1000 | 0.9457 || 0.914 | 0.6667 | 1200 | 0.9318 || 0.9329 | 0.7778 | 1400 | 0.9182 || 0.8929 | 0.8889 | 1600 | 0.9104 || 0.911 | 1.0 | 1800 | 0.9005 || 0.869 | 1.1111 | 2000 | 0.8949 || 0.8873 | 1.2222 | 2200 | 0.8892 || 0.8551 | 1.3333 | 2400 | 0.8848 || 0.8543 | 1.4444 | 2600 | 0.8812 || 0.8741 | 1.5556 | 2800 | 0.8779 || 0.8652 | 1.6667 | 3000 | 0.8760 || 0.8534 | 1.7778 | 3200 | 0.8751 || 0.8378 | 1.8889 | 3400 | 0.8745 || 0.8514 | 2.0 | 3600 | 0.8744 |
### Framework versions
- PEFT 0.12.0- Transformers 4.45.2- Pytorch 2.6.0+cu124- Datasets 4.1.1- Tokenizers 0.20.312345678910{ "max_new_tokens": 512, "temperature": 0.0, "do_sample": false, "top_p": 0.9, "repetition_penalty": 1.1, "no_repeat_ngram_size": 4, "eos_token_id": 2, "pad_token_id": 2}README.mdAdded+80
generation_config.jsonAdded+10