Text Generation
Transformers
TensorBoard
Safetensors
English
retrain-pipelines
function-calling
LLM Agent
code
unsloth
conversational
Eval Results (legacy)
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.
Instructions to use retrain-pipelines/function_caller_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use retrain-pipelines/function_caller_lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="retrain-pipelines/function_caller_lora") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("retrain-pipelines/function_caller_lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use retrain-pipelines/function_caller_lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "retrain-pipelines/function_caller_lora" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "retrain-pipelines/function_caller_lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/retrain-pipelines/function_caller_lora
- SGLang
How to use retrain-pipelines/function_caller_lora with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "retrain-pipelines/function_caller_lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "retrain-pipelines/function_caller_lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "retrain-pipelines/function_caller_lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "retrain-pipelines/function_caller_lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use retrain-pipelines/function_caller_lora with Docker Model Runner:
docker model run hf.co/retrain-pipelines/function_caller_lora
v0.32 - 2026-02-21 01:24:19 UTC - retrain-pipelines v0.1.2 - Upload model and tokenizer with README.
Browse filesFiles changed (5)
- README.md+24-24
- adapter_config.json+6-6
- adapter_model.safetensors+1-1
- runs/cpt/events.out.tfevents.1743790171.36a9ecb31cfe.5422.0 → runs/cpt/events.out.tfevents.1771612500.f9ee331df6b1.4344.0Renamed+2-2
- runs/sft/events.out.tfevents.1743791576.36a9ecb31cfe.11789.0 → runs/sft/events.out.tfevents.1771614608.f9ee331df6b1.4344.1Renamed+2-2
2 unmodified lines345678910119 unmodified lines212223242526278 unmodified lines363738394041426 unmodified lines495051525354551 unmodified line5758596061626364656667686970717273747576777817 unmodified lines9697989910010110210310410510610710810911011111211311411511611711811912012112249 unmodified lines1721731741751761771781791802 unmodified lines# @see https://huggingface.co/docs/huggingface_hub/guides/model-cards#update-metadata# @see https://huggingface.co/docs/hub/model-cards#model-card-metadataversion: '0.24'timestamp: '20250405_014920180_UTC'model_name: retrain-pipelines Function Caller9 unmodified lines- entask_categories:- text2text-generationtags:- retrain-pipelines8 unmodified lines# @see https://huggingface.co/docs/hub/models-widgets#enabling-a-widget# @see https://huggingface.co/docs/hub/models-widgets-examples# @see https://huggingface.co/docs/hub/en/model-cards#specifying-a-task--pipelinetag-pipeline_tag: text2text-generationwidget:- text: >-Hello6 unmodified linesoutput:text: '[{"name": "is_perfect_square", "arguments": {"num": 49}}]'mf_run_id: '95'# @see https://huggingface.co/docs/huggingface_hub/guides/model-cards#include-evaluation-results# @see https://huggingface.co/docs/huggingface_hub/main/en/package_reference/cards#huggingface_hub.EvalResult1 unmodified line- name: retrain-pipelines Function Callerresults:- task:type: text2text-generationname: Text2Text Generationdataset:name: retrain-pipelines Function Callingtype: retrain-pipelines/func_calls_dssplit: validationrevision: acf61743e7c3e846b74162444f86e65852d2bbf6metrics:- type: precisionvalue: 0.7742409706115723- type: recallvalue: 0.7735999822616577- type: f1value: 0.7736773490905762- type: jaccardvalue: 0.7556698322296143---17 unmodified lines><b>retrain-pipelines Function Caller</b></div><code>version 0.24</code> - <code>2025-04-05 01:49:20 UTC</code>(retraining<a target="_blank"href="https://huggingface.co/retrain-pipelines/function_caller_lora/tree/retrain-pipelines_source-code/v0.24_20250405_014920180_UTC">source-code</a> |<a target="_blank"href="https://huggingface.co/spaces/retrain-pipelines/online_pipeline_card_renderer/?model_repo_id=retrain-pipelines/function_caller_lora&version_id=v0.24_20250405_014920180_UTC">pipeline-card</a>)</div>Training dataset :- <code>retrain-pipelines/func_calls_ds v0.23</code>(<a href="https://huggingface.co/datasets/retrain-pipelines/func_calls_ds/blob/acf61743e7c3e846b74162444f86e65852d2bbf6/README.md"target="_blank">acf6174</a> -2025-04-04 18:05:46 UTC)<br /><img alt="" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fdatasets%2Fretrain-pipelines/func_calls_ds&query=%24.downloads&logo=huggingface&label=downloads" class="inline-block" /> <img alt="" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fdatasets%2Fretrain-pipelines/func_calls_ds&query=%24.likes&logo=huggingface&label=likes" class="inline-block" />Base model :- <code>unsloth/Qwen2.5-1.5B</code>(<a href="https://huggingface.co/unsloth/Qwen2.5-1.5B/blob/2d0a015faee2c1af360a6725a30c4d7a258ac4d4/README.md"target="_blank">2d0a015</a> -2025-02-06 02:32:14 UTC)<br /><img alt="" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2Funsloth/Qwen2.5-1.5B&query=%24.downloads&logo=huggingface&label=downloads" class="inline-block" /> <img alt="" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2Funsloth/Qwen2.5-1.5B&query=%24.likes&logo=huggingface&label=likes" class="inline-block" /><br />arxiv :<br />49 unmodified linesPowered by<code><a target="_blank"href="https://github.com/aurelienmorgan/retrain-pipelines">retrain-pipelines0.1.1</a></code> -<code>Run by <a target="_blank" href="https://huggingface.co/Aurelien-Morgan-Bot">Aurelien-Morgan-Bot</a></code> -<em><b>UnslothFuncCallFlow</b></em> - mf_run_id : <code>95</code></div></div>2 unmodified lines345678910119 unmodified lines212223242526278 unmodified lines363738394041426 unmodified lines495051525354551 unmodified line5758596061626364656667686970717273747576777817 unmodified lines9697989910010110210310410510610710810911011111211311411511611711811912012112249 unmodified lines1721731741751761771781791802 unmodified lines# @see https://huggingface.co/docs/huggingface_hub/guides/model-cards#update-metadata# @see https://huggingface.co/docs/hub/model-cards#model-card-metadataversion: '0.32'timestamp: '20260221_012419846_UTC'model_name: retrain-pipelines Function Caller9 unmodified lines- entask_categories:- text-generationtags:- retrain-pipelines8 unmodified lines# @see https://huggingface.co/docs/hub/models-widgets#enabling-a-widget# @see https://huggingface.co/docs/hub/models-widgets-examples# @see https://huggingface.co/docs/hub/en/model-cards#specifying-a-task--pipelinetag-pipeline_tag: text-generationwidget:- text: >-Hello6 unmodified linesoutput:text: '[{"name": "is_perfect_square", "arguments": {"num": 49}}]'exec_id: '135'# @see https://huggingface.co/docs/huggingface_hub/guides/model-cards#include-evaluation-results# @see https://huggingface.co/docs/huggingface_hub/main/en/package_reference/cards#huggingface_hub.EvalResult1 unmodified line- name: retrain-pipelines Function Callerresults:- task:type: text-generationname: Text Generationdataset:name: retrain-pipelines Function Callingtype: retrain-pipelines/func_calls_dssplit: validationrevision: 70f9a2864d71472a383596aa4ffec6e603d762eametrics:- type: precisionvalue: 0.78253722729447- type: recallvalue: 0.7825566381742679- type: f1value: 0.7823158181198717- type: jaccardvalue: 0.7654290889550754---17 unmodified lines><b>retrain-pipelines Function Caller</b></div><code>version 0.32</code> - <code>2026-02-21 01:24:19 UTC</code>(retraining<a target="_blank"href="https://huggingface.co/retrain-pipelines/function_caller_lora/tree/retrain-pipelines_source-code/v0.32_20260221_012419846_UTC">source-code</a> |<a target="_blank"href="https://huggingface.co/spaces/retrain-pipelines/online_pipeline_card_renderer/?model_repo_id=retrain-pipelines/function_caller_lora&version_id=v0.32_20260221_012419846_UTC">pipeline-card</a>)</div>Training dataset :- <code>retrain-pipelines/func_calls_ds v0.31</code>(<a href="https://huggingface.co/datasets/retrain-pipelines/func_calls_ds/blob/70f9a2864d71472a383596aa4ffec6e603d762ea/README.md"target="_blank">70f9a28</a> -2026-02-20 18:34:18 UTC)<br /><img alt="" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fdatasets%2Fretrain-pipelines/func_calls_ds&query=%24.downloads&logo=huggingface&label=downloads" class="inline-block" /> <img alt="" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fdatasets%2Fretrain-pipelines/func_calls_ds&query=%24.likes&logo=huggingface&label=likes" class="inline-block" />Base model :- <code>unsloth/Qwen2.5-1.5B</code>(<a href="https://huggingface.co/unsloth/Qwen2.5-1.5B/blob/1582479a65dd3252951448feee6868d2cfda6452/README.md"target="_blank">1582479</a> -2025-04-28 04:13:37 UTC)<br /><img alt="" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2Funsloth/Qwen2.5-1.5B&query=%24.downloads&logo=huggingface&label=downloads" class="inline-block" /> <img alt="" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2Funsloth/Qwen2.5-1.5B&query=%24.likes&logo=huggingface&label=likes" class="inline-block" /><br />arxiv :<br />49 unmodified linesPowered by<code><a target="_blank"href="https://github.com/aurelienmorgan/retrain-pipelines">retrain-pipelines0.1.2</a></code> -<code>Run by <a target="_blank" href="https://huggingface.co/Aurelien-Morgan-Bot">Aurelien-Morgan-Bot</a></code> -<em><b>UnslothFuncCallFlow</b></em> - exec_id : <code>135</code></div></div>
17 unmodified lines18192021222324252627282930313233343536373817 unmodified lines"megatron_config": null,"megatron_core": "megatron.core","modules_to_save": ["lm_head","embed_tokens"],"peft_type": "LORA","r": 128,"rank_pattern": {},"revision": null,"target_modules": ["k_proj","gate_proj","o_proj","v_proj","q_proj","down_proj","up_proj"],"task_type": "CAUSAL_LM","use_dora": false,17 unmodified lines18192021222324252627282930313233343536373817 unmodified lines"megatron_config": null,"megatron_core": "megatron.core","modules_to_save": ["embed_tokens","lm_head"],"peft_type": "LORA","r": 128,"rank_pattern": {},"revision": null,"target_modules": ["q_proj","up_proj","o_proj","v_proj","gate_proj","down_proj","k_proj"],"task_type": "CAUSAL_LM","use_dora": false,
123version https://git-lfs.github.com/spec/v1oid sha256:78a778a411b2d359d1aa9afd160897718d90de722d40bb351cbe2857cac53079size 2457916480123version https://git-lfs.github.com/spec/v1oid sha256:9cb8f58e9b2321fc2fe46598df3c2edbc4cd642f272b350ee4fc66a512f9b362size 2457916480
123version https://git-lfs.github.com/spec/v1oid sha256:d13061fe05a25e6ee422a5a3f79e251e20e43a9e4338d31244ffa5eaa4720f6esize 61059123version https://git-lfs.github.com/spec/v1oid sha256:4dcbae97bd0d5fbaf6e614498752edba11668c6cadeb182cec7ce923a43f45e2size 171995
123version https://git-lfs.github.com/spec/v1oid sha256:fb949b084b6285d97b929650b080370bd5e86eace775ef69bd4c9771d2992776size 1079367123version https://git-lfs.github.com/spec/v1oid sha256:1a5b2ef8723e1bee047353d5722c6ac65308abc4cdb6356b6c45568105206c4csize 1437018
README.md+24-24
adapter_config.json+6-6
adapter_model.safetensors+1-1
runs/cpt/events.out.tfevents.1743790171.36a9ecb31cfe.5422.0 → runs/cpt/events.out.tfevents.1771612500.f9ee331df6b1.4344.0Renamed+2-2
runs/sft/events.out.tfevents.1743791576.36a9ecb31cfe.11789.0 → runs/sft/events.out.tfevents.1771614608.f9ee331df6b1.4344.1Renamed+2-2