Downloads · 30 days
15
17% of all-time downloads
orch-ai/ORCH-7B
ORCH-7B is a text generation model from orch-ai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
<div align="center" <img src="https://huggingface.co/spaces/raihan-js/orch-studio/resolve/main/logo.png" alt="ORCH" width="120" height="120" style="border-radius: 24px;"
Downloads · 30 days
15
17% of all-time downloads
All-time downloads
88
Public
Parameters
6.9B
4.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.4 GB · 100%
How the weights are stored.
U86.7B · 96%
From the Hugging Face model README
Orchestrated Recursive Code Hierarchy
Autonomous Next.js Code Generation Model
</div>ORCH-7B is a QLoRA fine-tuned model specialized for generating complete, production-ready Next.js applications from natural language prompts.
| Specification | Value |
|---|---|
| Base Model | DeepSeek Coder 6.7B Instruct |
| Fine-tuning Method | QLoRA (4-bit quantization + LoRA adapters) |
| Training Hardware | NVIDIA A100 GPU |
| Training Duration | 43 hours |
| Training Steps | 5,238 steps |
| Context Length | 4K tokens |
| Model Size | 6.7B parameters |
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "orch-ai/ORCH-7B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto"
)
prompt = """### Instruction:
Create a Next.js login page with email and password fields, validation, and error handling.
### Response:
"""
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=1024, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Use ORCH Studio to generate complete projects without any code!
The model generates code in markdown format with file paths:
```typescript app/page.tsx
export default function Home() {
return <div>Hello World</div>
}
## Hardware Requirements
| Precision | VRAM Required |
|-----------|---------------|
| FP16 | ~14 GB |
| INT8 | ~8 GB |
| INT4 | ~5 GB |
## License
This model is released under the [ORCH License v1.0](LICENSE).
**Permitted Uses:**
- Commercial applications and services
- Research and academic purposes
- Personal projects
- Building products and services
- Creating derivative models
**Prohibited Uses:**
- Generating content that violates applicable laws
- Creating malware or malicious code
- Harassment, abuse, or harm to individuals
- Deceptive practices or fraud
## Links
- [ORCH Studio (Demo)](https://huggingface.co/spaces/raihan-js/orch-studio)
- [ORCH AI Organization](https://huggingface.co/orch-ai)
- [raihan-js](https://huggingface.co/raihan-js)
## Citation
```bibtex
@misc{orch7b2025,
title={ORCH-7B: Autonomous Next.js Code Generation},
author={ORCH Team},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/orch-ai/ORCH-7B}
}