ONNX Model Zoo

ColeD0/DefineIt

By ColeD0 · ↓ 0 · ♥ 0 · Updated 2025-05-14

What's in this repo

This page lists the files in ColeD0/DefineIt, including model.onnx.

  • 1 ONNX models (.onnx files)
  • 21 files, including 14 .json, 2 .txt, 1 .md, 1 .safetensors, 1 .onnx, 1 .bin
  • Last updated 2025-05-14

ONNX files

File Size Download
onnx/model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

Model Card for outputs

This model is a fine-tuned version of HuggingFaceTB/SmolLM2-135M-Instruct. It has been trained using TRL.

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="ColeD0/DefineIt", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])

Training procedure

Visualize in Weights & Biases

This model was trained with SFT.

Framework versions

  • TRL: 0.17.0
  • Transformers: 4.51.3
  • Pytorch: 2.6.0+cu124
  • Datasets: 3.5.1
  • Tokenizers: 0.21.1

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

Model info

text-generation transformers
transformers onnx safetensors llama text-generation generated_from_trainer trl sft conversational base_model:HuggingFaceTB/SmolLM2-135M-Instruct base_model:quantized:HuggingFaceTB/SmolLM2-135M-Instruct text-generation-inference
↓ 0 ♥ 0

Created: 2025-05-03

Updated: 2025-05-14

View on Hugging Face

Files (21)

.gitattributes
README.md
added_tokens.json
config.json
generation_config.json
merges.txt
model.safetensors
onnx/added_tokens.json
onnx/config.json
onnx/generation_config.json
onnx/merges.txt
onnx/model.onnx ONNX
onnx/special_tokens_map.json
onnx/tokenizer.json
onnx/tokenizer_config.json
onnx/vocab.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
training_args.bin
vocab.json

Related models