#158 · Primary category: Deep Learning Frameworks

spago

artificial-intelligence automatic-differentiation automatic-translation bart bert bert-as-service computation-graph deep-learning deeplearning language-model lstm machine-learning named-entities-recognition natural-language-processing neural-network nlp question-answering recurrent-networks transformer-architecture

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