Downloads · 30 days
5
19% of all-time downloads
jasonm4130/formrecap-gemma-2b-lora
formrecap-gemma-2b-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
19% of all-time downloads
All-time downloads
26
Public
Repo size
116 MB
Likes
0
Public
Click a slice to open those files.
.safetensors81.3 MB · 70%
From the Hugging Face model README
LoRA adapter fine-tuned on synthetic form abandonment event traces for 6-class classification.
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.916 |
| ECE (logprob) | 0.103 |
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("google/gemma-2b-it")
model = PeftModel.from_pretrained(base, "jasonm4130/formrecap-gemma-2b-lora")
tokenizer = AutoTokenizer.from_pretrained("jasonm4130/formrecap-gemma-2b-lora")