Audio-Text-to-Text
Transformers
Safetensors
Chinese
qwen2_audio
text2text-generation
telecom-fraud
audio-text
qwen2-audio
chinese
speech-understanding
supervised-fine-tuning
Instructions to use JimmyMa99/AntiFraud-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JimmyMa99/AntiFraud-SFT with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("JimmyMa99/AntiFraud-SFT") model = AutoModelForMultimodalLM.from_pretrained("JimmyMa99/AntiFraud-SFT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- zh
|
| 5 |
+
pipeline_tag: audio-text-to-text
|
| 6 |
+
library_name: transformers
|
| 7 |
+
tags:
|
| 8 |
+
- telecom-fraud
|
| 9 |
+
- audio-text
|
| 10 |
+
- qwen2-audio
|
| 11 |
+
- chinese
|
| 12 |
+
- speech-understanding
|
| 13 |
+
- supervised-fine-tuning
|
| 14 |
+
- arxiv:2503.24115
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# AntiFraud-SFT
|
| 18 |
+
|
| 19 |
+
AntiFraud-SFT is a supervised fine-tuned audio-text fraud detection model built on top of Qwen2-Audio for Chinese telecom fraud analysis.
|
| 20 |
+
|
| 21 |
+
## Overview
|
| 22 |
+
|
| 23 |
+
This model is trained on the TeleAntiFraud-28k dataset and is designed for:
|
| 24 |
+
|
| 25 |
+
- telecom fraud detection from call audio
|
| 26 |
+
- scene understanding from audio-text conversational inputs
|
| 27 |
+
- fraud-related reasoning over Chinese phone-call content
|
| 28 |
+
|
| 29 |
+
The current release is intended as a research model checkpoint for reproduction and further study.
|
| 30 |
+
|
| 31 |
+
## Related Resources
|
| 32 |
+
|
| 33 |
+
- TeleAntiFraud dataset repository: https://github.com/JimmyMa99/TeleAntiFraud
|
| 34 |
+
- TeleAntiFraud dataset on Hugging Face: https://huggingface.co/datasets/JimmyMa99/TeleAntiFraud
|
| 35 |
+
- TeleAntiFraud dataset on ModelScope: https://www.modelscope.cn/datasets/JimmyMa99/TeleAntiFraud
|
| 36 |
+
- TeleAntiFraud-28k paper: https://huggingface.co/papers/2503.24115
|
| 37 |
+
- SAFE-QAQ code repository: https://github.com/Control-derek/SAFE-QAQ
|
| 38 |
+
- SAFE-QAQ paper: https://arxiv.org/abs/2601.01392
|
| 39 |
+
|
| 40 |
+
## Model Details
|
| 41 |
+
|
| 42 |
+
- Base model: `Qwen/Qwen2-Audio-7B-Instruct`
|
| 43 |
+
- Architecture: `Qwen2AudioForConditionalGeneration`
|
| 44 |
+
- Framework: PyTorch
|
| 45 |
+
- Weight format: `safetensors`
|
| 46 |
+
- License: Apache License 2.0
|
| 47 |
+
|
| 48 |
+
## Usage
|
| 49 |
+
|
| 50 |
+
This repository contains the model weights and tokenizer / processor files required for inference with `transformers`.
|
| 51 |
+
|
| 52 |
+
Example loading code:
|
| 53 |
+
|
| 54 |
+
```python
|
| 55 |
+
from transformers import AutoProcessor, Qwen2AudioForConditionalGeneration
|
| 56 |
+
|
| 57 |
+
model_id = "JimmyMa99/AntiFraud-SFT"
|
| 58 |
+
|
| 59 |
+
processor = AutoProcessor.from_pretrained(model_id)
|
| 60 |
+
model = Qwen2AudioForConditionalGeneration.from_pretrained(
|
| 61 |
+
model_id,
|
| 62 |
+
device_map="auto",
|
| 63 |
+
)
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Notes
|
| 67 |
+
|
| 68 |
+
- This release focuses on model weights for research and benchmarking.
|
| 69 |
+
- For evaluation scripts and LM-as-judge utilities, see the `evaluation/` directory in the TeleAntiFraud repository.
|
| 70 |
+
- For the end-to-end reinforcement-learning follow-up paper, see SAFE-QAQ.
|
| 71 |
+
|
| 72 |
+
## Citation
|
| 73 |
+
|
| 74 |
+
```bibtex
|
| 75 |
+
@inproceedings{ma2025teleantifraud,
|
| 76 |
+
title={TeleAntiFraud-28k: An Audio-Text Slow-Thinking Dataset for Telecom Fraud Detection},
|
| 77 |
+
author={Ma, Zhiming and Wang, Peidong and Huang, Minhua and Wang, Jinpeng and Wu, Kai and Lv, Xiangzhao and Pang, Yachun and Yang, Yin and Tang, Wenjie and Kang, Yuchen},
|
| 78 |
+
booktitle={Proceedings of the 33rd ACM International Conference on Multimedia},
|
| 79 |
+
pages={5853--5862},
|
| 80 |
+
year={2025}
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
@article{wang2026safe,
|
| 84 |
+
title={SAFE-QAQ: End-to-End Slow-Thinking Audio-Text Fraud Detection via Reinforcement Learning},
|
| 85 |
+
author={Wang, Peidong and Ma, Zhiming and Dai, Xin and Liu, Yongkang and Feng, Shi and Yang, Xiaocui and Hu, Wenxing and Wang, Zhihao and Pan, Mingjun and Yuan, Li and others},
|
| 86 |
+
journal={arXiv preprint arXiv:2601.01392},
|
| 87 |
+
year={2026}
|
| 88 |
+
}
|
| 89 |
+
```
|