bigcode / starcoderplus

huggingface.co
Total runs: 2
24-hour runs: 0
7-day runs: 0
30-day runs: 1
Model's Last Updated: August 21 2023
text-generation

Introduction of starcoderplus

Model Details of starcoderplus

StarCoderPlus

Play with the instruction-tuned StarCoderPlus at StarChat-Beta .

Table of Contents
  1. Model Summary
  2. Use
  3. Limitations
  4. Training
  5. License
Model Summary

StarCoderPlus is a fine-tuned version of StarCoderBase on a mix of:

It's a 15.5B parameter Language Model trained on English and 80+ programming languages. The model uses Multi Query Attention , a context window of 8192 tokens , and was trained using the Fill-in-the-Middle objective on 1.6 trillion tokens.

Use
Intended use

The model was trained on English and GitHub code. As such it is not an instruction model and commands like "Write a function that computes the square root." do not work well. However, the instruction-tuned version in StarChat makes a capable assistant.

Feel free to share your generations in the Community tab!

Generation
# pip install -q transformers
from transformers import AutoModelForCausalLM, AutoTokenizer

checkpoint = "bigcode/starcoderplus"
device = "cuda" # for GPU usage or "cpu" for CPU usage

tokenizer = AutoTokenizer.from_pretrained(checkpoint)
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)

inputs = tokenizer.encode("def print_hello_world():", return_tensors="pt").to(device)
outputs = model.generate(inputs)
print(tokenizer.decode(outputs[0]))
Fill-in-the-middle

Fill-in-the-middle uses special tokens to identify the prefix/middle/suffix part of the input and output:

input_text = "<fim_prefix>def print_hello_world():\n    <fim_suffix>\n    print('Hello world!')<fim_middle>"
inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
outputs = model.generate(inputs)
print(tokenizer.decode(outputs[0]))
Attribution & Other Requirements

The training code dataset of the model was filtered for permissive licenses only. Nevertheless, the model can generate source code verbatim from the dataset. The code's license might require attribution and/or other specific requirements that must be respected. We provide a search index that let's you search through the pretraining data to identify where generated code came from and apply the proper attribution to your code.

Limitations

The model has been trained on a mixture of English text from the web and GitHub code. Therefore it might encounter limitations when working with non-English text, and can carry the stereotypes and biases commonly encountered online. Additionally, the generated code should be used with caution as it may contain errors, inefficiencies, or potential vulnerabilities. For a more comprehensive understanding of the base model's code limitations, please refer to See StarCoder paper .

Training

StarCoderPlus is a fine-tuned version on 600B English and code tokens of StarCoderBase, which was pre-trained on 1T code tokens. Below are the fine-tuning details:

Model
  • Architecture: GPT-2 model with multi-query attention and Fill-in-the-Middle objective
  • Finetuning steps: 150k
  • Finetuning tokens: 600B
  • Precision: bfloat16
Hardware
  • GPUs: 512 Tesla A100
  • Training time: 14 days
Software

License

The model is licensed under the BigCode OpenRAIL-M v1 license agreement. You can find the full agreement here .

Runs of bigcode starcoderplus on huggingface.co

2
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
1
30-day runs

More Information About starcoderplus huggingface.co Model

starcoderplus huggingface.co

starcoderplus huggingface.co is an AI model on huggingface.co that provides starcoderplus's model effect (), which can be used instantly with this bigcode starcoderplus model. huggingface.co supports a free trial of the starcoderplus model, and also provides paid use of the starcoderplus. Support call starcoderplus model through api, including Node.js, Python, http.

starcoderplus huggingface.co Url

https://huggingface.co/bigcode/starcoderplus

bigcode starcoderplus online free

starcoderplus huggingface.co is an online trial and call api platform, which integrates starcoderplus's modeling effects, including api services, and provides a free online trial of starcoderplus, you can try starcoderplus online for free by clicking the link below.

bigcode starcoderplus online free url in huggingface.co:

https://huggingface.co/bigcode/starcoderplus

starcoderplus install

starcoderplus is an open source model from GitHub that offers a free installation service, and any user can find starcoderplus on GitHub to install. At the same time, huggingface.co provides the effect of starcoderplus install, users can directly use starcoderplus installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

starcoderplus install url in huggingface.co:

https://huggingface.co/bigcode/starcoderplus

Url of starcoderplus

starcoderplus huggingface.co Url

Provider of starcoderplus huggingface.co

bigcode
ORGANIZATIONS

Other API from bigcode

huggingface.co

Total runs: 123.8K
Run Growth: -84.2K
Growth Rate: -68.04%
Updated:March 04 2024
huggingface.co

Total runs: 37.6K
Run Growth: 29.1K
Growth Rate: 77.37%
Updated:June 11 2024
huggingface.co

Total runs: 9.4K
Run Growth: -10.0K
Growth Rate: -106.65%
Updated:October 09 2024
huggingface.co

Total runs: 5.8K
Run Growth: 444
Growth Rate: 7.62%
Updated:October 13 2023
huggingface.co

Total runs: 4.4K
Run Growth: 2.7K
Growth Rate: 60.68%
Updated:May 10 2023
huggingface.co

Total runs: 468
Run Growth: 82
Growth Rate: 17.52%
Updated:July 24 2023
huggingface.co

Total runs: 370
Run Growth: 189
Growth Rate: 51.08%
Updated:August 18 2023
huggingface.co

Total runs: 222
Run Growth: 26
Growth Rate: 11.71%
Updated:August 05 2023
huggingface.co

Total runs: 193
Run Growth: 82
Growth Rate: 42.49%
Updated:August 05 2023
huggingface.co

Total runs: 191
Run Growth: 5
Growth Rate: 2.62%
Updated:August 18 2023
huggingface.co

Total runs: 11
Run Growth: 7
Growth Rate: 63.64%
Updated:January 02 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 28 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 24 2025