File size: 3,947 Bytes
3dc1bf6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | ---
library_name: vllm
language:
- code
license: other
tags:
- code
- mistral-common
inference: false
license_name: mnpl
license_link: https://mistral.ai/licences/MNPL-0.1.md
extra_gated_description: If you want to learn more about how we process your personal data, please read our <a href="https://mistral.ai/terms/">Privacy Policy</a>.
---
# π CodingAgent-22B-v1
<p align="center">
<img src="https://img.shields.io/badge/Model-22B-blue?style=for-the-badge">
<img src="https://img.shields.io/badge/Architecture-Mistral-green?style=for-the-badge">
<img src="https://img.shields.io/badge/License-Apache%202.0-orange?style=for-the-badge">
</p>
A powerful **22 Billion parameter coding language model** fine-tuned to assist with software development tasks including code generation, debugging, refactoring, documentation, reasoning, and programming assistance.
---
## β¨ Features
- π» High-quality code generation
- π Intelligent debugging assistance
- π Code refactoring & optimization
- π Automatic documentation generation
- π§ Strong reasoning for complex programming tasks
- π Supports multiple programming languages
- β‘ Optimized for Hugging Face Transformers
- π₯ Compatible with vLLM and Text Generation Inference (TGI)
---
# π Model Information
| Property | Value |
|----------|-------|
| Model Name | CodingAgent-22B-v1 |
| Base Architecture | Mistral |
| Parameters | 22 Billion |
| Framework | Transformers |
| Format | SafeTensors |
| Precision | FP16 |
| Context Length | *(Update if applicable)* |
---
# π Supported Languages
- Python
- JavaScript
- TypeScript
- Java
- C
- C++
- C#
- Go
- Rust
- PHP
- Ruby
- Kotlin
- Swift
- SQL
- HTML
- CSS
- Bash
- JSON
- YAML
- Markdown
---
# π¦ Installation
```bash
pip install transformers accelerate torch
```
---
# π Quick Start
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "kovaion/codingagent-22b-v1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto"
)
prompt = "Write a Python function that implements binary search."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.2
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```
---
# π― Ideal Use Cases
- AI Coding Assistant
- Software Development
- Code Completion
- Bug Fixing
- Code Explanation
- Competitive Programming
- Technical Interview Preparation
- Documentation Generation
- API Development
- Educational Projects
---
# βοΈ Recommended Generation Settings
| Parameter | Value |
|-----------|-------|
| Temperature | 0.2β0.7 |
| Top-p | 0.95 |
| Max New Tokens | 512β2048 |
| Repetition Penalty | 1.05 |
---
# π Repository Structure
```
config.json
generation_config.json
model-00001-of-00009.safetensors
...
model-00009-of-00009.safetensors
tokenizer.json
tokenizer.model
special_tokens_map.json
README.md
```
---
# β‘ Performance
CodingAgent-22B-v1 is optimized for:
- Large-scale code generation
- Instruction following
- Multi-turn coding conversations
- Code reasoning
- Debugging assistance
- Algorithm implementation
---
# π€ Contributing
Contributions, suggestions, and feedback are always welcome.
If you discover issues or have ideas for improvements, please open an issue or submit a pull request.
---
# π License
This project follows the license specified for this repository.
---
# β Support
If you find this model useful:
- β Star the repository
- β€οΈ Like the model on Hugging Face
- π Share it with the community
---
# π Acknowledgements
Built using the **Mistral** architecture and the **Hugging Face Transformers** ecosystem.
Special thanks to the open-source AI community for advancing large language models. |