Run this model with HF Jobs

Run retrain-pipelines/function_caller_lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/retrain-pipelines/function_caller_lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/retrain-pipelines/function_caller_lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/retrain-pipelines/function_caller_lora. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/retrain-pipelines/function_caller_lora. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from
Docker Model Runner
docker model run hf.co/retrain-pipelines/function_caller_lora
Quick Links
retrain-pipelines Function Caller
version 0.32 - 2026-02-21 01:24:19 UTC (retraining source-code | pipeline-card)

Training dataset :

  • retrain-pipelines/func_calls_ds v0.31 (70f9a28 - 2026-02-20 18:34:18 UTC)
     

Base model :

The herein LoRa adapter can for instance be used as follows :

from transformers import AutoModelForCausalLM, AutoTokenizer
from torch import device, cuda

repo_id = "retrain-pipelines/function_caller_lora"
revision = "<model_revision_commit_hash>"
model = AutoModelForCausalLM.from_pretrained(
    repo_id, revision=revision, torch_dtype="auto", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(
    repo_id, revision=revision, torch_dtype="auto", device_map="auto")

device = device("cuda" if cuda.is_available() else "cpu")
def generate_tool_calls_list(query, max_new_tokens=400) -> str:
    formatted_query = tokenizer.chat_template.format(query, "")
    inputs = tokenizer(formatted_query, return_tensors="pt").input_ids.to(device)
    outputs = model.generate(inputs, max_new_tokens=max_new_tokens, do_sample=False)
    generated_text = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]
    return generated_text[len(formatted_query):].strip()

generate_tool_calls_list("Is 49 a perfect square ?")


Powered by retrain-pipelines 0.1.2 - Run by Aurelien-Morgan-Bot - UnslothFuncCallFlow - exec_id : 135
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for retrain-pipelines/function_caller_lora

Adapter
(264)
this model

Dataset used to train retrain-pipelines/function_caller_lora

Paper for retrain-pipelines/function_caller_lora

Evaluation results