Text Generation
Transformers
Safetensors
GGUF
gpt_oss
merge-conflicts
git-automation
developer-tools
code-generation
version-control
devops
conversational
Eval Results (legacy)
Instructions to use SoarAILabs/KiteResolve-20B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SoarAILabs/KiteResolve-20B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SoarAILabs/KiteResolve-20B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SoarAILabs/KiteResolve-20B") model = AutoModelForCausalLM.from_pretrained("SoarAILabs/KiteResolve-20B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SoarAILabs/KiteResolve-20B with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf SoarAILabs/KiteResolve-20B:Q4_K_M # Run inference directly in the terminal: llama cli -hf SoarAILabs/KiteResolve-20B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SoarAILabs/KiteResolve-20B:Q4_K_M # Run inference directly in the terminal: llama cli -hf SoarAILabs/KiteResolve-20B:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf SoarAILabs/KiteResolve-20B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf SoarAILabs/KiteResolve-20B:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf SoarAILabs/KiteResolve-20B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf SoarAILabs/KiteResolve-20B:Q4_K_M
Use Docker
docker model run hf.co/SoarAILabs/KiteResolve-20B:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use SoarAILabs/KiteResolve-20B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SoarAILabs/KiteResolve-20B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SoarAILabs/KiteResolve-20B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SoarAILabs/KiteResolve-20B:Q4_K_M
- SGLang
How to use SoarAILabs/KiteResolve-20B 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 "SoarAILabs/KiteResolve-20B" \ --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": "SoarAILabs/KiteResolve-20B", "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 "SoarAILabs/KiteResolve-20B" \ --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": "SoarAILabs/KiteResolve-20B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use SoarAILabs/KiteResolve-20B with Ollama:
ollama run hf.co/SoarAILabs/KiteResolve-20B:Q4_K_M
- Unsloth Desktop
- Pi
How to use SoarAILabs/KiteResolve-20B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SoarAILabs/KiteResolve-20B:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "SoarAILabs/KiteResolve-20B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use SoarAILabs/KiteResolve-20B with Docker Model Runner:
docker model run hf.co/SoarAILabs/KiteResolve-20B:Q4_K_M
- Lemonade
How to use SoarAILabs/KiteResolve-20B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SoarAILabs/KiteResolve-20B:Q4_K_M
Run and chat with the model
lemonade run user.KiteResolve-20B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use SoarAILabs/KiteResolve-20B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SoarAILabs/KiteResolve-20B:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default SoarAILabs/KiteResolve-20B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use SoarAILabs/KiteResolve-20B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SoarAILabs/KiteResolve-20B:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "SoarAILabs/KiteResolve-20B:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,13 +17,23 @@ datasets:
|
|
| 17 |
metrics:
|
| 18 |
- name: exact_match
|
| 19 |
type: exact_match
|
| 20 |
-
value:
|
|
|
|
|
|
|
|
|
|
| 21 |
- name: bleu
|
| 22 |
type: bleu
|
| 23 |
-
value:
|
| 24 |
- name: rouge-l
|
| 25 |
type: rouge
|
| 26 |
-
value:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
model-index:
|
| 28 |
- name: KiteResolve-20B
|
| 29 |
results:
|
|
@@ -31,15 +41,24 @@ model-index:
|
|
| 31 |
type: text-generation
|
| 32 |
name: Merge Conflict Resolution
|
| 33 |
metrics:
|
| 34 |
-
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
-
|
| 41 |
-
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
---
|
| 44 |
|
| 45 |
# 🪁 KiteResolve-20B: AI-Powered Merge Conflict Resolution
|
|
@@ -60,7 +79,7 @@ model-index:
|
|
| 60 |
### ✨ Key Features
|
| 61 |
|
| 62 |
- 🎯 **20% Exact Match Accuracy** on real-world merge conflicts
|
| 63 |
-
- 📈 **
|
| 64 |
- 🌐 **Multi-Language Support**: Java, JavaScript, Python, C#, TypeScript, and more
|
| 65 |
- ⚡ **Fast Inference**: Optimized for CLI and webhook integrations
|
| 66 |
- 🔧 **Production Ready**: Designed for enterprise Git workflows
|
|
@@ -114,4 +133,4 @@ print(resolution)
|
|
| 114 |
### Ollama 🦙️
|
| 115 |
```bash
|
| 116 |
ollama run hf.co/SoarAILabs/KiteResolve-20B/model-q4_k_m.gguf
|
| 117 |
-
```
|
|
|
|
| 17 |
metrics:
|
| 18 |
- name: exact_match
|
| 19 |
type: exact_match
|
| 20 |
+
value: 22.0
|
| 21 |
+
- name: token_f1
|
| 22 |
+
type: f1
|
| 23 |
+
value: 0.617
|
| 24 |
- name: bleu
|
| 25 |
type: bleu
|
| 26 |
+
value: 50.82
|
| 27 |
- name: rouge-l
|
| 28 |
type: rouge
|
| 29 |
+
value: 58.64
|
| 30 |
+
- name: levenshtein_sim
|
| 31 |
+
type: similarity
|
| 32 |
+
value: 0.549
|
| 33 |
+
- name: char_similarity
|
| 34 |
+
type: similarity
|
| 35 |
+
value: 0.765
|
| 36 |
+
|
| 37 |
model-index:
|
| 38 |
- name: KiteResolve-20B
|
| 39 |
results:
|
|
|
|
| 41 |
type: text-generation
|
| 42 |
name: Merge Conflict Resolution
|
| 43 |
metrics:
|
| 44 |
+
- name: Exact Match
|
| 45 |
+
type: exact_match
|
| 46 |
+
value: 22.0
|
| 47 |
+
- name: Token F1
|
| 48 |
+
type: f1
|
| 49 |
+
value: 0.617
|
| 50 |
+
- name: BLEU
|
| 51 |
+
type: bleu
|
| 52 |
+
value: 50.82
|
| 53 |
+
- name: ROUGE-L
|
| 54 |
+
type: rouge
|
| 55 |
+
value: 58.64
|
| 56 |
+
- name: Levenshtein Similarity
|
| 57 |
+
type: similarity
|
| 58 |
+
value: 0.549
|
| 59 |
+
- name: Character Similarity
|
| 60 |
+
type: similarity
|
| 61 |
+
value: 0.765
|
| 62 |
---
|
| 63 |
|
| 64 |
# 🪁 KiteResolve-20B: AI-Powered Merge Conflict Resolution
|
|
|
|
| 79 |
### ✨ Key Features
|
| 80 |
|
| 81 |
- 🎯 **20% Exact Match Accuracy** on real-world merge conflicts
|
| 82 |
+
- 📈 **12% Token-F1 Score Improvement** over base model
|
| 83 |
- 🌐 **Multi-Language Support**: Java, JavaScript, Python, C#, TypeScript, and more
|
| 84 |
- ⚡ **Fast Inference**: Optimized for CLI and webhook integrations
|
| 85 |
- 🔧 **Production Ready**: Designed for enterprise Git workflows
|
|
|
|
| 133 |
### Ollama 🦙️
|
| 134 |
```bash
|
| 135 |
ollama run hf.co/SoarAILabs/KiteResolve-20B/model-q4_k_m.gguf
|
| 136 |
+
```
|