#158 · Primary category: Deep Learning Frameworks
spago
Self-contained Machine Learning and Natural Language Processing library in Go
Project last updated:04/01/25
GitHub Stars
1.9K
Forks
88
Contributors
13
License
BSD-2-Clause
Why we included this project
Most of the deep-learning ecosystem assumes you will orchestrate a Python runtime, so Spago is a useful exception: a self-contained Go library with automatic differentiation over a define-by-run computation graph, plus the usual building blocks like LSTM, GRU, and attention layers. Because everything compiles into a single Go binary, inference embeds cleanly into services and CLIs that run on machines where installing Python or heavy dependencies is impractical. The codebase favors clarity over raw speed, which makes it a readable reference for how transformers and gradient computation actually work. Teams already on Go can also start from built-in models for classic NLP tasks such as named-entity recognition, translation, and question answering.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
tensorflow
An Open Source Machine Learning Framework for Everyone
pytorch
Tensors and Dynamic neural networks in Python with strong GPU acceleration
keras
Deep Learning for humans
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
ray
Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.