Instructions to use nk0709/tiny-agent-upi-function-calling-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nk0709/tiny-agent-upi-function-calling-v0 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nk0709/tiny-agent-upi-function-calling-v0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
|
Download README.md from nk0709/tiny-agent-upi-function-calling-v0: direct link, hf CLI and curl.
- Browser
- Download file 1.55 kB
-
https://huggingface.co/nk0709/tiny-agent-upi-function-calling-v0/resolve/main/README.md
- Command line
-
hf download hf://nk0709/tiny-agent-upi-function-calling-v0/README.md
-
curl -L -o README.md https://huggingface.co/nk0709/tiny-agent-upi-function-calling-v0/resolve/main/README.md
1.55 kB
metadata
base_model: driaforall/Tiny-Agent-a-1.5B
library_name: transformers
model_name: tiny-agent-upi-function-calling-v0
tags:
- generated_from_trainer
- trl
- sft
- unsloth
licence: license
Model Card for tiny-agent-upi-function-calling-v0
This model is a fine-tuned version of driaforall/Tiny-Agent-a-1.5B. 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="nk0709/tiny-agent-upi-function-calling-v0", 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.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}}
}