Downloads · 30 days
9
15% of all-time downloads
melanchthon19/mews-aes-regressor-base
mews-aes-regressor-base is a machine learning model from melanchthon19. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a DistilBERT-based regression model with a lightweight feed-forward head trained for essay scoring.
Downloads · 30 days
9
15% of all-time downloads
All-time downloads
59
Public
Parameters
66.5M
266 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors266 MB · 100%
From the Hugging Face model README
This repository contains a DistilBERT-based regression model with a lightweight feed-forward head trained for essay scoring.
The model combines a frozen distilbert-base-uncased encoder with a two-layer MLP regression head.
It was trained for 1 epoch purely for testing and demonstration purposes — not intended for production or research use.
from transformers import AutoTokenizer, AutoModel
model_name = "melanchthon19/mews-aes-regressor-base"
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModel.from_pretrained(model_name, trust_remote_code=True)
text = "Artificial intelligence models are transforming how we write and analyze essays."
inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True)
pred = model(**inputs)
print(pred.item())