Views
No views yet
roberta-baseTRT0emotion_trt_predictor_lr2e5_preval10_seed42.safetensors| Feature | MAE |
|---|---|
| TRT | 1.892526 |
1.gitattributes
2README.md
3model.py
4tokenizer.json
5tokenizer_config.json
6emotion_trt_predictor_lr2e5_preval10_seed42.safetensors1from huggingface_hub import snapshot_download
2from model import load_et_predictor, predict_word_trt
3
4model_dir = snapshot_download("YOUR_NAMESPACE/YOUR_REPO")
5model, tokenizer = load_et_predictor(model_dir)
6words, trt = predict_word_trt("This sentence is emotionally intense.", model, tokenizer)model.py is a self-contained inference wrapper matching the training architecture.