Text Generation
PEFT
Safetensors
Transformers
lora
unsloth
gemma
gemma-4
tool-calling
function-calling
agent
coding
code-generation
conversational
Instructions to use TheOneWhoWill/Coding-Monkey-Gemma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TheOneWhoWill/Coding-Monkey-Gemma with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-4-12B-it") model = PeftModel.from_pretrained(base_model, "TheOneWhoWill/Coding-Monkey-Gemma") - Transformers
How to use TheOneWhoWill/Coding-Monkey-Gemma with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TheOneWhoWill/Coding-Monkey-Gemma") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TheOneWhoWill/Coding-Monkey-Gemma", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TheOneWhoWill/Coding-Monkey-Gemma with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TheOneWhoWill/Coding-Monkey-Gemma" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheOneWhoWill/Coding-Monkey-Gemma", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/TheOneWhoWill/Coding-Monkey-Gemma
- SGLang
How to use TheOneWhoWill/Coding-Monkey-Gemma 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 "TheOneWhoWill/Coding-Monkey-Gemma" \ --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": "TheOneWhoWill/Coding-Monkey-Gemma", "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 "TheOneWhoWill/Coding-Monkey-Gemma" \ --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": "TheOneWhoWill/Coding-Monkey-Gemma", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use TheOneWhoWill/Coding-Monkey-Gemma with Docker Model Runner:
docker model run hf.co/TheOneWhoWill/Coding-Monkey-Gemma
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ That's \~5,161 actual tool-calling examples (\~99% of the set) trained over 3 ep
|
|
| 54 |
## Quantization
|
| 55 |
This model has fp16, Q8_0, Q6_K, Q5_K_M, and Q4_K_M quantization available in the gguf format. You can find them in this [repository](https://huggingface.co/TheOneWhoWill/Coding-Monkey-Gemma-GGUF)
|
| 56 |
|
| 57 |
-
## Usage
|
| 58 |
### llama.cpp
|
| 59 |
To use this model with llama.cpp you can use the ggufs like so
|
| 60 |
```bash
|
|
@@ -74,18 +74,8 @@ then you can run it like so with the Modelfile in the same directory as the gguf
|
|
| 74 |
ollama create coding-monkey -f Modelfile
|
| 75 |
```
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
Check out **[Lorivo](https://lorivo.dev/)**, a platform built to deploy and serve fine-tuned LoRA adapters instantly with production vLLM backends and standard OpenAI endpoints:
|
| 84 |
-
|
| 85 |
-
- **Zero-Merge Serving:** Mount adapters dynamically on top of open-weight base models (Gemma, Qwen, Llama).
|
| 86 |
-
- **Instant OpenAI Compatibility:** Plug directly into Cursor, Cline, Aider, or your custom agent harnesses.
|
| 87 |
-
- **CLI & Web Control:** Deploy from your terminal via `lorivo deploy` or manage endpoints from the dashboard.
|
| 88 |
-
|
| 89 |
-
👉 **[Deploy your fine-tuned adapters on Lorivo →](https://lorivo.dev/)**
|
| 90 |
-
|
| 91 |
-
---
|
|
|
|
| 54 |
## Quantization
|
| 55 |
This model has fp16, Q8_0, Q6_K, Q5_K_M, and Q4_K_M quantization available in the gguf format. You can find them in this [repository](https://huggingface.co/TheOneWhoWill/Coding-Monkey-Gemma-GGUF)
|
| 56 |
|
| 57 |
+
## Usage & Deployment
|
| 58 |
### llama.cpp
|
| 59 |
To use this model with llama.cpp you can use the ggufs like so
|
| 60 |
```bash
|
|
|
|
| 74 |
ollama create coding-monkey -f Modelfile
|
| 75 |
```
|
| 76 |
|
| 77 |
+
### Lorivo
|
| 78 |
+
Deploy this model with [Lorivo](https://lorivo.dev/) for a production-ready, OpenAI-compatible API endpoint. Lorivo supports serving fine-tuned LoRA adapters without requiring you to merge the adapter into the base model or manually manage the serving infrastructure. Note: Lorivo currently supports the LoRA adapter format containing adapter_config.json and the associated .safetensors adapter weights. The merged model or GGUF files are not supported for this deployment method.
|
| 79 |
+
```bash
|
| 80 |
+
lorivo deploy ./Coding-Monkey-Gemma
|
| 81 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|