Downloads · 30 days
0
jnmrr/img_test_smol
img_test_smol is a machine learning model from jnmrr. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
This model is a fine-tuned version of ds4sd/SmolDocling-256M-preview. It has been trained using TRL.
Downloads · 30 days
0
Access
Public
Updated Jul 16, 2025
Repo size
21.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors11 MB · 69%
From the Hugging Face model README
This model is a fine-tuned version of ds4sd/SmolDocling-256M-preview. It has been trained using TRL.
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="jnmrr/img_test_smol", 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}}
}
| Metric | Value |
|---|---|
| num_tokens | 2713392.0000 |
| train_samples_per_second | 1.0380 |
| total_flos | 4218509368009728.0000 |
| eval_mean_token_accuracy | 0.9305 |
| train_steps_per_second | 0.0330 |
| train_runtime | 1650.6545 |
| eval_loss | 0.2482 |
| train_loss | 0.2751 |
| eval_steps_per_second | 0.4510 |
| eval_num_tokens | 2518937.0000 |
| mean_token_accuracy | 0.9304 |
| learning_rate | 0.0001 |
| grad_norm | 0.1802 |
| epoch | 3.0000 |
| eval_samples_per_second | 1.7870 |
| eval_runtime | 175.1086 |
| loss | 0.2596 |