10 1 year ago

tools
ollama run sammcj/llama-3-1-8b-smcleod-golang-coder-v1:Q8_0

Applications

Claude Code
Claude Code ollama launch claude --model sammcj/llama-3-1-8b-smcleod-golang-coder-v1:Q8_0
Codex
Codex ollama launch codex --model sammcj/llama-3-1-8b-smcleod-golang-coder-v1:Q8_0
OpenCode
OpenCode ollama launch opencode --model sammcj/llama-3-1-8b-smcleod-golang-coder-v1:Q8_0
OpenClaw
OpenClaw ollama launch openclaw --model sammcj/llama-3-1-8b-smcleod-golang-coder-v1:Q8_0

Models

View all →

Readme

v3 is out! https://ollama.com/sammcj/llama-3-1-8b-smcleod-golang-coder-v3

Llama 3.1 8b Golang Coder v1

This model has been trained on Golang style guides, best practices and code examples. This should (hopefully) make it quite capable with Golang coding tasks.

image/jpeg

Ollama

Training

I trained this model (based on Llama 3.1 8b) on a merged dataset I created consisting of 50,627 rows, 13.3M input tokens and 2.2M output tokens. The total training consisted of 1,020,719 input tokens and 445,810 output tokens from 45,565 items in the dataset.

The dataset I created for this consists of multiple golang/programming focused datasets cleaned and merged and my own synthetically generated dataset based on several open source golang coding guides.