Text Generation
PEFT
Safetensors
English
lora
qlora
mixture-of-experts
function-calling
code
math
ministral
Run this model with HF Jobs
Run SharpAir/Levante 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 to fine-tune https://huggingface.co/SharpAir/Levante. 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/SharpAir/Levante 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/SharpAir/Levante. 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/SharpAir/Levante. 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 SharpAir/Levante with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SharpAir/Levante with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download router/router.json from SharpAir/Levante: direct link, hf CLI and curl.
- Browser
- Download file 1.83 kB
-
https://huggingface.co/SharpAir/Levante/resolve/main/router/router.json
- Command line
-
hf download hf://SharpAir/Levante/router/router.json
-
curl -L -o router.json https://huggingface.co/SharpAir/Levante/resolve/main/router/router.json
1.83 kB
| { | |
| "default": "tools", | |
| "experts": { | |
| "tools": { | |
| "adapter": "tools", | |
| "description": "General chat, agent steps and function calling", | |
| "keywords": [], | |
| "system_prompt": "You are Levante, a helpful assistant. You can call the functions you are given when they help answer the user. Only call a function when it is needed, and only with arguments the user actually gave or that are clearly implied." | |
| }, | |
| "coding": { | |
| "adapter": "coding", | |
| "description": "Writing and fixing code", | |
| "keywords": [ | |
| "code", | |
| "python", | |
| "javascript", | |
| "typescript", | |
| "java", | |
| "rust", | |
| "bug", | |
| "error", | |
| "traceback", | |
| "function", | |
| "class", | |
| "compile", | |
| "script", | |
| "refactor", | |
| "regex", | |
| "sql", | |
| "api", | |
| "git" | |
| ], | |
| "system_prompt": "You are Levante, a helpful assistant that is very good at programming. Write correct, clear code and explain it briefly.", | |
| "patterns": [ | |
| "```", | |
| "\\bdef \\w+\\(", | |
| "\\w+\\(\\)", | |
| "\\.(py|js|ts|java|rs|cpp|go)\\b" | |
| ] | |
| }, | |
| "math": { | |
| "adapter": "math", | |
| "description": "Math word problems and arithmetic", | |
| "keywords": [ | |
| "math", | |
| "solve", | |
| "equation", | |
| "calculate", | |
| "percent", | |
| "percentage", | |
| "fraction", | |
| "sum", | |
| "average", | |
| "how many", | |
| "how much", | |
| "total", | |
| "probability", | |
| "ratio", | |
| "algebra" | |
| ], | |
| "system_prompt": "You are Levante, a helpful assistant that is very good at math. Solve problems step by step and end with the final answer.", | |
| "patterns": [ | |
| "\\d\\s*%", | |
| "\\d\\s*[-+*/×÷^]\\s*\\d", | |
| "\\bsqrt\\b" | |
| ] | |
| } | |
| } | |
| } | |