Downloads · 30 days
0
carlosvillu/gemma3-270m-teacher-evaluation
gemma3-270m-teacher-evaluation is a text generation model from carlosvillu. Use it when you need the model to write or continue text. It is set up for unsloth.
This model is a fine-tuned version of unsloth/gemma-3-270m-it specifically trained to evaluate student texts like a teacher. It can assess educational texts and provide numerical evaluations on a scale of 0-5, similar…
Downloads · 30 days
0
Access
Public
Updated Aug 16, 2025
Repo size
160 MB
Likes
0
Public
Click a slice to open those files.
.safetensors122 MB · 76%
From the Hugging Face model README
This model is a fine-tuned version of unsloth/gemma-3-270m-it specifically trained to evaluate student texts like a teacher. It can assess educational texts and provide numerical evaluations on a scale of 0-5, similar to how a teacher would grade student work.
The model achieved excellent generalization with minimal overfitting:
from unsloth import FastModel
from transformers import AutoTokenizer
# Load the model
model, tokenizer = FastModel.from_pretrained("carlosvillu/gemma3-270m-teacher-evaluation")
# Example usage
prompt = '''<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Eres una profesora de primera, tu tarea es la de evaluar los textos que está escribiendo tus alumnas como respuesta a una pregunta que le has formulado.
La evaluación, tiene que ser numérica y solo puedes ponerle una nota de 0 a 5.
<|eot_id|><|start_header_id|>user<|end_header_id|>
Un alumno del curso 2º de educación secundaria de cataluña ha respondido a la consigna `Describe tu ciudad` con:
Mi ciudad es muy bonita. Tiene muchas casas y parques. Me gusta vivir aquí porque hay tiendas y restaurantes.
<|eot_id|><|start_header_id|>assistant<|end_header_id|>'''
# Generate evaluation
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
The model evaluates texts on a scale of 0-5:
Fine-tuned by carlosvillu using Unsloth for efficient training.
Training date: 2025-08-17