saif24565 commited on
Commit
9635aca
Β·
verified Β·
1 Parent(s): 59bb865

Release v1.1.0 model card with creator attribution and 18-domain benchmarks

Browse files
Files changed (1) hide show
  1. README.md +40 -43
README.md CHANGED
@@ -6,7 +6,7 @@ tags:
6
  - code
7
  - coding
8
  - text-generation
9
- - qwen2.5
10
  - ollama
11
  - gguf
12
  - python
@@ -14,76 +14,73 @@ tags:
14
  - javascript
15
  - php
16
  - react
 
17
  - fastapi
18
  - laravel
 
19
  pipeline_tag: text-generation
20
  inference: false
21
  ---
22
 
23
- # 🧠 SopuCoder (v1.0.0)
24
 
25
- **SopuCoder** is an open-source, community-driven AI coding assistant engineered for local-first software development, deep architectural refactoring, and multi-language web engineering.
 
 
26
 
27
  ## πŸš€ Key Specifications
28
 
29
- - **Base Architecture:** Qwen 2.5 Coder 7B
 
30
  - **Context Length:** 32,768 tokens
31
- - **Target Stacks:** Python (FastAPI/Django), TypeScript, React 18/19, JavaScript (ESNext/Node), Modern PHP 8.x (Laravel/PSR-12)
32
- - **Quantization Formats:** GGUF (`Q4_K_M`, `Q8_0`), 16-bit Safetensors
 
33
 
34
  ---
35
 
36
- ## πŸ“Š Benchmark Evaluation Summary (v1.0.0)
37
-
38
- Evaluated across 6 rigorous software engineering dimensions:
39
 
40
- | Test Dimension | Task Description | Result | Latency / Speed |
41
  | :--- | :--- | :--- | :--- |
42
- | **Code Generation** | `useDebouncedAsync` Hook with AbortController & generics | **Passed** | 17.08 tokens/s (44.3s) |
43
- | **Debugging** | Concurrency race condition resolution in `TTLCache` | **Passed** | 16.35 tokens/s (24.5s) |
44
- | **Refactoring** | Imperative order processor to modern PHP 8.2+ OOP service | **Passed** | 17.55 tokens/s (39.8s) |
45
- | **Multi-File Sync** | FastAPI endpoint & TypeScript client synchrony | **Passed** | 17.61 tokens/s (43.9s) |
46
- | **Tool Calling** | Structured JSON tool call (`execute_sql_query`) | **Passed** | 16.48 tokens/s (5.5s) |
47
- | **Throughput** | Algorithmic DP 0/1 Knapsack with space optimization | **Passed** | 17.12 tokens/s (36.0s) |
 
 
 
 
 
 
48
 
49
  ---
50
 
51
  ## πŸ¦™ Quick Run with Ollama
52
 
53
  ```bash
54
- ollama run sopu175/sopu-coder:v1.0.0
55
- ```
56
-
57
- ## 🐍 Usage with Hugging Face `transformers`
58
 
59
- ```python
60
- from transformers import AutoModelForCausalLM, AutoTokenizer
61
- import torch
62
-
63
- model_id = "saif24565/sopu-coder"
64
-
65
- tokenizer = AutoTokenizer.from_pretrained(model_id)
66
- model = AutoModelForCausalLM.from_pretrained(
67
- model_id,
68
- torch_dtype=torch.bfloat16,
69
- device_map="auto"
70
- )
71
 
72
- messages = [
73
- {"role": "system", "content": "You are SopuCoder, an elite software engineer."},
74
- {"role": "user", "content": "Implement an async queue worker with backpressure in Python."}
75
- ]
76
 
77
- prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
78
- inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
79
- outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.2)
80
 
81
- print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
 
82
  ```
83
 
84
  ---
85
 
86
  ## πŸ“„ License & Attribution
87
- - SopuCoder configuration, prompts, and evaluation suite: Apache License 2.0.
88
- - Base foundation model: Qwen 2.5 Coder (Alibaba Cloud).
89
-
 
6
  - code
7
  - coding
8
  - text-generation
9
+ - qwen2.5-coder
10
  - ollama
11
  - gguf
12
  - python
 
14
  - javascript
15
  - php
16
  - react
17
+ - nextjs
18
  - fastapi
19
  - laravel
20
+ - tool-calling
21
  pipeline_tag: text-generation
22
  inference: false
23
  ---
24
 
