Downloads · 30 days
126
100% of all-time downloads
reuel-ly/mini-artificer
mini-artificer is a machine learning model from reuel-ly. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is under active development. Current checkpoints do not reliably produce correct function call format. See experiment tags for specific versions. Main branch will be updated when a verified working model is…
Downloads · 30 days
126
100% of all-time downloads
All-time downloads
126
Public
Repo size
226 MB
Likes
1
Public
Click a slice to open those files.
.json3.5 MB · 73%
From the Hugging Face model README
This model is under active development. Current checkpoints do not reliably produce correct function call format. See experiment tags for specific versions. Main branch will be updated when a verified working model is available.
base_model: HuggingFaceTB/SmolLM2-135M-Instruct library_name: peft model_name: smol-lora tags:
This model is a fine-tuned version of HuggingFaceTB/SmolLM2-135M-Instruct. 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="None", 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:
@software{vonwerra2020trl,
title = {{TRL: Transformers Reinforcement Learning}},
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
license = {Apache-2.0},
url = {https://github.com/huggingface/trl},
year = {2020}
}