golang
Datasets
All datasets matching “golang”golang-coderQ&A style combined, deduplicated dataset including portions of:
Golang best practices and coding guides (general Q&A) https://huggingface.co/datasets/smcleod/golang-programming-style-best-practices (MIT)
Golang questions (general Q&A) https://huggingface.co/datasets/ExAi/Code-Golang-QA-2k (Apache2)
Golang functions (code & description) https://huggingface.co/datasets/google/code_x_glue_ct_code_to_text (c-uda)
Golang snippets (code & description)… See the full description on the dataset page: https://huggingface.co/datasets/smcleod/golang-coder.Code-Golang-QA-2k
Code-Golang-QA-2k
This (small) dataset comprises 2,000 question-and-answer entries related to the Go programming language. It is designed to serve as a resource for individuals looking to enhance machine learning models, create chatbots, or simply to provide a comprehensive knowledge base for developers working with Go.
Data Format
[
{
"question": "How do you create a new RESTful API endpoint using Gin?",
"answer": "Creating a new RESTful API endpoint… See the full description on the dataset page: https://huggingface.co/datasets/ExAi/Code-Golang-QA-2k.golang-programming-style-best-practicesNote: WIP - This dataset has not yet been curated to remove duplicates and filler
Dataset trained on several popular open source Golang style guides and the effective go book.
Source training data:
https://go.dev/doc/effective_go
https://github.com/uber-go/guide/blob/master/style.md
https://google.github.io/styleguide/go/best-practices
Q&A generated using Augment Toolkit
Generation models:
yi-large (API access kindly donated by 01.ai)
hermes-2-theta-llama-3-8b
qwen2-72b-instruct
golang-ollamaapi-charmAttempting to create a dataset with AugmentToolkit.
I'm new to datasets and textgen training and this is my first attempt at creating a dataset. I'm not sure if this will end up being useful or not so YMMV.
Created from:
Uber's Golang Style Guide
Ollama's Golang API Docs
Charmbracelet's Golang Packages and Examples
I generated the Q/A with a mix of Mixtral Nous Hermes 8x7b, Llama 3 8b, Qwen 2 7b.
The file that's the most processed (but probably still needs work) is .
https://smcleod.net
Code-Golang-QA-2k-dpo
Code-Golang-QA-2k
This (small) dataset comprises ~1.8k dpo entries related to the Go programming language. It is designed to serve as a resource for individuals looking to enhance machine learning models, create chatbots, or simply to provide a comprehensive knowledge base for developers working with Go.
Data Format
[
{
"question": "How do you create a new RESTful API endpoint using Gin?",
"chosen_answer": "Creating a new RESTful API endpoint using the Gin… See the full description on the dataset page: https://huggingface.co/datasets/ExAi/Code-Golang-QA-2k-dpo.enriched-golang-finetune-dataset
Enriched Commit Diff Fine-tuning Dataset
Generated from jedisct1/golang on 2026-06-07T17:24:24.423892+00:00.
Each kept source commit produces four supervised fine-tuning variants:
message_to_diff: original commit message -> original diff
diff_to_message: original diff -> original commit message
minimized_message_to_diff: concise/minimized commit message -> original diff
message_to_shuffled_diff: original commit message -> original diff with file blocks shuffled
Output files… See the full description on the dataset page: https://huggingface.co/datasets/jedisct1/enriched-golang-finetune-dataset.
