gitctrlx/llama.go
Llama from scratch in Go.
This project helps Go developers run LLaMA large language models directly within their Go applications for inference. You provide a pre-trained LLaMA model file, and it uses Go's standard library to process the input and generate text outputs. This is ideal for developers who need to integrate LLaMA models into Go-based systems or want to understand transformer architecture without external dependencies.
104 stars.
Use this if you are a Go developer building applications that require LLaMA model inference and prefer a pure Go implementation for simplicity, learning, or reduced dependencies.
Not ideal if you need GPU acceleration for high-performance inference or are not a Go developer.
Stars
104
Forks
11
Language
Go
License
MIT
Category
Last pushed
Oct 22, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/gitctrlx/llama.go"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
ludwig-ai/ludwig
Low-code framework for building custom LLMs, neural networks, and other AI models
withcatai/node-llama-cpp
Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema...
mudler/LocalAI
:robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and...
zhudotexe/kani
kani (カニ) is a highly hackable microframework for tool-calling language models. (NLP-OSS @ EMNLP 2023)
SciSharp/LLamaSharp
A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently.