Instructions to use ICTNLP/FreezeEmpath with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ICTNLP/FreezeEmpath with Transformers:
# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("ICTNLP/FreezeEmpath", device_map="auto") - Notebooks
- Google Colab
- Kaggle
FreezeEmpath
Pretrained model for FreezeEmpath: Efficient Training for Empathetic Spoken Chatbots with Frozen LLMs, Findings of ACL 2026, by Yun Hong, Yan Zhou, and Yang Feng.
Paper · Code and installation · Example responses
FreezeEmpath accepts Chinese or English speech and generates empathetic text and speech-token responses. It combines Qwen2.5-7B-Instruct with a Whisper-large-v3 speech encoder, a semantic adapter, an emotion extractor, and a speech decoder. The base LLM was kept frozen during training.
Usage
This checkpoint requires the custom model classes in the GitHub repository; a bare Transformers pipeline() call is not supported. Install the pinned dependencies and use:
python scripts/download_models.py
CUDA_VISIBLE_DEVICES=0 bash empathetic_dialogue.sh
Download this entire repository, including all four weight shards, the main tokenizer, and tts_tokenizer/. The downloader also obtains Whisper-large-v3 and the separate IndexTTS2-derived waveform decoder.
The supported example uses Linux, Python 3.10, CUDA/BF16, and Transformers 4.43.4. It handles single-turn audio, one sample at a time, and pads/trims input to 30 seconds. No transcript or emotion annotation is required. See the GitHub examples for measured hardware usage.
License and attribution
This model repository retains its Apache-2.0 license declaration. The separately downloaded waveform decoder has its own upstream license and is not covered by this declaration. See the GitHub third-party notices and the source model cards for Qwen and Whisper.
- Downloads last month
- 19