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.23 - 2025-04-02 23:59:20 UTC - retrain-pipelines v0.1.1 - Upload model and tokenizer with README.
Browse filesFiles changed (5)
- README.md+16-16
- adapter_config.json+7-7
- adapter_model.safetensors+1-1
- runs/cpt/events.out.tfevents.1743531404.6cdc632317b8.7103.0 → runs/cpt/events.out.tfevents.1743611017.f3a8d62f839d.4543.0Renamed+1-1
- runs/sft/events.out.tfevents.1743532821.6cdc632317b8.13713.0 → runs/sft/events.out.tfevents.1743612468.f3a8d62f839d.12023.0Renamed+2-2
2 unmodified lines3456789101137 unmodified lines495051525354557 unmodified lines6364656667686970717273747576777817 unmodified lines9697989910010110210310410510610710810911011111211311459 unmodified lines1741751761771781791802 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.22'timestamp: '20250402_012414955_UTC'model_name: retrain-pipelines Function Caller37 unmodified linesoutput:text: '[{"name": "is_perfect_square", "arguments": {"num": 49}}]'mf_run_id: '92'# @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.EvalResult7 unmodified linesname: retrain-pipelines Function Callingtype: retrain-pipelines/func_calls_dssplit: validationrevision: 8d4dacf6095dc0ef2702d58dfeaa36b730dece00metrics:- type: precisionvalue: 0.7514837980270386- type: recallvalue: 0.7512756586074829- type: f1value: 0.7511526346206665- type: jaccardvalue: 0.7329407334327698---17 unmodified lines><b>retrain-pipelines Function Caller</b></div><code>version 0.22</code> - <code>2025-04-02 01:24:14 UTC</code>(retraining<a target="_blank"href="https://huggingface.co/retrain-pipelines/function_caller_lora/tree/retrain-pipelines_source-code/v0.22_20250402_012414955_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.22_20250402_012414955_UTC">pipeline-card</a>)</div>Training dataset :- <code>retrain-pipelines/func_calls_ds v0.20</code>(<a href="https://huggingface.co/datasets/retrain-pipelines/func_calls_ds/blob/8d4dacf6095dc0ef2702d58dfeaa36b730dece00/README.md"target="_blank">8d4dacf</a> -2025-04-01 18:12:25 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" />59 unmodified lineshref="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>92</code></div></div>2 unmodified lines3456789101137 unmodified lines495051525354557 unmodified lines6364656667686970717273747576777817 unmodified lines9697989910010110210310410510610710810911011111211311459 unmodified lines1741751761771781791802 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.23'timestamp: '20250402_235920423_UTC'model_name: retrain-pipelines Function Caller37 unmodified linesoutput:text: '[{"name": "is_perfect_square", "arguments": {"num": 49}}]'mf_run_id: '93'# @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.EvalResult7 unmodified linesname: retrain-pipelines Function Callingtype: retrain-pipelines/func_calls_dssplit: validationrevision: 534a35bda423df82d8a39c3915af3b0c17663160metrics:- type: precisionvalue: 0.7678390741348267- type: recallvalue: 0.7680401802062988- type: f1value: 0.767730712890625- type: jaccardvalue: 0.7498630285263062---17 unmodified lines><b>retrain-pipelines Function Caller</b></div><code>version 0.23</code> - <code>2025-04-02 23:59:20 UTC</code>(retraining<a target="_blank"href="https://huggingface.co/retrain-pipelines/function_caller_lora/tree/retrain-pipelines_source-code/v0.23_20250402_235920423_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.23_20250402_235920423_UTC">pipeline-card</a>)</div>Training dataset :- <code>retrain-pipelines/func_calls_ds v0.21</code>(<a href="https://huggingface.co/datasets/retrain-pipelines/func_calls_ds/blob/534a35bda423df82d8a39c3915af3b0c17663160/README.md"target="_blank">534a35b</a> -2025-04-02 16:18:25 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" />59 unmodified lineshref="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>93</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": ["gate_proj","up_proj","v_proj","q_proj","k_proj","down_proj","o_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","down_proj","k_proj","o_proj","up_proj","gate_proj","v_proj"],"task_type": "CAUSAL_LM","use_dora": false,
123version https://git-lfs.github.com/spec/v1oid sha256:cae66f633a344d4997113e2850297009196be57c880d99b5591b0e33627b330fsize 2457916480123version https://git-lfs.github.com/spec/v1oid sha256:edc5359cd7be4f1bf1f72d21212410feb944b7729f1d25d9d01f91b4ac2936a7size 2457916480
123version https://git-lfs.github.com/spec/v1oid sha256:0b0dc87504b3ed4546e908c26d5ea48a471d2c37ba1a4c65956229563c25c2d2size 61059123version https://git-lfs.github.com/spec/v1oid sha256:0678c0b7216b1d887bbca7669846be357e02f2b5e01418350ebd968da1aa793csize 61059
123version https://git-lfs.github.com/spec/v1oid sha256:22fa8e22b31dded99b6c8932d162b1dd82f2f92c953b9284946c64c66e759158size 1007718123version https://git-lfs.github.com/spec/v1oid sha256:d3eabc0637ea7c599a809c996f1853964aae32d6faf48067fd489878f6c236c2size 1079367
README.md+16-16
adapter_config.json+7-7
adapter_model.safetensors+1-1
runs/cpt/events.out.tfevents.1743531404.6cdc632317b8.7103.0 → runs/cpt/events.out.tfevents.1743611017.f3a8d62f839d.4543.0Renamed+1-1
runs/sft/events.out.tfevents.1743532821.6cdc632317b8.13713.0 → runs/sft/events.out.tfevents.1743612468.f3a8d62f839d.12023.0Renamed+2-2