You can now map GitHub repositories to standardized industry sectors with high accuracy, enabling research on how different industries contribute to open-source software and how technologies spread across economic sectors.
This paper introduces NAICS-GH, a dataset of 6,588 GitHub repositories labeled with industry sectors using the North American Industry Classification System. The authors use a pipeline combining embeddings, retrieval, and GPT-4 scoring to automatically classify repositories, achieving 97% precision on human-validated samples and releasing the dataset with code and trained models.