Skip to content

gaurisharan/SmolLM2-FT-MyDataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

base_model library_name model_name datasets tags
HuggingFaceTB/SmolLM2-135M
transformers
SmolLM2-FT-MyDataset
HuggingFaceTB/smoltalk
generated_from_trainer, smol-course, module_1, trl, sft

Model Card for SmolLM2-FT-MyDataset

image

Quick start

from transformers import pipeline
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="gauri-sharan/SmolLM2-FT-MyDataset", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])

Training procedure

This model was trained with SFT.

Framework versions

  • TRL: 0.13.0
  • Transformers: 4.48.1
  • Pytorch: 2.5.0
  • Datasets: 3.0.1
  • Tokenizers: 0.21.0

Citations

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édec},
	year         = 2020,
	journal      = {GitHub repository},
	publisher    = {GitHub},
	howpublished = {\url{https://github.com/huggingface/trl}}
}

About

Supervised Finetuning on SmolLM model using the smalltalk dataset.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published