Run this model with HF Jobs

Run CHF0101/medquad-lora-r32 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/CHF0101/medquad-lora-r32. 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/CHF0101/medquad-lora-r32 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.

MedQuAD LoRA r=32

Configuraci贸n

  • Base: mistralai/Mistral-7B-Instruct-v0.3
  • LoRA r: 32
  • M贸dulos: q_proj, k_proj, v_proj
  • 4-bit NF4
  • Early Stopping: patience=3

Entrenamiento

Training logs (manual, Epoch estimado):

Step Epoch Training Loss Validation Loss
100 0.046 0.824200 0.792224
200 0.093 0.766400 0.763532
300 0.139 0.761900 0.749713
400 0.186 0.734200 0.737889
500 0.232 0.728500 0.727421
600 0.279 0.734900 0.719858
700 0.325 0.715400 0.706352
800 0.371 0.722500 0.695117
900 0.418 0.702000 0.687702
1000 0.464 0.686500 0.677177
1100 0.511 0.674400 0.673650
1200 0.557 0.646700 0.663053
1300 0.604 0.651100 0.662174

Uso

from peft import PeftModel
from transformers import AutoModelForCausalLM
base = AutoModelForCausalLM.from_pretrained('mistralai/Mistral-7B-Instruct-v0.3', load_in_4bit=True)
model = PeftModel.from_pretrained(base, 'CHF0101/medquad-lora-r32')
Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support