Image-Text-to-Text
Transformers
Safetensors
kimi_k25
feature-extraction
kimi
fp4
nvfp4
vllm
llm-compressor
compressed-tensors
conversational
custom_code
Instructions to use RedHatAI/Kimi-K2.6-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RedHatAI/Kimi-K2.6-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="RedHatAI/Kimi-K2.6-NVFP4", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("RedHatAI/Kimi-K2.6-NVFP4", trust_remote_code=True) model = AutoModel.from_pretrained("RedHatAI/Kimi-K2.6-NVFP4", trust_remote_code=True, device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use RedHatAI/Kimi-K2.6-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RedHatAI/Kimi-K2.6-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RedHatAI/Kimi-K2.6-NVFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/RedHatAI/Kimi-K2.6-NVFP4
- SGLang
How to use RedHatAI/Kimi-K2.6-NVFP4 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 "RedHatAI/Kimi-K2.6-NVFP4" \ --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": "RedHatAI/Kimi-K2.6-NVFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "RedHatAI/Kimi-K2.6-NVFP4" \ --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": "RedHatAI/Kimi-K2.6-NVFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use RedHatAI/Kimi-K2.6-NVFP4 with Docker Model Runner:
docker model run hf.co/RedHatAI/Kimi-K2.6-NVFP4
Update BFCL v4 eval results (fresh run on vLLM 0.24.0, corrupted categories re-collected)
Browse files- every_eval_ever/bfcl_v4.json +42 -42
every_eval_ever/bfcl_v4.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
{
|
| 2 |
"schema_version": "0.2.2",
|
| 3 |
-
"evaluation_id": "bfcl_v4/RedHatAI/Kimi-K2.6-NVFP4/
|
| 4 |
-
"retrieved_timestamp": "
|
| 5 |
"source_metadata": {
|
| 6 |
"source_name": "BFCL",
|
| 7 |
"source_type": "evaluation_run",
|
| 8 |
"source_organization_name": "RedHatAI",
|
| 9 |
-
"evaluator_relationship": "
|
| 10 |
"additional_details": {
|
| 11 |
"benchmark_version": "v4"
|
| 12 |
}
|
|
@@ -21,11 +21,11 @@
|
|
| 21 |
"developer": "RedHatAI",
|
| 22 |
"inference_engine": {
|
| 23 |
"name": "vllm",
|
| 24 |
-
"version": "0.
|
| 25 |
},
|
| 26 |
"additional_details": {
|
| 27 |
"profile": "kimi_nvfp4",
|
| 28 |
-
"evaluation_batch": "
|
| 29 |
}
|
| 30 |
},
|
| 31 |
"evaluation_results": [
|
|
@@ -36,7 +36,7 @@
|
|
| 36 |
"source_type": "other",
|
| 37 |
"additional_details": {
|
| 38 |
"category": "non_live",
|
| 39 |
-
"source_csv": "/home/shubhra/
|
| 40 |
}
|
| 41 |
},
|
| 42 |
"metric_config": {
|
|
@@ -47,20 +47,20 @@
|
|
| 47 |
"max_score": 1.0
|
| 48 |
},
|
| 49 |
"score_details": {
|
| 50 |
-
"score": 0.
|
| 51 |
"details": {
|
| 52 |
"Rank": "1",
|
| 53 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 54 |
-
"Non-Live Overall Acc": "86.
|
| 55 |
-
"AST Summary": "86.
|
| 56 |
-
"Simple AST": "
|
| 57 |
-
"Python Simple AST": "94.
|
| 58 |
-
"Java Simple AST": "
|
| 59 |
-
"JavaScript Simple AST": "
|
| 60 |
-
"Multiple AST": "
|
| 61 |
-
"Parallel AST": "
|
| 62 |
-
"Parallel Multiple AST": "
|
| 63 |
-
"Irrelevance Detection": "
|
| 64 |
}
|
| 65 |
},
|
| 66 |
"generation_config": {
|
|
@@ -83,7 +83,7 @@
|
|
| 83 |
"source_type": "other",
|
| 84 |
"additional_details": {
|
| 85 |
"category": "live",
|
| 86 |
-
"source_csv": "/home/shubhra/
|
| 87 |
}
|
| 88 |
},
|
| 89 |
"metric_config": {
|
|
@@ -94,17 +94,17 @@
|
|
| 94 |
"max_score": 1.0
|
| 95 |
},
|
| 96 |
"score_details": {
|
| 97 |
-
"score": 0.
|
| 98 |
"details": {
|
| 99 |
"Rank": "1",
|
| 100 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 101 |
-
"Live Overall Acc": "78.
|
| 102 |
-
"AST Summary": "78.
|
| 103 |
-
"Python Simple AST": "
|
| 104 |
-
"Python Multiple AST": "
|
| 105 |
-
"Python Parallel AST": "
|
| 106 |
-
"Python Parallel Multiple AST": "
|
| 107 |
-
"Irrelevance Detection": "
|
| 108 |
"Relevance Detection": "56.25%"
|
| 109 |
}
|
| 110 |
},
|
|
@@ -128,7 +128,7 @@
|
|
| 128 |
"source_type": "other",
|
| 129 |
"additional_details": {
|
| 130 |
"category": "multi_turn",
|
| 131 |
-
"source_csv": "/home/shubhra/
|
| 132 |
}
|
| 133 |
},
|
| 134 |
"metric_config": {
|
|
@@ -144,8 +144,8 @@
|
|
| 144 |
"Rank": "1",
|
| 145 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 146 |
"Multi Turn Overall Acc": "63.75%",
|
| 147 |
-
"Base": "
|
| 148 |
-
"Miss Func": "
|
| 149 |
"Miss Param": "59.00%",
|
| 150 |
"Long Context": "60.50%"
|
| 151 |
}
|
|
@@ -170,7 +170,7 @@
|
|
| 170 |
"source_type": "other",
|
| 171 |
"additional_details": {
|
| 172 |
"category": "memory",
|
| 173 |
-
"source_csv": "/home/shubhra/
|
| 174 |
}
|
| 175 |
},
|
| 176 |
"metric_config": {
|
|
@@ -181,17 +181,17 @@
|
|
| 181 |
"max_score": 1.0
|
| 182 |
},
|
| 183 |
"score_details": {
|
| 184 |
-
"score": 0.
|
| 185 |
"details": {
|
| 186 |
"Rank": "1",
|
| 187 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 188 |
-
"Agentic Overall Acc": "
|
| 189 |
"Web Search Summary": "N/A",
|
| 190 |
"Web Search Base": "N/A",
|
| 191 |
"Web Search No Snippet": "N/A",
|
| 192 |
-
"Memory Summary": "
|
| 193 |
-
"Memory KV": "
|
| 194 |
-
"Memory Vector": "65.
|
| 195 |
"Memory Recursive Summarization": "72.90%"
|
| 196 |
}
|
| 197 |
},
|
|
@@ -215,7 +215,7 @@
|
|
| 215 |
"source_type": "other",
|
| 216 |
"additional_details": {
|
| 217 |
"category": "web_search",
|
| 218 |
-
"source_csv": "/home/shubhra/
|
| 219 |
}
|
| 220 |
},
|
| 221 |
"metric_config": {
|
|
@@ -226,14 +226,14 @@
|
|
| 226 |
"max_score": 1.0
|
| 227 |
},
|
| 228 |
"score_details": {
|
| 229 |
-
"score": 0.
|
| 230 |
"details": {
|
| 231 |
"Rank": "1",
|
| 232 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 233 |
-
"Agentic Overall Acc": "
|
| 234 |
-
"Web Search Summary": "
|
| 235 |
-
"Web Search Base": "
|
| 236 |
-
"Web Search No Snippet": "
|
| 237 |
"Memory Summary": "N/A",
|
| 238 |
"Memory KV": "N/A",
|
| 239 |
"Memory Vector": "N/A",
|
|
@@ -254,4 +254,4 @@
|
|
| 254 |
}
|
| 255 |
}
|
| 256 |
]
|
| 257 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"schema_version": "0.2.2",
|
| 3 |
+
"evaluation_id": "bfcl_v4/RedHatAI/Kimi-K2.6-NVFP4/1784246968.2835383",
|
| 4 |
+
"retrieved_timestamp": "1784246968.2835383",
|
| 5 |
"source_metadata": {
|
| 6 |
"source_name": "BFCL",
|
| 7 |
"source_type": "evaluation_run",
|
| 8 |
"source_organization_name": "RedHatAI",
|
| 9 |
+
"evaluator_relationship": "first_party",
|
| 10 |
"additional_details": {
|
| 11 |
"benchmark_version": "v4"
|
| 12 |
}
|
|
|
|
| 21 |
"developer": "RedHatAI",
|
| 22 |
"inference_engine": {
|
| 23 |
"name": "vllm",
|
| 24 |
+
"version": "0.24.0"
|
| 25 |
},
|
| 26 |
"additional_details": {
|
| 27 |
"profile": "kimi_nvfp4",
|
| 28 |
+
"evaluation_batch": "20260716"
|
| 29 |
}
|
| 30 |
},
|
| 31 |
"evaluation_results": [
|
|
|
|
| 36 |
"source_type": "other",
|
| 37 |
"additional_details": {
|
| 38 |
"category": "non_live",
|
| 39 |
+
"source_csv": "/home/shubhra/runs/bfcl/20260716T145522Z_kimi_nvfp4_non_live/project_root/score/data_non_live.csv"
|
| 40 |
}
|
| 41 |
},
|
| 42 |
"metric_config": {
|
|
|
|
| 47 |
"max_score": 1.0
|
| 48 |
},
|
| 49 |
"score_details": {
|
| 50 |
+
"score": 0.8644,
|
| 51 |
"details": {
|
| 52 |
"Rank": "1",
|
| 53 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 54 |
+
"Non-Live Overall Acc": "86.44%",
|
| 55 |
+
"AST Summary": "86.44%",
|
| 56 |
+
"Simple AST": "70.25%",
|
| 57 |
+
"Python Simple AST": "94.75%",
|
| 58 |
+
"Java Simple AST": "60.00%",
|
| 59 |
+
"JavaScript Simple AST": "56.00%",
|
| 60 |
+
"Multiple AST": "93.00%",
|
| 61 |
+
"Parallel AST": "92.00%",
|
| 62 |
+
"Parallel Multiple AST": "90.50%",
|
| 63 |
+
"Irrelevance Detection": "88.33%"
|
| 64 |
}
|
| 65 |
},
|
| 66 |
"generation_config": {
|
|
|
|
| 83 |
"source_type": "other",
|
| 84 |
"additional_details": {
|
| 85 |
"category": "live",
|
| 86 |
+
"source_csv": "/home/shubhra/runs/bfcl/20260714T003915Z_kimi_nvfp4_live/project_root/score/data_live.csv"
|
| 87 |
}
|
| 88 |
},
|
| 89 |
"metric_config": {
|
|
|
|
| 94 |
"max_score": 1.0
|
| 95 |
},
|
| 96 |
"score_details": {
|
| 97 |
+
"score": 0.7831,
|
| 98 |
"details": {
|
| 99 |
"Rank": "1",
|
| 100 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 101 |
+
"Live Overall Acc": "78.31%",
|
| 102 |
+
"AST Summary": "78.31%",
|
| 103 |
+
"Python Simple AST": "83.33%",
|
| 104 |
+
"Python Multiple AST": "76.73%",
|
| 105 |
+
"Python Parallel AST": "93.75%",
|
| 106 |
+
"Python Parallel Multiple AST": "83.33%",
|
| 107 |
+
"Irrelevance Detection": "84.39%",
|
| 108 |
"Relevance Detection": "56.25%"
|
| 109 |
}
|
| 110 |
},
|
|
|
|
| 128 |
"source_type": "other",
|
| 129 |
"additional_details": {
|
| 130 |
"category": "multi_turn",
|
| 131 |
+
"source_csv": "/home/shubhra/runs/bfcl/20260716T192814Z_kimi_nvfp4_multi_turn/project_root/score/data_multi_turn.csv"
|
| 132 |
}
|
| 133 |
},
|
| 134 |
"metric_config": {
|
|
|
|
| 144 |
"Rank": "1",
|
| 145 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 146 |
"Multi Turn Overall Acc": "63.75%",
|
| 147 |
+
"Base": "70.50%",
|
| 148 |
+
"Miss Func": "65.00%",
|
| 149 |
"Miss Param": "59.00%",
|
| 150 |
"Long Context": "60.50%"
|
| 151 |
}
|
|
|
|
| 170 |
"source_type": "other",
|
| 171 |
"additional_details": {
|
| 172 |
"category": "memory",
|
| 173 |
+
"source_csv": "/home/shubhra/runs/bfcl/20260716T174417Z_kimi_nvfp4_memory/project_root/score/data_agentic.csv"
|
| 174 |
}
|
| 175 |
},
|
| 176 |
"metric_config": {
|
|
|
|
| 181 |
"max_score": 1.0
|
| 182 |
},
|
| 183 |
"score_details": {
|
| 184 |
+
"score": 0.6323,
|
| 185 |
"details": {
|
| 186 |
"Rank": "1",
|
| 187 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 188 |
+
"Agentic Overall Acc": "31.61%",
|
| 189 |
"Web Search Summary": "N/A",
|
| 190 |
"Web Search Base": "N/A",
|
| 191 |
"Web Search No Snippet": "N/A",
|
| 192 |
+
"Memory Summary": "63.23%",
|
| 193 |
+
"Memory KV": "50.97%",
|
| 194 |
+
"Memory Vector": "65.81%",
|
| 195 |
"Memory Recursive Summarization": "72.90%"
|
| 196 |
}
|
| 197 |
},
|
|
|
|
| 215 |
"source_type": "other",
|
| 216 |
"additional_details": {
|
| 217 |
"category": "web_search",
|
| 218 |
+
"source_csv": "/home/shubhra/runs/bfcl/20260716T164559Z_kimi_nvfp4_web_search/project_root/score/data_agentic.csv"
|
| 219 |
}
|
| 220 |
},
|
| 221 |
"metric_config": {
|
|
|
|
| 226 |
"max_score": 1.0
|
| 227 |
},
|
| 228 |
"score_details": {
|
| 229 |
+
"score": 0.13,
|
| 230 |
"details": {
|
| 231 |
"Rank": "1",
|
| 232 |
"Model": "RedHatAI/Kimi-K2.6-NVFP4 (FC, local vLLM)",
|
| 233 |
+
"Agentic Overall Acc": "6.50%",
|
| 234 |
+
"Web Search Summary": "13.00%",
|
| 235 |
+
"Web Search Base": "11.00%",
|
| 236 |
+
"Web Search No Snippet": "15.00%",
|
| 237 |
"Memory Summary": "N/A",
|
| 238 |
"Memory KV": "N/A",
|
| 239 |
"Memory Vector": "N/A",
|
|
|
|
| 254 |
}
|
| 255 |
}
|
| 256 |
]
|
| 257 |
+
}
|