25
+ # 🧠 SopuCoder (v1.1.0)
26
 
27
+ **SopuCoder** is an open-source, community-driven AI coding assistant created and maintained by **Md. Saiful Islam (Saif)**, built upon Alibaba Cloud's **Qwen2.5-Coder 7B** foundation model and customized for production-grade full-stack software engineering.
28
+
29
+ ---
30
 
31
  ## πŸš€ Key Specifications
32
 
33
+ - **Creator & Maintainer:** Md. Saiful Islam (Saif)
34
+ - **Base Architecture:** Alibaba Cloud Qwen 2.5 Coder 7B
35
  - **Context Length:** 32,768 tokens
36
+ - **Inference Speed:** ~17 tokens/second on Apple Silicon M1
37
+ - **Target Stacks:** TypeScript, React 19, Next.js App Router, Python (FastAPI/SQLAlchemy 2.0), PHP 8.3 (Laravel 11/Yii2), Three.js, GSAP, SaaS Multi-Tenancy (PostgreSQL RLS).
38
+ - **Tool Calling Support:** Native Ollama tool execution with Open-Meteo (keyless real-time weather) and safe web fetch.
39
 
40
  ---
41
 
42
+ ## πŸ“Š 18-Domain Baseline Benchmark (v1.1.0)
 
 
43
 
44
+ | Category | Benchmark Test | Score / Speed | Status |
45
  | :--- | :--- | :--- | :--- |
46
+ | **JavaScript & TypeScript** | Type-Safe Generic Nominal Event Bus | 16.75 t/s | **Level 5 (Production)** |
47
+ | **React** | Compound Modal with ARIA & Context | 17.67 t/s | **Level 5 (Production)** |
48
+ | **Next.js App Router** | Server Action with Zod & Revalidation | 16.34 t/s | **Level 5 (Production)** |
49
+ | **Node.js** | Backpressure-Managed NDJSON Stream Pipeline | 17.10 t/s | **Level 5 (Production)** |
50
+ | **PHP & Laravel 11** | Idempotent Job with Backoff & Enums | 16.90 t/s | **Level 5 (Production)** |
51
+ | **Yii2 & WordPress** | REST API Controller with Nonces & `$wpdb` | 17.20 t/s | **Level 4 (Advanced)** |
52
+ | **Python Backend** | SQLAlchemy 2.0 Async Generic Repository | 17.00 t/s | **Level 5 (Production)** |
53
+ | **Three.js & R3F** | Procedural ShaderMaterial & Drei Animation | 16.80 t/s | **Level 4 (Advanced)** |
54
+ | **GSAP Motion** | ScrollTrigger Pinning with `@gsap/react` | 16.90 t/s | **Level 4 (Advanced)** |
55
+ | **SaaS & DB Migrations** | Multi-Tenant RLS & Zero-Downtime Migration | 17.40 t/s | **Level 5 (Production)** |
56
+ | **Testing & Debugging** | Vitest Hook Suite & Thread-Safe Lock Repair | 17.20 t/s | **Level 5 (Production)** |
57
+ | **Tool Calling** | Native Dispatch & Open-Meteo Live Integration | 17.30 t/s | **Level 5 (Production)** |
58
 
59
  ---
60
 
61
  ## πŸ¦™ Quick Run with Ollama
62
 
63
  ```bash
64
+ # Run latest release
65
+ ollama run sopu175/sopu-coder:v1.1.0
 
 
66
 
67
+ # Or run latest tag
68
+ ollama run sopu175/sopu-coder:latest
69
+ ```
 
 
 
 
 
 
 
 
 
70
 
71
+ ## πŸ› οΈ Native Tool-Calling CLI
 
 
 
72
 
73
+ ```bash
74
+ # Clone the repository
75
+ git clone https://github.com/sopu175/sopu-coder.git && cd SopuCoder
76
 
77
+ # Run live query with real-time tool execution (e.g. Open-Meteo)
78
+ python -m tools.cli "What is the weather today in Dhaka?"
79
  ```
80
 
81
  ---
82
 
83
  ## πŸ“„ License & Attribution
84
+ - **Creator Attribution:** Created and maintained by Md. Saiful Islam (Saif).
85
+ - **Foundation Model:** Built upon Alibaba Cloud's Qwen2.5-Coder 7B (Apache License 2.0).
86
+ - **SopuCoder Engine:** Licensed under the Apache License 2.0.