Downloads · 30 days
7
2% of all-time downloads
bsu-slim/emro-cozmo
emro-cozmo is a machine learning model from bsu-slim. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Cozmo-EMRO is a RoBERTa-based transformer model fine-tuned specifically for classifying emotions from behavioral descriptions generated by the Cozmo robot. The model classifies textual descriptions of robot behaviors…
Downloads · 30 days
7
2% of all-time downloads
All-time downloads
322
Public
Parameters
125M
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin499 MB · 50%
From the Hugging Face model README
Cozmo-EMRO is a RoBERTa-based transformer model fine-tuned specifically for classifying emotions from behavioral descriptions generated by the Cozmo robot. The model classifies textual descriptions of robot behaviors into one of six emotion categories.
Base Model: RoBERTa-base Task: Emotion Classification (Text Classification) Inputs: A textual description of Cozmo robot behaviors Outputs: One of six grouped emotion labels Number of Emotion Classes: 6
Development code: https://github.com/bsu-slim/emro-gred-cozmo
The model classifies each input behavior into one of the following six grouped emotion categories:
pytorch_model.bin – Fine-tuned model weightsconfig.json – Model architecture and label mappingvocab.json, merges.txt, tokenizer_config.json, special_tokens_map.json – Tokenizer filescozmo_emro.py – Custom model class definition (RobertaClass)You need to use the provided custom model class RobertaClass defined in cozmo_emro.py to load the model:
import torch
from transformers import RobertaTokenizer, RobertaConfig
from cozmo_emro import RobertaClass
model_name = "bsu-slim/emro-cozmo"
# Load tokenizer and config
tokenizer = RobertaTokenizer.from_pretrained(model_name)
config = RobertaConfig.from_pretrained(model_name)
# Load model
model = RobertaClass(num_classes=config.num_labels)
model.load_state_dict(torch.load("pytorch_model.bin"))
Citation
@INPROCEEDINGS{11246523,
author={Baral, Rista and Grenz, Bethany and Kennington, Casey},
booktitle={2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
title={Recognizing and Generating Novel Emotional Behaviors on Two Robotic Platforms},
year={2025},
volume={},
number={},
pages={21503-21510},
keywords={Training;Emotion recognition;Behavioral sciences;Robots;Intelligent robots},
doi={10.1109/IROS60139.2025.11246523}}