Instructions to use dendimaki/mistral-checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dendimaki/mistral-checkpoints with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1") model = PeftModel.from_pretrained(base_model, "dendimaki/mistral-checkpoints") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from dendimaki/mistral-checkpoints: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/dendimaki/mistral-checkpoints/resolve/main/README.md
- Command line
-
hf download hf://dendimaki/mistral-checkpoints/README.md
-
curl -L -o README.md https://huggingface.co/dendimaki/mistral-checkpoints/resolve/main/README.md
1.61 kB
metadata
license: apache-2.0
library_name: peft
tags:
- generated_from_trainer
base_model: mistralai/Mistral-7B-v0.1
model-index:
- name: mistral7b-martinmatrix-finetune
results: []
pipeline_tag: text-classification
mistral7b-martinmatrix-finetune
This model is a fine-tuned version of mistralai/Mistral-7B-v0.1 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0002
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: 2.5e-05
- train_batch_size: 2
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 1
- training_steps: 120
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.8049 | 0.2155 | 25 | 0.0073 |
| 0.0045 | 0.4310 | 50 | 0.0018 |
| 0.0011 | 0.6466 | 75 | 0.0004 |
| 0.0004 | 0.8621 | 100 | 0.0002 |
Framework versions
- PEFT 0.10.1.dev0
- Transformers 4.41.0.dev0
- Pytorch 2.2.1+cu121
- Datasets 2.19.0
- Tokenizers 0.19.1