Instructions to use zheng438/experiments with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use zheng438/experiments with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T") model = PeftModel.from_pretrained(base_model, "zheng438/experiments") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| library_name: peft | |
| tags: | |
| - trl | |
| - sft | |
| - generated_from_trainer | |
| base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T | |
| model-index: | |
| - name: experiments | |
| 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. --> | |
| # experiments | |
| This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.0912 | |
| ## 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.0001 | |
| - train_batch_size: 4 | |
| - eval_batch_size: 8 | |
| - seed: 123 | |
| - gradient_accumulation_steps: 4 | |
| - total_train_batch_size: 16 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: constant | |
| - lr_scheduler_warmup_ratio: 0.1 | |
| - num_epochs: 1 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-----:|:----:|:---------------:| | |
| | 0.1412 | 0.2 | 311 | 0.1461 | | |
| | 0.1095 | 0.4 | 622 | 0.1154 | | |
| | 0.089 | 0.6 | 933 | 0.1029 | | |
| | 0.0875 | 0.8 | 1244 | 0.0912 | | |
| ### Framework versions | |
| - PEFT 0.8.1 | |
| - Transformers 4.37.2 | |
| - Pytorch 2.2.0 | |
| - Datasets 2.16.1 | |
| - Tokenizers 0.15.1 |