Downloads · 30 days
15
10% of all-time downloads
vinod-halaharvi/ascii-to-go-coder
ascii-to-go-coder is a text generation model from vinod-halaharvi. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A fine-tuned model that generates working Go code from ASCII architecture diagrams.
Downloads · 30 days
15
10% of all-time downloads
All-time downloads
146
Public
Repo size
9.4 GB
Likes
1
Public
Click a slice to open those files.
.gguf4.7 GB · 100%
From the Hugging Face model README
A fine-tuned model that generates working Go code from ASCII architecture diagrams.
Give it an ASCII box diagram describing a system architecture, and it generates complete, compilable Go code implementing that system.
Input:
[Producer] --> [Channel] --> [Worker 1]
--> [Worker 2]
--> [Worker 3]
|
[Results Channel]
|
[Collector]
Output: A complete Go program with goroutines, channels, WaitGroups, and proper shutdown handling.
The training data covers real-world Go patterns including: HTTP servers, middleware chains, worker pools, pub/sub, WebSocket chat, reverse proxies, JWT authentication, circuit breakers, LRU caches, ring buffers, tries, priority queues, state machines, event sourcing, SSE streaming, gzip compression, generics, channel pipelines, graceful shutdown, rate limiting, fan-in/fan-out, and more.
With llama.cpp:
llama-server \
-hf vinod-halaharvi/ascii-to-go-coder \
-ngl 999 --host 0.0.0.0 --port 8080 --ctx-size 4096
Then open http://localhost:8080 and paste an ASCII diagram.