Downloads · 30 days
0
Syed-Hasan-8503/Mistral_classification_head_qlora
Mistral_classification_head_qlora is a text generation model from Syed-Hasan-8503. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
0
Access
Public
Updated Apr 9, 2024
Repo size
336 MB
Likes
3
Public
Click a slice to open those files.
.safetensors336 MB · 99%
From the Hugging Face model README

Mistral_classification_head_qlora has a new transformer head attached to it for sequence classification task and then resulting model has been finetuned on dair-ai/emotion dataset using QloRA. The model has been trained for 1 epoch on 1x A40 GPU. The evaluation loss for the emotion-head-3 attached to it was 1.313. The base model used was
This experiment was performed using Transformer-heads library
The training script for attaching a new transformer head for classification task using QLoRA is following:
For evaluating the transformer head that has been attached to the base model, you can refer to the following colab notebook Colab Notebook for Evaluation
The following hyperparameters were used during training:
train_epochs = 1 eval_epochs = 1 logging_steps = 1 train_batch_size = 4 eval_batch_size = 4