Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- en
|
|
@@ -12,7 +13,7 @@ tags:
|
|
| 12 |
- javascript
|
| 13 |
- coding-assistant
|
| 14 |
- fine-tuning
|
| 15 |
-
-
|
| 16 |
- unsloth
|
| 17 |
- gpt-oss
|
| 18 |
- vllm
|
|
@@ -26,12 +27,13 @@ model-index:
|
|
| 26 |
|
| 27 |
# gpt-oss-coder-v0.1-javascript
|
| 28 |
|
| 29 |
-
A **language-specialized coding model for JavaScript**, fine-tuned from OpenAI
|
| 30 |
-
This release prioritizes **practical code generation quality** over benchmark scores
|
| 31 |
|
| 32 |
-
> **Status**: Experimental preview (`v0.1-javascript`)
|
| 33 |
-
> **Focus**: JS coding tasks (function-level completion, small refactors, idiomatic patterns)
|
| 34 |
-
> **
|
|
|
|
| 35 |
|
| 36 |
---
|
| 37 |
|
|
@@ -39,10 +41,11 @@ This release prioritizes **practical code generation quality** over benchmark sc
|
|
| 39 |
|
| 40 |
- **Model type**: Causal LM (decoder-only), JS-specialized fine-tune
|
| 41 |
- **Base model**: `openai/gpt-oss-20b` (open-weight, Apache-2.0)
|
| 42 |
-
- **Fine-tuning**: LoRA via **Unsloth**,
|
| 43 |
- **License**: Apache-2.0 (derivative weights released under Apache-2.0)
|
| 44 |
- **Author / Maintainer**: `hokar3361`
|
| 45 |
- **Intended Languages**: JavaScript (ES6+); English prompts recommended
|
|
|
|
| 46 |
|
| 47 |
---
|
| 48 |
|
|
@@ -62,31 +65,81 @@ This release prioritizes **practical code generation quality** over benchmark sc
|
|
| 62 |
|
| 63 |
## Quickstart
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
```bash
|
| 66 |
vllm serve hokar3361/gpt-oss-coderjs-v0.1 \
|
| 67 |
--async-scheduling \
|
| 68 |
-
--max-model-len
|
| 69 |
--gpu-memory-utilization 0.90
|
| 70 |
-
For LoRA-only repos, add --lora-modules as per vLLM documentation.
|
| 71 |
```
|
| 72 |
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
-
|
| 76 |
-
This work was made possible thanks to the open-weight release of gpt-oss by OpenAI, which provided a strong foundation under the Apache-2.0 license.
|
| 77 |
-
Special thanks to the open-source community around Unsloth for enabling memory-efficient and rapid LoRA fine-tuning on limited hardware.
|
| 78 |
-
We also thank the Hugging Face and vLLM ecosystems for lowering the barrier to experimentation.
|
| 79 |
|
| 80 |
-
|
| 81 |
-
This model (v0.1-javascript) is highly experimental:
|
| 82 |
|
| 83 |
-
Small data
|
| 84 |
|
| 85 |
-
Not production-ready
|
| 86 |
|
| 87 |
-
|
| 88 |
|
| 89 |
-
Early stage
|
| 90 |
|
| 91 |
-
We share this release to contribute to the community and gather early feedback.
|
| 92 |
-
Use responsibly, validate outputs, and treat this as a proof-of-concept
|
|
|
|
| 1 |
+
|
| 2 |
---
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
| 13 |
- javascript
|
| 14 |
- coding-assistant
|
| 15 |
- fine-tuning
|
| 16 |
+
- merged
|
| 17 |
- unsloth
|
| 18 |
- gpt-oss
|
| 19 |
- vllm
|
|
|
|
| 27 |
|
| 28 |
# gpt-oss-coder-v0.1-javascript
|
| 29 |
|
| 30 |
+
A **language-specialized coding model for JavaScript**, fine-tuned from OpenAI's open-weight **gpt-oss** base with **very small, curated JS data** using **Unsloth**.
|
| 31 |
+
This release prioritizes **practical code generation quality** over benchmark scores. The model weights have been **merged** and are ready for deployment.
|
| 32 |
|
| 33 |
+
> **Status**: Experimental preview (`v0.1-javascript`)
|
| 34 |
+
> **Focus**: JS coding tasks (function-level completion, small refactors, idiomatic patterns)
|
| 35 |
+
> **Testing**: Currently undergoing validation with vLLM deployment
|
| 36 |
+
> **Note**: This repository contains merged weights, not LoRA adapters
|
| 37 |
|
| 38 |
---
|
| 39 |
|
|
|
|
| 41 |
|
| 42 |
- **Model type**: Causal LM (decoder-only), JS-specialized fine-tune
|
| 43 |
- **Base model**: `openai/gpt-oss-20b` (open-weight, Apache-2.0)
|
| 44 |
+
- **Fine-tuning**: LoRA via **Unsloth**, weights merged post-training
|
| 45 |
- **License**: Apache-2.0 (derivative weights released under Apache-2.0)
|
| 46 |
- **Author / Maintainer**: `hokar3361`
|
| 47 |
- **Intended Languages**: JavaScript (ES6+); English prompts recommended
|
| 48 |
+
- **Weight Format**: Merged (full model weights)
|
| 49 |
|
| 50 |
---
|
| 51 |
|
|
|
|
| 65 |
|
| 66 |
## Quickstart
|
| 67 |
|
| 68 |
+
### 1. Start vLLM Server
|
| 69 |
+
|
| 70 |
+
Since this repository contains **merged weights**, you can run directly with vLLM:
|
| 71 |
+
|
| 72 |
```bash
|
| 73 |
vllm serve hokar3361/gpt-oss-coderjs-v0.1 \
|
| 74 |
--async-scheduling \
|
| 75 |
+
--max-model-len 16000 \
|
| 76 |
--gpu-memory-utilization 0.90
|
|
|
|
| 77 |
```
|
| 78 |
|
| 79 |
+
**Recommended**: Use `--max-model-len 16000` for optimal context handling.
|
| 80 |
+
|
| 81 |
+
### 2. Client Usage (Recommended)
|
| 82 |
+
|
| 83 |
+
Use the **OpenAI Python client** to call the vLLM server:
|
| 84 |
+
|
| 85 |
+
```python
|
| 86 |
+
from openai import OpenAI
|
| 87 |
+
|
| 88 |
+
# Point to your vLLM server
|
| 89 |
+
client = OpenAI(
|
| 90 |
+
base_url="http://localhost:8000/v1",
|
| 91 |
+
api_key="dummy" # vLLM doesn't require auth by default
|
| 92 |
+
)
|
| 93 |
+
|
| 94 |
+
response = client.completions.create(
|
| 95 |
+
model="hokar3361/gpt-oss-coderjs-v0.1",
|
| 96 |
+
prompt="// JavaScript function to validate email addresses\nfunction validateEmail(email) {",
|
| 97 |
+
# DO NOT specify temperature or max_tokens - let the model use defaults
|
| 98 |
+
)
|
| 99 |
+
|
| 100 |
+
print(response.choices[0].text)
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
**Important**:
|
| 104 |
+
- **Do not specify** `temperature` or `max_tokens` parameters - the model performs best with default values
|
| 105 |
+
- Use the OpenAI Python client for best compatibility and stability
|
| 106 |
+
|
| 107 |
+
---
|
| 108 |
+
|
| 109 |
+
## Testing & Validation
|
| 110 |
+
|
| 111 |
+
### Current Status
|
| 112 |
+
The model is currently being validated using vLLM deployment. Initial testing shows **improved performance** compared to pre-fine-tuning baseline.
|
| 113 |
+
|
| 114 |
+
### Evaluation Methodology
|
| 115 |
+
- **Test Set**: 50 programming questions from GitHub and Stack Overflow
|
| 116 |
+
- **Judges**: GPT-5 and Claude Opus for response quality assessment
|
| 117 |
+
- **Preliminary Results**: The fine-tuned model demonstrates better code generation quality on JavaScript-specific tasks compared to the base model
|
| 118 |
+
- **Note**: Full benchmark validation is still in progress
|
| 119 |
+
|
| 120 |
+
---
|
| 121 |
+
|
| 122 |
+
## Acknowledgements
|
| 123 |
+
|
| 124 |
+
This work was made possible thanks to the open-weight release of **gpt-oss** by OpenAI, which provided a strong foundation under the Apache-2.0 license.
|
| 125 |
+
|
| 126 |
+
Special thanks to the open-source community around **Unsloth** for enabling memory-efficient and rapid LoRA fine-tuning on limited hardware.
|
| 127 |
+
|
| 128 |
+
We also thank the **Hugging Face** and **vLLM** ecosystems for lowering the barrier to experimentation.
|
| 129 |
+
|
| 130 |
+
---
|
| 131 |
|
| 132 |
+
## Disclaimer & Experimental Status
|
|
|
|
|
|
|
|
|
|
| 133 |
|
| 134 |
+
This model (`v0.1-javascript`) is highly experimental:
|
|
|
|
| 135 |
|
| 136 |
+
- **Small data**: Fine-tuned on a very small JavaScript-focused dataset, mainly to validate the workflow and feasibility of language specialization.
|
| 137 |
|
| 138 |
+
- **Not production-ready**: The model may generate incomplete, insecure, or non-idiomatic code; do not rely on it for production use without careful review.
|
| 139 |
|
| 140 |
+
- **Testing in progress**: While initial results from GPT-5 and Opus evaluation show improvements, comprehensive benchmarking is ongoing.
|
| 141 |
|
| 142 |
+
- **Early stage**: This is only an initial exploration; future versions with larger, more diverse training corpora are expected to improve stability and coverage.
|
| 143 |
|
| 144 |
+
We share this release to contribute to the community and gather early feedback.
|
| 145 |
+
**Use responsibly, validate outputs, and treat this as a proof-of-concept.**
|