| | --- |
| | language: |
| | - ru |
| | - en |
| | - tg |
| | license: other |
| | license_name: proprietary |
| | tags: |
| | - text-generation |
| | - code |
| | - tajikgpt |
| | - tajikgpt-team |
| | - code-generation |
| | - programming |
| | - ai-coding |
| | pipeline_tag: text-generation |
| | inference: false |
| | --- |
| | |
| | # TJ-Coder |
| |
|
| | TJ-Coder is a code-specialized model from [TajikGPT](https://tajikgpt.com) by [SoulLab](https://soullab.space). Optimized for code generation, debugging, review and explanation across all major programming languages. |
| |
|
| | ## Model Details |
| |
|
| | | Property | Value | |
| | |----------|-------| |
| | | Developer | SoulLab | |
| | | Model type | Code Language Model | |
| | | Max output tokens | 32,768 | |
| | | Context window | 131,072 tokens | |
| | | Languages | Russian, English + all major programming languages | |
| | | License | Proprietary | |
| |
|
| | ## Intended Use |
| |
|
| | - Code generation in Python, JavaScript, TypeScript, Java, C++, Go, Rust and more |
| | - Code review, debugging and optimization |
| | - Code explanation and documentation generation |
| | - Algorithm design and data structure implementation |
| | - SQL queries, shell scripts, DevOps configurations |
| |
|
| | ## How to Use |
| |
|
| | TJ-Coder is available via the [TajikGPT API](https://tajikgpt.com/docs) and the dedicated [TJ-Coder IDE](https://tajikgpt.com/coder). It is not available for download. |
| |
|
| | ### Python SDK |
| |
|
| | ```bash |
| | pip install tajikgpt |
| | ``` |
| |
|
| | ```python |
| | from tajikgpt import TajikGPT |
| | |
| | client = TajikGPT(api_key="sk-tj-your-key") |
| | |
| | response = client.chat.completions.create( |
| | model="tj-coder", |
| | messages=[{"role": "user", "content": "Write a Python function to sort a list"}] |
| | ) |
| | print(response.choices[0].message.content) |
| | ``` |
| |
|
| | ### REST API |
| |
|
| | ```bash |
| | curl -X POST https://tajikgpt.com/api/tj/chat \ |
| | -H "Content-Type: application/json" \ |
| | -H "Authorization: Bearer sk-tj-your-key" \ |
| | -d '{ |
| | "model": "tj-coder", |
| | "messages": [{"role": "user", "content": "Write a REST API in Node.js"}] |
| | }' |
| | ``` |
| |
|
| | ## Model Family |
| |
|
| | | Model | Description | Tier | |
| | |-------|-------------|------| |
| | | [TJ-1.0 Mini](https://huggingface.co/TajikGPT-Team/tj-1.0-mini) | Fast, lightweight | Free | |
| | | [TJ-1.0](https://huggingface.co/TajikGPT-Team/tj-1.0) | Balanced speed & quality | Free | |
| | | [TJ-1.0 Pro](https://huggingface.co/TajikGPT-Team/tj-1.0-pro) | Advanced + Vision | Plus | |
| | | [TJ-1.0 Ultra](https://huggingface.co/TajikGPT-Team/tj-1.0-ultra) | Top performance | Plus | |
| | | **TJ-Coder** | **Code specialist** | **Free** | |
| |
|
| | ## Links |
| |
|
| | - [TajikGPT Platform](https://tajikgpt.com) |
| | - [TJ-Coder IDE](https://tajikgpt.com/coder) |
| | - [API Documentation](https://tajikgpt.com/docs) |
| | - [Python SDK on PyPI](https://pypi.org/project/tajikgpt/) |
| | - [Try TajikGPT Demo](https://huggingface.co/spaces/TajikGPT-Team/tajikgpt) |
| | - [SoulLab](https://soullab.space) |
| |
|