Downloads · 30 days
5
14% of all-time downloads
jasonm4130/formrecap-mistral-7b-cf-lora
formrecap-mistral-7b-cf-lora is a machine learning model from jasonm4130. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter fine-tuned on synthetic form abandonment event traces for 6-class classification.
Downloads · 30 days
5
14% of all-time downloads
All-time downloads
37
Public
Repo size
13.7 MB
Likes
0
Public
Click a slice to open those files.
.safetensors13.6 MB · 80%
From the Hugging Face model README
LoRA adapter fine-tuned on synthetic form abandonment event traces for 6-class classification.
mistralai/Mistral-7B-Instruct-v0.2
Classifies form interaction event traces into one of six abandonment reasons:
| Code | Class | Description |
|---|---|---|
| 1 | validation_error | User hit a field error they couldn't resolve |
| 2 | distraction | User task-switched away |
| 3 | comparison_shopping | Browsing, not committing |
| 4 | accidental_exit | Closed tab / back button by mistake |
| 5 | bot | Automated non-human interaction |
| 6 | committed_leave | Intentionally chose not to complete |
| Metric | Value |
|---|---|
| Macro-F1 | 0.760 |
| ECE (logprob) | 0.071 |
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
model = PeftModel.from_pretrained(base, "jasonm4130/formrecap-mistral-7b-cf-lora")
tokenizer = AutoTokenizer.from_pretrained("jasonm4130/formrecap-mistral-7b-cf-lora")