Downloads · 30 days
9
15% of all-time downloads
ahmadfaraz196/sft_output
sft_output is a text generation model from ahmadfaraz196. Use it when you need the model to write or continue text. It is set up for transformers.
This model is a fine-tuned version of HuggingFaceTB/SmolLM-360M. It has been trained using TRL.
Downloads · 30 days
9
15% of all-time downloads
All-time downloads
62
Public
Parameters
362M
1.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.4 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of HuggingFaceTB/SmolLM-360M. It has been trained using TRL.
from transformers import pipeline
question = "Late night study session at the café on 15th, Dec 2024 at 9:00 pm for 2 hours."
generator = pipeline("text-generation", model="ahmadfaraz196/sft_output", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
This model was trained with SFT.
Cite TRL as:
@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{\'e}dec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{https://github.com/huggingface/trl}}
}