rafaelwt/beto-amazon-reviews-es-3clases
032
BETO fine-tuned for 3-class Spanish customer sentiment
Fine-tuned version of dccuchile/bert-base-spanish-wwm-cased (BETO) for classifying short Spanish customer texts into three business classes: negativo, neutro, positivo. Built for Laboratorio 4 (Módulo 10, Natural Language Processing) by Grupo 5.
Labels
Training
- Dataset: full
trainsplit ofSetFit/amazon_reviews_multi_es(200,000 reviews); officialvalidation(5,000) andtest(5,000). - Max length 128 WordPiece tokens, batch size 32, learning rate 2e-5, weight decay 0.01, 10% warmup, fp16, 3 epochs with evaluation per epoch and best checkpoint by macro F1 (epoch 2).
- Hardware: single NVIDIA GeForce RTX 4060 (8 GB), 38.6 min.
Test results (5,000 reviews)
Most errors involve the neutro class. Sarcastic texts tend to be classified as positivo.
Usage
from transformers import pipeline
clf = pipeline("text-classification", model="rafaelwt/beto-amazon-reviews-es-3clases")
clf("Me cobraron un monto que no corresponde en mi factura.")