Instructions to use BattleTag/SoC_v0.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use BattleTag/SoC_v0.3 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.3") model = PeftModel.from_pretrained(base_model, "BattleTag/SoC_v0.3") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from BattleTag/SoC_v0.3: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/BattleTag/SoC_v0.3/resolve/main/README.md
- Command line
-
hf download hf://BattleTag/SoC_v0.3/README.md
-
curl -L -o README.md https://huggingface.co/BattleTag/SoC_v0.3/resolve/main/README.md
1.65 kB
| base_model: mistralai/Mistral-7B-v0.3 | |
| library_name: peft | |
| license: apache-2.0 | |
| tags: | |
| - trl | |
| - sft | |
| - generated_from_trainer | |
| model-index: | |
| - name: SoC_v0.3 | |
| 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. --> | |
| # SoC_v0.3 | |
| This model is a fine-tuned version of [mistralai/Mistral-7B-v0.3](https://huggingface.co/mistralai/Mistral-7B-v0.3) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.3242 | |
| ## 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: 4 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 2 | |
| - total_train_batch_size: 8 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: constant | |
| - lr_scheduler_warmup_ratio: 0.3 | |
| - num_epochs: 2 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:------:|:----:|:---------------:| | |
| | 1.4119 | 0.3656 | 100 | 1.3443 | | |
| | 1.3701 | 0.7313 | 200 | 1.3327 | | |
| | 1.2793 | 1.0969 | 300 | 1.3297 | | |
| | 1.3168 | 1.4625 | 400 | 1.3262 | | |
| | 1.2383 | 1.8282 | 500 | 1.3242 | | |
| ### Framework versions | |
| - PEFT 0.11.2.dev0 | |
| - Transformers 4.43.0.dev0 | |
| - Pytorch 2.3.0+cu121 | |
| - Datasets 2.20.0 | |
| - Tokenizers 0.19.1 |