leduckhai/Sentiment-Reasoning

Model

3

stars

12

commits

3

repos using this model

1

linked in READMEs

Aug 29, 2025

updated

audio-text-to-text
endpoints_compatible
safetensors
transformers

README

Sentiment Reasoning for Healthcare

ACL 2025 Industry Track (Oral)

Khai-Nguyen Nguyen*, Khai Le-Duc*, Bach Phan Tat, Duy Le, Long Vo-Dang, Truong-Son Hy
*Equal contribution

Please press ⭐ button and/or cite papers if you feel helpful.

Sentiment Reasoning pipeline

  • Abstract: Transparency in AI healthcare decision-making is crucial. By incorporating rationales to explain reason for each predicted label, users could understand Large Language Models (LLMs)’s reasoning to make better decision. In this work, we introduce a new task - Sentiment Reasoning - for both speech and text modalities, and our proposed multimodal multitask framework and the world's largest multimodal sentiment analysis dataset. Sentiment Reasoning is an auxiliary task in sentiment analysis where the model predicts both the sentiment label and generates the rationale behind it based on the input transcript. Our study conducted on both human transcripts and Automatic Speech Recognition (ASR) transcripts shows that Sentiment Reasoning helps improve model transparency by providing rationale for model prediction with quality semantically comparable to humans while also improving model's classification performance (+2% increase in both accuracy and macro-F1) via rationale-augmented fine-tuning. Also, no significant difference in the semantic quality of generated rationales between human and ASR transcripts. All code, data (five languages - Vietnamese, English, Chinese, German, and French) and models are published online.

  • Citation: Please cite this paper: https://arxiv.org/abs/2407.21054

    @misc{Sentiment_Reasoning,
          title={Sentiment Reasoning for Healthcare}, 
          author={Khai-Nguyen Nguyen and Khai Le-Duc and Bach Phan Tat and Duy Le and Long Vo-Dang and Truong-Son Hy},
          year={2024},
          eprint={2407.21054},
          url={https://arxiv.org/abs/2407.21054}, 
    }
    

This repository contains scripts for automatic speech recognition (ASR) and sentiment reasoning using cascaded sequence-to-sequence (seq2seq) audio-language models. The provided scripts cover model preparation, training, inference, and evaluation processes, based on the dataset in the paper.

Dataset and Pre-trained Models:

🤗 HuggingFace Dataset: https://huggingface.co/datasets/leduckhai/Sentiment-Reasoning

🤗 HuggingFace Models: to be released soon!

Model NameDescriptionLink
Vietnamese_Vistral-7BLLM fine-tuned on Vietnamese setHugging Face models
English-LLMLLM fine-tuned on English setto be released soon!
French-LLMLLM fine-tuned on French setto be released soon!
German-LLMLLM fine-tuned on German setto be released soon!
Vietnamese-LLMLLM fine-tuned on Chinese setto be released soon!
Multilingual-LLMLLM fine-tuned on Multilingual set (5 languages)to be released soon!

Sample data format used in Sentiment Reasoning dataset

Use

We provide the simple generation process for using our model. For more details, you could refer to Github

Contact

Core developers:

Khai Le-Duc

University of Toronto, Canada
Email: duckhai.le@mail.utoronto.ca
GitHub: https://github.com/leduckhai

Khai-Nguyen Nguyen

College of William and Mary, USA
GitHub: https://github.com/nkn002
Hugging Face: https://huggingface.co/knguyennguyen

Contributors

leduckhai

10 commits

knguyennguyen

1 commits

nielsr

1 commits

leduckhai/Sentiment-Reasoning

Model

3

stars

12

commits

3

repos using this model

1

linked in READMEs

Aug 29, 2025

updated

audio-text-to-text
endpoints_compatible
safetensors
transformers

README

Sentiment Reasoning for Healthcare

ACL 2025 Industry Track (Oral)

Khai-Nguyen Nguyen*, Khai Le-Duc*, Bach Phan Tat, Duy Le, Long Vo-Dang, Truong-Son Hy
*Equal contribution

Please press ⭐ button and/or cite papers if you feel helpful.

Sentiment Reasoning pipeline

  • Abstract: Transparency in AI healthcare decision-making is crucial. By incorporating rationales to explain reason for each predicted label, users could understand Large Language Models (LLMs)’s reasoning to make better decision. In this work, we introduce a new task - Sentiment Reasoning - for both speech and text modalities, and our proposed multimodal multitask framework and the world's largest multimodal sentiment analysis dataset. Sentiment Reasoning is an auxiliary task in sentiment analysis where the model predicts both the sentiment label and generates the rationale behind it based on the input transcript. Our study conducted on both human transcripts and Automatic Speech Recognition (ASR) transcripts shows that Sentiment Reasoning helps improve model transparency by providing rationale for model prediction with quality semantically comparable to humans while also improving model's classification performance (+2% increase in both accuracy and macro-F1) via rationale-augmented fine-tuning. Also, no significant difference in the semantic quality of generated rationales between human and ASR transcripts. All code, data (five languages - Vietnamese, English, Chinese, German, and French) and models are published online.

  • Citation: Please cite this paper: https://arxiv.org/abs/2407.21054

    @misc{Sentiment_Reasoning,
          title={Sentiment Reasoning for Healthcare}, 
          author={Khai-Nguyen Nguyen and Khai Le-Duc and Bach Phan Tat and Duy Le and Long Vo-Dang and Truong-Son Hy},
          year={2024},
          eprint={2407.21054},
          url={https://arxiv.org/abs/2407.21054}, 
    }
    

This repository contains scripts for automatic speech recognition (ASR) and sentiment reasoning using cascaded sequence-to-sequence (seq2seq) audio-language models. The provided scripts cover model preparation, training, inference, and evaluation processes, based on the dataset in the paper.

Dataset and Pre-trained Models:

🤗 HuggingFace Dataset: https://huggingface.co/datasets/leduckhai/Sentiment-Reasoning

🤗 HuggingFace Models: to be released soon!

Model NameDescriptionLink
Vietnamese_Vistral-7BLLM fine-tuned on Vietnamese setHugging Face models
English-LLMLLM fine-tuned on English setto be released soon!
French-LLMLLM fine-tuned on French setto be released soon!
German-LLMLLM fine-tuned on German setto be released soon!
Vietnamese-LLMLLM fine-tuned on Chinese setto be released soon!
Multilingual-LLMLLM fine-tuned on Multilingual set (5 languages)to be released soon!

Sample data format used in Sentiment Reasoning dataset

Use

We provide the simple generation process for using our model. For more details, you could refer to Github

Contact

Core developers:

Khai Le-Duc

University of Toronto, Canada
Email: duckhai.le@mail.utoronto.ca
GitHub: https://github.com/leduckhai

Khai-Nguyen Nguyen

College of William and Mary, USA
GitHub: https://github.com/nkn002
Hugging Face: https://huggingface.co/knguyennguyen

Contributors

leduckhai

10 commits

knguyennguyen

1 commits

nielsr

1 commits