Back to all models
text-generation mask_token:
Query this model
πŸ”₯ This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint  

⚑️ Upgrade your account to access the Inference API

Share Copied link to clipboard

Monthly model downloads

zhangxy-2019/cunlp-gpt2-dialog zhangxy-2019/cunlp-gpt2-dialog
last 30 days



Contributed by

zhangxy-2019 ZHANG Xiaoying
2 models

How to use this model directly from the πŸ€—/transformers library:

Copy to clipboard
from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("zhangxy-2019/cunlp-gpt2-dialog") model = AutoModelWithLMHead.from_pretrained("zhangxy-2019/cunlp-gpt2-dialog")