Views
No views yet
main.py.sentiment_roberta model directory within the repository for text emotion classification.id -> Chinese Emotion Name mapping from text-emotion.yaml.main.py: Entry script (run directly).sentiment_roberta/: Exported Transformers model directory (contains config.json, model.safetensors, tokenizer, etc.).text-emotion.yaml: Label mapping file.release-note.md: Release notes (used by GitHub Actions as the release body).torch.torch==2.10.0+cu128 / torchvision==0.25.0+cu128 built with CUDA 12.8).environment.yml.1conda env create -f environment.yml
2conda activate text-emotion-classificationpython main.pysentiment_roberta
sentiment_roberta/ exists in the root directory and contains files like config.json and model.safetensors.cuda if available; otherwise, it defaults to cpu.