YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

CMPE346 - Assignment 02

Task

Fine-tuning a multilingual transformer for binary sentiment classification.

Model

  • Base model: xlm-roberta-base
  • Platform: Hugging Face Hub
  • Note: Due to time and hardware limitations, the base pretrained model was used without fine-tuning.

Files

  • main.py: Training pipeline (data load, preprocessing, training, saving)
  • model.py: Model class with Huggingface Trainer support
  • preprocessing.py: Tokenizer and dataset preparation
  • run_test.py: Evaluation script using Hugging Face pipeline
  • data/train.csv, data/valid.csv: Provided datasets

How to Run

python run_test.py --valid
Downloads last month
7
Safetensors
Model size
0.3B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support