Misty-EMRO: Emotion Recognition Model from Robot Behaviors for Misty Robot
This is a RoBERTa-based text classification model fine-tuned specifically to recognize emotions from robot-generated behaviors. It is trained on data collected from the Misty robot and is capable of classifying textual descriptions of robot actions into one of six emotion categories.
misty_emro.py – Custom model class definition (RobertaClass)
How to Use
You need to use the provided custom model class RobertaClass defined in misty_emro.py to load the model:
python
1import torch
2from transformers import RobertaTokenizer, RobertaConfig
3from misty_emro import RobertaClass
45model_name ="bsu-slim/emro-misty"# can be replaced with the repo name67# Load configuration and tokenizer8config = RobertaConfig.from_pretrained(model_name)9tokenizer = RobertaTokenizer.from_pretrained(model_name)1011# Load model12model = RobertaClass(num_classes=config.num_labels)13model.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}}