Sentiment Analysis for Text, Image and Video using Transformer Models
Overview
Implements sentiment analysis using huggingface https://huggingface.co transformer zero-shot classification model pipelines for text and image data. The default text pipeline is Cross-Encoder's DistilRoBERTa https://huggingface.co/cross-encoder/nli-distilroberta-base and default image/video pipeline is Open AI's CLIP https://huggingface.co/openai/clip-vit-base-patch32. All other zero-shot classification model pipelines can be implemented using their model name from https://huggingface.co/models?pipeline_tag=zero-shot-classification.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 57 (1 internal)includes a package overview page
- Examples that run
- 52%16 run in a plain check (1 of them under a condition) · 15 never run
- Exported functions with examples
- 68%
- Documented parameters
- 99%
- Return-value docs
- 90%
- Help pages citing references
- 16%
Downloads
Dependencies
Installing transforEmotion adds 83 packages (44 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.
Code & Tests
Datasets
People & History
Previously maintained by Alexander Christensen (0.0.1 to 0.1.1).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.7Latest2026-01-08 · current release · diff ↗ ·
added 26 exports
.init_builtin_models, add_vision_model, as_rag_table, check_findingemo_quality, download_findingemo_data, evaluate_emotions, get_vision_model_config, image_scores_dir, is_vision_model_registered, list_vision_models, load_findingemo_annotations, map_discrete_to_vad, map_to_emo8, parse_rag_json, prepare_findingemo_evaluation, rag_sentemo, register_retriever, register_vision_model, remove_vision_model, setup_modules, setup_popular_models, show_vision_models, te_cleanup_default_venv, vad_scores, validate_rag_json, validate_rag_predictions - 0.1.6
- RR 4.5.0 released · 2025-04-11
- 0.1.52024-08-20 · diff ↗ ·
added 5 exports
delete_transformer, rag, sentence_similarity, setup_gpu_modules, setup_modules - RR 4.4.0 released · 2024-04-24
- 0.1.42024-01-09 · diff ↗ ·
removed 1 export
setup_modulesadded 5 exports
dlo_dynamics, image_scores, plot_sim_emotions, simulate_video, video_scores - RR 4.3.0 released · 2023-04-21
- 0.1.1
- RR 4.2.0 released · 2022-04-22
- 0.1.0
- 0.0.12022-03-01
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-03-01
- Total releases
- 7 / 4 yrs
- License
- GPL (>= 3.0)
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.2 MB / 5 files
- Download size
- 3.4 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("transforEmotion")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.31234/osf.io/hf3g7.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.