Run this model with HF Jobs
Run dendimaki/mistral-lora-token-classification 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/dendimaki/mistral-lora-token-classification. 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/dendimaki/mistral-lora-token-classification 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 dendimaki/mistral-lora-token-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dendimaki/mistral-lora-token-classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("mistralai/Mistral-7B-v0.1") model = PeftModel.from_pretrained(base_model, "dendimaki/mistral-lora-token-classification") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from dendimaki/mistral-lora-token-classification: direct link, hf CLI and curl.
- Browser
- Download file 1.46 kB
-
https://huggingface.co/dendimaki/mistral-lora-token-classification/resolve/main/README.md
- Command line
-
hf download hf://dendimaki/mistral-lora-token-classification/README.md
-
curl -L -o README.md https://huggingface.co/dendimaki/mistral-lora-token-classification/resolve/main/README.md
1.46 kB
metadata
license: apache-2.0
library_name: peft
tags:
- generated_from_trainer
base_model: mistralai/Mistral-7B-v0.1
model-index:
- name: mistral-lora-token-classification
results: []
mistral-lora-token-classification
This model is a fine-tuned version of mistralai/Mistral-7B-v0.1 on the None dataset.
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: 8
- eval_batch_size: 8
- seed: 42
- 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 | Precision | Recall | F1-score | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 431 | nan | 0.0020 | 0.0444 | 0.0038 | 0.0444 |
Framework versions
- PEFT 0.11.1
- Transformers 4.41.0
- Pytorch 2.2.1+cu121
- Datasets 2.19.1
- Tokenizers 0.19.1