CoolFace
Modelpublic

maxwell60701/genshin-impact-role-chat-model

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes7downloads
Model Card

Model Card for genshin-impact-role-chat-model

This model is a fine-tuned version of None on the maxwell60701/genshin-impact-role-chat-model dataset. It has been trained using TRL.

Quick start

python
from transformers import pipeline
import torch
question = "钟离什么性别"
generator = pipeline("text-generation", model="maxwell60701/genshin-impact-role-chat-model", device="cuda",torch_dtype=torch.float16)
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False,temperature=0.1,
    top_k=10,
    top_p=0.1)[0]
print(output["generated_text"])

Training procedure

This model was trained with SFT.

Framework versions

  • —TRL: 0.16.0
  • —Transformers: 4.46.3
  • —Pytorch: 2.6.0+cu126
  • —Datasets: 3.4.1
  • —Tokenizers: 0.20.3

Citations

Cite TRL as:

bibtex
@misc{vonwerra2022trl,
	title        = {{TRL: Transformer Reinforcement Learning}},
	author       = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou茅dec},
	year         = 2020,
	journal      = {GitHub repository},
	publisher    = {GitHub},
	howpublished = {\url{https://github.com/huggingface/trl}}
}