starcoder
by
bigcode-project

Description: Home of StarCoder: fine-tuning & inference!

View on GitHub ↗

Summary Information

Updated 34 minutes ago
Added to GitGenius on February 29th, 2024
Created on April 24th, 2023
Open Issues & Pull Requests: 103 (+0)
Number of forks: 528
Total Stargazers: 7,508 (+0)
Total Subscribers: 65 (+0)

Issue Activity (beta)

Open issues: 95
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 898 days
Stale 30+ days: 95
Stale 90+ days: 93

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: 10.8 days
Mean response time: 202.1 days
90th percentile: 969.1 days
Tracked items: 7

Most active contributors

Detailed Description

StarCoder is a language model trained on source code and natural language text, designed for code generation and programming assistance tasks. The model was trained on data encompassing more than 80 different programming languages, supplemented with text extracted from GitHub issues, commits, and notebooks. The repository serves as the primary hub for fine-tuning and inference work with StarCoder, providing comprehensive documentation and tooling for developers who want to use or customize the model.

The core functionality of StarCoder centers on code completion and generation. The model can complete function implementations or infer subsequent characters in a line of code by leveraging its training on GitHub source code. The repository includes a quickstart guide that demonstrates how to perform code generation using Hugging Face's transformers library. For users requiring more efficient inference, the repository documents integration with text-generation-inference, and it also references starcoder.cpp, a C++ implementation using the ggml library for alternative deployment scenarios.

Fine-tuning capabilities are a major focus of this repository. The documentation provides step-by-step installation instructions using conda and covers the complete setup process for PyTorch, transformers, PEFT, datasets, accelerate, huggingface_hub, bitsandbytes, and wandb. The repository demonstrates instruction fine-tuning approaches, which teach the model to align its outputs with human needs through instruction-answer pairs. Specific examples include fine-tuning on Stack Exchange data to develop question-answering capabilities. The repository also documents how to merge PEFT adapter layers with the base model for inference and evaluation purposes.

The repository includes evaluation resources through references to the BigCode-Evaluation-Harness, a dedicated tool for evaluating code language models. Hardware requirements are explicitly documented, with the model requiring over 60GB of RAM in FP32 precision, approximately 30GB in FP16 or BF16, or under 20GB with 8-bit quantization.

According to GitGenius activity tracking, the repository shows median issue and pull request response latency of 258.8 hours across tracked items, with mean latency of 4849.5 hours, indicating variable response times. The most active contributors tracked include Casi11as and Maomaoxion, each with 3 recorded events. The repository connects to related projects including openhands/openhands, anthropics/claude-code, and google-gemini/gemini-cli through overlapping contributor networks. The repository is classified across multiple domains including code generation, machine learning, transformer architecture, large language models, code completion, and AI-driven development, reflecting its broad application in programming assistance and neural network research.

starcoder
by
bigcode-projectbigcode-project/starcoder

Repository Details

Fetching additional details & charts...