Downloads · 30 days
18
7% of all-time downloads
khanhrill/HistoryGPT
HistoryGPT is a machine learning model from khanhrill. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Vietnamese History AI Assistant fine-tuned with RLHF (PPO).
Downloads · 30 days
18
7% of all-time downloads
All-time downloads
274
Public
Parameters
4B
56.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors32.2 GB · 80%
From the Hugging Face model README
Vietnamese History AI Assistant fine-tuned with RLHF (PPO).
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("khanhrill/HistoryGPT")
tokenizer = AutoTokenizer.from_pretrained("khanhrill/HistoryGPT")
prompt = "Hãy kể về lịch sử Việt Nam"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0]))
This model was trained using an automated RLHF pipeline: