Views
No views yet

| Parameter | Value |
|---|---|
| Base Model | DeepSeek-Coder-33B-Instruct |
| Token Size | 128,000 (128K) |
| RoPE Scaling | 8x Dynamic Scaling |
| Precision | FP16 & 4-bit |
| Flash Attention | FlashAttention-2 Enabled |
| Tokenizer | DeepSeek 33B Tokenizer with custom tokens |
| Architecture | Transformer |
| Layers | 80 |
| Hidden Size | 7168 |
| Attention Heads | 56 |
| Training Data | Python, JavaScript, C++, Java, Rust, SQL, Bash, HTML, JSON, YAML, etc. |
| Batch Size | Optimized for large-scale inference |
| Token | Purpose |
|---|---|
<DEBUG> | Debug the code and detect issues. |
<FIX_CODE> | Automatically fix errors in the script. |
<AUTOCOMPLETE> | Provide AI-powered code completion. |
<AUTO_DEBUG> | Perform automatic debugging with AI. |
<DEBUG_SCRIPT> | Debug the entire script at once. |
<GENERATE> | Generate code snippets based on user instructions. |
<EXPLAIN_ERROR> | Explain errors in simple terms. |
<SUGGEST_FIX> | Provide AI-powered fixes for detected issues. |
<CODE_REFACTOR> | Suggest and apply better coding practices. |
<OPTIMIZE_PERFORMANCE> | Identify bottlenecks and optimize code. |
<FORMAT_CODE> | Format the code to follow best practices. |
<REWRITE_CODE> | Rewrite existing code for clarity or efficiency. |
<CODE_SUMMARY> | Summarize what the code does. |
<AUTO_COMMENT> | Add meaningful comments to the code. |
<RUN_TESTS> | AI-assisted test execution. |
<ANALYZE_COMPLEXITY> | Analyze algorithm complexity (Big O analysis). |
<FIX_BUG> | Automatically identify and fix bugs. |
<CHECK_SYNTAX> | Check syntax errors in real-time. |
<AI_ASSIST> | General AI assistant command for debugging & coding. |
<INTELLIGENT_COMPLETION> | AI-driven code completion for large-scale scripts. |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "KingyJr/King-Kode-128K"
4
5# Load tokenizer
6tokenizer = AutoTokenizer.from_pretrained(model_name)
7
8# Load model with FlashAttention-2 optimization
9model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
10
11print("Model and tokenizer loaded successfully!")1prompt = "<DEBUG> Fix the following Python code:
2
3print(Hello World)"
4
5inputs = tokenizer(prompt, return_tensors="pt")
6outputs = model.generate(**inputs, max_length=512)
7response = tokenizer.decode(outputs[0], skip_special_tokens=True)
8
9print(response)| File | Description |
|---|---|
config.json | Model configuration. |
generation_config.json | Generation settings. |
model.safetensors.index.json | Index of model shards. |
model-00001-of-00007.safetensors - model-00007-of-00007.safetensors | Model weights. |
special_tokens_map.json | Special token mapping. |
tokenizer.json | Tokenizer settings. |
tokenizer_config.json | Tokenizer configuration. |
@article{KingKode128K,
author = {KingyJr},
title = {King-Kode-128K: AI Debugging and Code Assistant},
journal = {Hugging Face Models},
year = {2025},
url = {https://huggingface.co/KingyJr/King-Kode-128K}
}