Downloads · 30 days
12
16% of all-time downloads
faizack/gpt2-chat-ft
gpt2-chat-ft is a text generation model from faizack. Use it when you need the model to write or continue text. It is set up for transformers.
This is a fine-tuned version of GPT-2 adapted for chat-style generation. It was trained on conversational data to make GPT-2 behave more like ChatGPT, giving more interactive, coherent, and context-aware responses.
Downloads · 30 days
12
16% of all-time downloads
All-time downloads
77
Public
Parameters
124M
498 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
This is a fine-tuned version of GPT-2 adapted for chat-style generation.
It was trained on conversational data to make GPT-2 behave more like ChatGPT, giving more interactive, coherent, and context-aware responses.
from transformers import pipeline
chatbot = pipeline("text-generation", model="faizack/gpt2-chat-ft")
prompt = "Hello, how are you?"
response = chatbot(prompt, max_new_tokens=100, do_sample=True, temperature=0.7)
print(response[0]["generated_text"])
gpt2If you use this model, please cite GPT-2 and this fine-tuned version:
BibTeX:
@misc{faizack2025gpt2chat,
author = {Faijan Khan},
title = {GPT2-Chat Fine-tuned Model},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/faizack/gpt2-chat-ft}}
}