ASLP-lab / C2SER-LLM

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: March 03 2025

Introduction of C2SER-LLM

Model Details of C2SER-LLM

github: C2SER

Introduction

As presented in our paper "Steering Language Model to Stable Speech Emotion Recognition via Contextual Perception and Chain of Thought". C 2 SER employs a CoT training approach to incentivize reasoning capability. This approach decomposes the SER task into sequential steps: first perceiving speech content and speaking style, followed by emotion inference, with the assistance of prior context. This structured method imitates human thinking and reduces the possibility of hallucinations. To further enhance stability and prevent error propagation, especially in longer thought chains, C 2 SER introduces self-distillation, transferring knowledge from explicit to implicit CoT.

Installation

To install the project dependencies, use the following command:

cd C2SER-llm
pip install -r requirements.txt
Pretrained Model

To run the code, you need to download two files. The first file is Qwen-7B . After downloading, replace the llm_path in ./C2SER-llm/config.yaml with your download path. The second file is the pretrained model [C2SER_model.pt]. After downloading, replace the checkpoint_path in ./C2SER-llm/infer_runtime.py with the path to your downloaded file.

Inference

We provide three input parameters in ./C2SER-llm/infer_runtime.py :

  • --input_wav_path : Path to the test WAV file.
  • --ssl_vector_path : Path to the utterance-level feature.
  • --input_prompt : Prompts for stage1 or stage2

After extracting the utterance-level features of the audio file using Emotion2Vec-S, you need to replace input_wav_path and ssl_vector_path in ./C2SER-llm/infer_runtime.py with the paths to your test audio file and extracted utterance-level features, respectively. You can also control the output of Stage1 and Stage2 by adjusting input_prompt . The prompt information is listed in ./C2SER-llm/prompt_config.yaml . Then, you can directly perform inference by running the following code.

python C2SER-llm/infer_runtime.py
Results

We have provided an example result for the file ./Emotion2Vec-S/test_wav/vo_EQAST002_1_paimon_07.wav

If you use the Stage 1 prompt: Please describe the speaking style, content, and the speaker's emotional state of this speech. ,the output will be:

说话者以缓慢的速度、高昂的语调和中等音量的声音说道:“不知道艾德林小姐有没有给我们准备好吃的点心呢。”通过分析语音特征,推测情绪为快乐,透露出一种期待和兴奋的喜悦。

If you use the Stage 2 prompt: Please consider the speaking style, content, and directly provide the speaker's emotion in this speech. ,the output will be:

这条语音的的情感为高兴

Runs of ASLP-lab C2SER-LLM on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About C2SER-LLM huggingface.co Model

More C2SER-LLM license Visit here:

https://choosealicense.com/licenses/apache-2.0

C2SER-LLM huggingface.co

C2SER-LLM huggingface.co is an AI model on huggingface.co that provides C2SER-LLM's model effect (), which can be used instantly with this ASLP-lab C2SER-LLM model. huggingface.co supports a free trial of the C2SER-LLM model, and also provides paid use of the C2SER-LLM. Support call C2SER-LLM model through api, including Node.js, Python, http.

ASLP-lab C2SER-LLM online free

C2SER-LLM huggingface.co is an online trial and call api platform, which integrates C2SER-LLM's modeling effects, including api services, and provides a free online trial of C2SER-LLM, you can try C2SER-LLM online for free by clicking the link below.

ASLP-lab C2SER-LLM online free url in huggingface.co:

https://huggingface.co/ASLP-lab/C2SER-LLM

C2SER-LLM install

C2SER-LLM is an open source model from GitHub that offers a free installation service, and any user can find C2SER-LLM on GitHub to install. At the same time, huggingface.co provides the effect of C2SER-LLM install, users can directly use C2SER-LLM installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

C2SER-LLM install url in huggingface.co:

https://huggingface.co/ASLP-lab/C2SER-LLM

Url of C2SER-LLM

C2SER-LLM huggingface.co Url

Provider of C2SER-LLM huggingface.co

ASLP-lab
ORGANIZATIONS

Other API from ASLP-lab

huggingface.co

Total runs: 1.5K
Run Growth: 72
Growth Rate: 4.68%
Updated:November 09 2025
huggingface.co

Total runs: 471
Run Growth: 140
Growth Rate: 29.72%
Updated:May 14 2026
huggingface.co

Total runs: 117
Run Growth: -6
Growth Rate: -5.13%
Updated:October 11 2025
huggingface.co

Total runs: 61
Run Growth: 24
Growth Rate: 39.34%
Updated:December 09 2025
huggingface.co

Total runs: 28
Run Growth: -55
Growth Rate: -196.43%
Updated:June 16 2026
huggingface.co

Total runs: 23
Run Growth: 0
Growth Rate: 0.00%
Updated:October 16 2025
huggingface.co

Total runs: 21
Run Growth: 7
Growth Rate: 33.33%
Updated:November 03 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 24 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 17 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 24 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 29 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 17 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 14 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 11 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 03 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 09 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 12 2025