Libra-Emo
收藏资源简介:
Libra-Emo是一个全面的视频情感识别数据集,包含来自电视剧的剪辑片段,以及相应的字幕和情感标签。数据集涵盖了13种情感类别,包括兴奋、快乐、惊讶、惊奇、中性、讽刺、厌恶、挫败、愤怒、僧恨、恐惧、悲伤和绝望。每个样本包括一个视频片段、相应的字幕、一个情感标签和该标签的分配解释。
Libra-Emo is a comprehensive video emotion recognition dataset, which contains clipped segments from TV dramas along with their corresponding subtitles and emotion labels. The dataset covers 13 emotion categories, including excitement, happiness, surprise, amazement, neutral, sarcasm, disgust, frustration, anger, hatred, fear, sadness, and despair. Each sample includes a video segment, its corresponding subtitle, an emotion label, and an explanation for the assignment of that label.
Libra-Emo 数据集概述
基本信息
- 名称: Libra-Emo
- 语言: 英文 (en)
- 许可协议: CC-BY-4.0
- 多语言性: 单语言 (monolingual)
- 数据规模: 10K<n<100K
- 创建方式: 众包 (crowdsourced) 和机器生成 (machine-generated)
- 来源: 原始数据 (original)
- 标签: 视频 (video), 情绪 (emotion)
数据集内容
- 任务类别: 视频分类 (video-classification)
- 特征:
- video: 字符串 (string)
- subtitle: 字符串 (string)
- label: 字符串 (string)
- explanation: 字符串 (string)
- 数据分割:
- train: 35,899 个样本
- test: 635 个样本
数据集描述
- 内容: 包含来自电视节目的视频片段,配有字幕和情绪标签。
- 情绪类别: 13 种
- excited
- happy
- amazed
- surprised
- neutral
- ironic
- disgusted
- frustrated
- angry
- hateful
- fearful
- sad
- despairful
- 每个样本包含:
- 视频片段
- 对应字幕
- 情绪标签
- 标签分配的解释
下载与提取
-
下载方法: 使用 Git LFS bash git lfs install git clone https://huggingface.co/datasets/caskcsg/Libra-Emo
-
提取方法: 使用
extract_tar_files.py脚本 bash python extract_tar_files.py --dir /path/to/tar/files [--target /path/to/extract] [--keep-tar]
评估
预测
-
脚本:
predict.pybash python predict.py --model_path /path/to/model --data_path /path/to/test.json --video_root /path/to/videos --output_root /path/to/output --max_tokens 10 -
多GPU支持: 通过
--machine_num和--machine_rank参数实现。
评估
-
脚本:
evaluate.pybash python evaluate.py --predict_root /path/to/predictions -
评估指标:
- 总体准确率
- 总体宏 F1 分数
- 总体加权 F1 分数
- 负面情绪准确率
- 负面情绪宏 F1 分数
- 负面情绪加权 F1 分数




