jmeneu's picture
jmeneu/Fine-tuning-Mistral
09b95d2
|
raw
history blame
1.8 kB
metadata
license: apache-2.0
base_model: mistralai/Mistral-7B-v0.1
tags:
  - generated_from_trainer
datasets:
  - imdb
metrics:
  - accuracy
model-index:
  - name: Mistral-7B-v0.1-lora-text-classification
    results: []

Mistral-7B-v0.1-lora-text-classification

This model is a fine-tuned version of mistralai/Mistral-7B-v0.1 on the imdb dataset. It achieves the following results on the evaluation set:

  • Loss: 0.6942
  • Accuracy: {'accuracy': 0.50984}

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.001
  • train_batch_size: 2
  • eval_batch_size: 2
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 5

Training results

Training Loss Epoch Step Validation Loss Accuracy
1.5482 1.0 12500 1.3653 {'accuracy': 0.58188}
0.7082 2.0 25000 0.6882 {'accuracy': 0.55924}
0.7127 3.0 37500 0.6934 {'accuracy': 0.50536}
0.6993 4.0 50000 0.6948 {'accuracy': 0.5022}
0.693 5.0 62500 0.6942 {'accuracy': 0.50984}

Framework versions

  • Transformers 4.35.2
  • Pytorch 2.1.0+cu118
  • Datasets 2.15.0
  • Tokenizers 0.15.0