Text Generation
Transformers
Safetensors
HERMES
English
llama
function-calling
tool-use
chatml
full-fine-tune
withinusai
text-generation-inference
Instructions to use WithinUsAI/WIUAI.Mini.Coder.ToolCalling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WithinUsAI/WIUAI.Mini.Coder.ToolCalling with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WithinUsAI/WIUAI.Mini.Coder.ToolCalling")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("WithinUsAI/WIUAI.Mini.Coder.ToolCalling") model = AutoModelForCausalLM.from_pretrained("WithinUsAI/WIUAI.Mini.Coder.ToolCalling", device_map="auto") - HERMES
How to use WithinUsAI/WIUAI.Mini.Coder.ToolCalling with HERMES:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use WithinUsAI/WIUAI.Mini.Coder.ToolCalling with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WithinUsAI/WIUAI.Mini.Coder.ToolCalling" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/WIUAI.Mini.Coder.ToolCalling", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/WithinUsAI/WIUAI.Mini.Coder.ToolCalling
- SGLang
How to use WithinUsAI/WIUAI.Mini.Coder.ToolCalling 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 "WithinUsAI/WIUAI.Mini.Coder.ToolCalling" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/WIUAI.Mini.Coder.ToolCalling", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "WithinUsAI/WIUAI.Mini.Coder.ToolCalling" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/WIUAI.Mini.Coder.ToolCalling", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use WithinUsAI/WIUAI.Mini.Coder.ToolCalling with Docker Model Runner:
docker model run hf.co/WithinUsAI/WIUAI.Mini.Coder.ToolCalling
Update README.md
Browse files
README.md
CHANGED
|
@@ -101,32 +101,4 @@ and an arguments dict. This is a tiny smoke test, not a benchmark.
|
|
| 101 |
- Trained only on Hermes Function-Calling V1. Coding ability of the base model was not re-tested and may have regressed.
|
| 102 |
- Conversations over 1024 tokens were dropped, so long multi-turn sessions with large tool lists are under-represented.
|
| 103 |
- The validation split is random from the same dataset, so it can overstate generalization. No external benchmark was run.
|
| 104 |
-
- Can produce malformed calls, wrong arguments, or invented tool names. Validate output before executing any
|
| 105 |
-
|
| 106 |
-
## License and attribution
|
| 107 |
-
|
| 108 |
-
See the base model card and the dataset card (NousResearch/hermes-function-calling-v1) for licenses. This card grants no additional rights.
|
| 109 |
-
|
| 110 |
-
## 15-question test
|
| 111 |
-
|
| 112 |
-
Hand-written tool-calling smoke test in the Hermes format (greedy decoding, max 150 new tokens). Not a benchmark.
|
| 113 |
-
|
| 114 |
-
**Passed 1/15** | valid tool-call format 1/13 | stops cleanly 0/15
|
| 115 |
-
|
| 116 |
-
| # | Category | Prompt | Result |
|
| 117 |
-
|---|---|---|---|
|
| 118 |
-
| 1 | single call | What's the weather in Tokyo right now? | fail |
|
| 119 |
-
| 2 | single call | What is the current price of NVDA? | fail |
|
| 120 |
-
| 3 | single call | Add 17 and 25. | fail |
|
| 121 |
-
| 4 | single call | Set a timer for 15 minutes. | fail |
|
| 122 |
-
| 5 | single call | Open the file /home/user/notes.txt. | fail |
|
| 123 |
-
| 6 | multi-arg | Convert 250 USD to EUR. | fail |
|
| 124 |
-
| 7 | multi-arg | Find flights from Boston to Denver on 2026-03-14. | fail |
|
| 125 |
-
| 8 | multi-arg | Email sam@example.com with the subject 'Lunch' saying 'See you at noon.' | fail |
|
| 126 |
-
| 9 | multi-arg | Translate 'good morning' into Spanish. | fail |
|
| 127 |
-
| 10 | multi-arg | Schedule 'Team sync' on 2026-04-02 at 14:30. | fail |
|
| 128 |
-
| 11 | tool choice | How much is Apple stock (AAPL) trading at? | pass |
|
| 129 |
-
| 12 | tool choice | Search the web for the latest Python release. | fail |
|
| 130 |
-
| 13 | two calls | Get the weather in Paris and the price of MSFT. | fail |
|
| 131 |
-
| 14 | tool result | What's the weather in Paris right now? | fail |
|
| 132 |
-
| 15 | restraint | What is the capital of France? | fail |
|
|
|
|
| 101 |
- Trained only on Hermes Function-Calling V1. Coding ability of the base model was not re-tested and may have regressed.
|
| 102 |
- Conversations over 1024 tokens were dropped, so long multi-turn sessions with large tool lists are under-represented.
|
| 103 |
- The validation split is random from the same dataset, so it can overstate generalization. No external benchmark was run.
|
| 104 |
+
- Can produce malformed calls, wrong arguments, or invented tool names. Validate output before executing any
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|