shibing624 / gpt2-dialogbot-base-chinese

huggingface.co
Total runs: 420
24-hour runs: 97
7-day runs: 103
30-day runs: 271
Model's Last Updated: March 19 2023
text-generation

Introduction of gpt2-dialogbot-base-chinese

Model Details of gpt2-dialogbot-base-chinese

GPT2 for Chinese Dialog Model(gpt2-dialogbot-base-chinese)

GPT2中文对话生成模型

gpt2-dialogbot-base-chinese evaluate couplet test data:

The overall performance of GPT2 on dialog test :

input_text target_text
今天你的病好点了吗? 好多了,谢谢你的关心

在常见中文闲聊数据集(包含小黄鸡语料、豆瓣语料、电视剧对白语料、贴吧论坛回帖语料、微博语料、PTT八卦语料、青云语料等)上,基本能语义正确的回答问题。

GPT2对话模型的网络结构(原生GPT2):

arch

Usage

本项目开源在对话文本生成项目: dialogbot ,可支持GPT2模型,通过如下命令调用:

Install package:

pip install -U dialogbot
>>> from dialogbot import GPTBot
>>> model = GPTBot("shibing624/gpt2-dialogbot-base-chinese")
>>> r = model.answer("今天你的病好点了吗?")
'好多了,谢谢你的关心'

模型文件组成:

gpt2-dialogbot-base-chinese
    ├── config.json
    ├── pytorch_model.bin
    └── vocab.txt
训练数据集
中文对话数据集
闲聊语料分享
中文闲聊语料 数据集地址 语料描述
常见中文闲聊 chinese_chatbot_corpus 包含小黄鸡语料、豆瓣语料、电视剧对白语料、贴吧论坛回帖语料、微博语料、PTT八卦语料、青云语料等
50w中文闲聊语料 百度网盘【提取码:4g5e】 GoogleDrive 包含50w个多轮对话的原始语料、预处理数据
100w中文闲聊语料 百度网盘【提取码:s908】 GoogleDrive 包含100w个多轮对话的原始语料、预处理数据

数据格式:

谢谢你所做的一切
你开心就好
开心
嗯因为你的心里只有学习
某某某,还有你
这个某某某用的好

你们宿舍都是这么厉害的人吗
眼睛特别搞笑这土也不好捏但就是觉得挺可爱
特别可爱啊

如果需要训练GPT2模型,请参考 https://github.com/shibing624/dialogbot

Citation

如果你在研究中使用了dialogbot,请按如下格式引用:

@software{dialogbot,
  author = {Xu Ming},
  title = {dialogbot: Dialogue Model Technology Tool},
  year = {2021},
  url = {https://github.com/shibing624/dialogbot},
}

Runs of shibing624 gpt2-dialogbot-base-chinese on huggingface.co

420
Total runs
97
24-hour runs
97
3-day runs
103
7-day runs
271
30-day runs

More Information About gpt2-dialogbot-base-chinese huggingface.co Model

More gpt2-dialogbot-base-chinese license Visit here:

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

gpt2-dialogbot-base-chinese huggingface.co

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

gpt2-dialogbot-base-chinese huggingface.co Url

https://huggingface.co/shibing624/gpt2-dialogbot-base-chinese

shibing624 gpt2-dialogbot-base-chinese online free

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

shibing624 gpt2-dialogbot-base-chinese online free url in huggingface.co:

https://huggingface.co/shibing624/gpt2-dialogbot-base-chinese

gpt2-dialogbot-base-chinese install

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

gpt2-dialogbot-base-chinese install url in huggingface.co:

https://huggingface.co/shibing624/gpt2-dialogbot-base-chinese

Url of gpt2-dialogbot-base-chinese

gpt2-dialogbot-base-chinese huggingface.co Url

Provider of gpt2-dialogbot-base-chinese huggingface.co

shibing624
ORGANIZATIONS

Other API from shibing624

huggingface.co

Total runs: 68
Run Growth: -16
Growth Rate: -22.86%
Updated: February 19 2024