Downloads · 30 days
15
33% of all-time downloads
Monipoo0904/MVP-A2
MVP-A2 is a text classification model from Monipoo0904. Use it when you need a label for a piece of text.
Classifies a MyVillage activity into one of seven types based on its title, description, and instructions.
Downloads · 30 days
15
33% of all-time downloads
All-time downloads
46
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
Classifies a MyVillage activity into one of seven types based on its title, description, and instructions.
Standardizes activity metadata, supports activity routing/evaluation, and gives the activity-generation ecosystem a lightweight classifier instead of relying on a large model for every decision. Supports A1 Activity Generation and downstream activity analytics.
distilbert-base-uncased, fine-tuned for sequence classification with 7 labels.
Supervised fine-tuning, 4 epochs, learning rate 2e-05, batch size 16, deterministic 80/10/10 train/validation/test split (seed=42).
Real labeled MyVillage activities pulled via the MCP activity_list tool (title, description,
instructions, activityType), with no personally identifying information included. [FILL IN real row
count and pull date once trained on real data -- this run used a small hand-written fallback set and
should not be treated as production-ready.]
Majority-class baseline: 14.3% accuracy. Fine-tuned test accuracy / macro-F1: see notebook output above (fill in exact numbers here before publishing). See the confusion matrix and edge-case behavior tests in the training notebook for qualitative results.
from transformers import AutoModelForSequenceClassification, AutoTokenizer
import torch
model = AutoModelForSequenceClassification.from_pretrained("Monipoo0904/MVP-A2")
tokenizer = AutoTokenizer.from_pretrained("Monipoo0904/MVP-A2")
text = "Teach a younger learner a new skill\n\nPrepare a short lesson and teach it to someone else."
inputs = tokenizer(text, truncation=True, padding=True, return_tensors="pt")
logits = model(**inputs).logits
predicted_label = model.config.id2label[logits.argmax(dim=-1).item()]
Training data should contain only activity title/description/instructions -- no villager names, IDs, or other personal identifiers. Verify this before publishing the dataset alongside the model, if doing so.