Downloads · 30 days
4
10% of all-time downloads
xiaodouzi/hunyuan-broadcast
hunyuan-broadcast is a text generation model from xiaodouzi. Use it when you need the model to write or continue text. It is set up for peft.
Downloads · 30 days
4
10% of all-time downloads
All-time downloads
41
Public
Repo size
184 MB
Likes
0
Public
Click a slice to open those files.
.safetensors168 MB · 91%
From the Hugging Face model README
Hunyuan-7B-Instruct 播客生成模型
模型简介
基于 Hunyuan-7B-Instruct 微调的中文播客对话生成系统,支持纯主题生成和 RAG 文档检索增强生成,可自动生成高质量的播客对话内容并合成音频。
模型架构
训练效果
核心功能
使用方法
方法一: 基础主题生成
python generate_podcast.py "人工智能在医疗诊断中的应用"
输出: out/podcast_<主题>.json
方法二: RAG 文档增强生成
python podcast_gen_rag.py --files paper.pdf slides.pptx
python podcast_gen_rag.py
--topic "AI在医疗领域的应用"
--files research.pdf data.docx
python podcast_gen_rag.py
--topic "大模型技术发展"
--files llm_paper.pdf
--audio
TTS 音频合成
export TENCENTCLOUD_SECRET_ID="your-id" export TENCENTCLOUD_SECRET_KEY="your-key"
python tts/tts_synthesis.py out/your_podcast.json
输出格式
{ "podcastTitle": "节目名称", "episodeTitle": "本期主题", "host": "主持人姓名", "guests": ["嘉宾姓名"], "topic_summary": "内容概述", "segments": [ { "segmentIndex": 1, "segmentTitle": "第一幕标题", "summary": "段落概述", "transcript": [ {"speaker": "host", "line": "对话内容"}, {"speaker": "guest", "line": "对话内容"} ] } ] }
性能指标
| 指标 | 数值 |
|---|---|
| 平均字数 | 2200-3700 字 |
| 音频时长 | 4-7 分钟 |
| 生成时间 | ~30-60 秒 (纯主题) / ~60-120 秒 (RAG) |
| RAG 检索精度 | Top-10 召回,MMR 多样化至 6 chunks |
| 事实提取数量 | 最多 12 条关键事实 |
技术特点