Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
Dec20B bb0f8f15c9 | 1 year ago | |
---|---|---|
README.md | 1 year ago | |
infer.py | 1 year ago | |
infer_demo.png | 1 year ago | |
main.py | 1 year ago | |
utils.py | 1 year ago |
基于PaddleNLP完成的相声捧哏生成器。
相声中,捧哏的输出内容可以视为单轮对话生成任务。
通过收集相声数据集,微调UNIMO模型,最终模型可以输入逗哏,输出对应的捧哏。
AISTUDIO体验地址:https://aistudio.baidu.com/aistudio/projectdetail/3502884
项目的实现效果如下:
逗哏输入:吃个糖糕粘牙
环境要求:
paddlepaddle >= 2.2.2
paddlenlp >= 2.5.0
Python >=3.7
📖 使用说明
./data_crosstalk
目录下main.py
完成模型训练,模型保存为 ./unimo_result/model.pdparams
infer.py
进行体验参考资料:
基于PaddleNLP完成的相声捧哏生成器。相声中,捧哏的输出内容较为简单,可以视为简单的单轮对话生成任务。 通过收集相声数据集,微调UNIMO模型,最终模型可以根据逗哏的输入,输出对应的捧哏。
Python
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》