facebook / incoder-1B

huggingface.co
Total runs: 28.0K
24-hour runs: 0
7-day runs: -7.3K
30-day runs: 18.7K
Model's Last Updated: January 25 2023
text-generation

Introduction of incoder-1B

Model Details of incoder-1B

InCoder 1B

A 1B parameter decoder-only Transformer model trained on code using a causal-masked objective, which allows inserting/infilling code as well as standard left-to-right generation.

The model was trained on public open-source repositories with a permissive, non-copyleft, license (Apache 2.0, MIT, BSD-2 or BSD-3) from GitHub and GitLab, as well as StackOverflow. Repositories primarily contained Python and JavaScript, but also include code from 28 languages, as well as StackOverflow.

For more information, see our:

A larger, 6B, parameter model is also available at facebook/incoder-6B .

Requirements

pytorch , tokenizers , and transformers . Our model requires HF's tokenizers >= 0.12.1, due to changes in the pretokenizer.

pip install torch
pip install "tokenizers>=0.12.1"
pip install transformers
Usage

See https://github.com/dpfried/incoder for example code.

Model

model = AutoModelForCausalLM.from_pretrained("facebook/incoder-1B")

Tokenizer

tokenizer = AutoTokenizer.from_pretrained("facebook/incoder-1B")

(Note: the incoder-1B and incoder-6B tokenizers are identical, so 'facebook/incoder-6B' could also be used.)

When calling tokenizer.decode , it's important to pass clean_up_tokenization_spaces=False to avoid removing spaces after punctuation. For example:

tokenizer.decode(tokenizer.encode("from ."), clean_up_tokenization_spaces=False)

(Note: encoding prepends the <|endoftext|> token, as this marks the start of a document to our model. This token can be removed from the decoded output by passing skip_special_tokens=True to tokenizer.decode .)

License

CC-BY-NC 4.0

Credits

The model was developed by Daniel Fried, Armen Aghajanyan, Jessy Lin, Sida Wang, Eric Wallace, Freda Shi, Ruiqi Zhong, Wen-tau Yih, Luke Zettlemoyer and Mike Lewis.

Thanks to Lucile Saulnier, Leandro von Werra, Nicolas Patry, Suraj Patil, Omar Sanseviero, and others at HuggingFace for help with the model release, and to Naman Goyal and Stephen Roller for the code our demo was based on!

Runs of facebook incoder-1B on huggingface.co

28.0K
Total runs
0
24-hour runs
-7.0K
3-day runs
-7.3K
7-day runs
18.7K
30-day runs

More Information About incoder-1B huggingface.co Model

More incoder-1B license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

incoder-1B huggingface.co

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

facebook incoder-1B online free

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

facebook incoder-1B online free url in huggingface.co:

https://huggingface.co/facebook/incoder-1B

incoder-1B install

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

incoder-1B install url in huggingface.co:

https://huggingface.co/facebook/incoder-1B

Url of incoder-1B

incoder-1B huggingface.co Url

Provider of incoder-1B huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 7.6M
Run Growth: -1.7M
Growth Rate: -22.97%
Updated:September 15 2023
huggingface.co

Total runs: 5.3M
Run Growth: -2.6M
Growth Rate: -49.46%
Updated:January 20 2022
huggingface.co

Total runs: 3.3M
Run Growth: 83.9K
Growth Rate: 2.55%
Updated:January 25 2024
huggingface.co

Total runs: 1.9M
Run Growth: -386.9K
Growth Rate: -20.72%
Updated:September 06 2023
huggingface.co

Total runs: 1.5M
Run Growth: -821.6K
Growth Rate: -57.25%
Updated:December 28 2021
huggingface.co

Total runs: 1.4M
Run Growth: -2.4M
Growth Rate: -174.88%
Updated:September 06 2023
huggingface.co

Total runs: 1.3M
Run Growth: -1.5M
Growth Rate: -118.61%
Updated:November 21 2025
huggingface.co

Total runs: 1.1M
Run Growth: -1.2M
Growth Rate: -104.97%
Updated:November 16 2023
huggingface.co

Total runs: 983.5K
Run Growth: -2.6M
Growth Rate: -259.34%
Updated:January 17 2024
huggingface.co

Total runs: 943.2K
Run Growth: -1.0M
Growth Rate: -110.16%
Updated:March 23 2023
huggingface.co

Total runs: 530.7K
Run Growth: 134.1K
Growth Rate: 25.26%
Updated:September 15 2023
huggingface.co

Total runs: 348.8K
Run Growth: -518.0K
Growth Rate: -148.52%
Updated:November 17 2022
huggingface.co

Total runs: 340.0K
Run Growth: -148.2K
Growth Rate: -44.74%
Updated:May 22 2023
huggingface.co

Total runs: 257.7K
Run Growth: -27.7K
Growth Rate: -10.73%
Updated:January 12 2024
huggingface.co

Total runs: 242.5K
Run Growth: -23.6K
Growth Rate: -9.73%
Updated:March 17 2025
huggingface.co

Total runs: 236.9K
Run Growth: 14.3K
Growth Rate: 6.02%
Updated:July 23 2024
huggingface.co

Total runs: 227.9K
Run Growth: -144.9K
Growth Rate: -65.67%
Updated:February 29 2024
huggingface.co

Total runs: 205.6K
Run Growth: -42.8K
Growth Rate: -20.98%
Updated:June 15 2023
huggingface.co

Total runs: 185.7K
Run Growth: -286.0K
Growth Rate: -147.90%
Updated:September 01 2023
huggingface.co

Total runs: 154.6K
Run Growth: 18.8K
Growth Rate: 12.17%
Updated:January 12 2024
huggingface.co

Total runs: 134.9K
Run Growth: -8.8K
Growth Rate: -6.50%
Updated:September 15 2023
huggingface.co

Total runs: 121.7K
Run Growth: -206.6K
Growth Rate: -157.81%
Updated:November 20 2023
huggingface.co

Total runs: 114.6K
Run Growth: -36.9K
Growth Rate: -33.30%
Updated:September 06 2023
huggingface.co

Total runs: 105.2K
Run Growth: -187.0K
Growth Rate: -177.77%
Updated:March 28 2026
huggingface.co

Total runs: 95.9K
Run Growth: -25.2K
Growth Rate: -26.70%
Updated:September 06 2023
huggingface.co

Total runs: 94.8K
Run Growth: -91.4K
Growth Rate: -96.41%
Updated:March 27 2026
huggingface.co

Total runs: 83.3K
Run Growth: -21.6K
Growth Rate: -27.04%
Updated:January 25 2023
huggingface.co

Total runs: 81.2K
Run Growth: -180.2K
Growth Rate: -222.06%
Updated:February 12 2023
huggingface.co

Total runs: 79.0K
Run Growth: -263.7K
Growth Rate: -341.82%
Updated:June 03 2022
huggingface.co

Total runs: 72.8K
Run Growth: -84.7K
Growth Rate: -116.24%
Updated:June 13 2023
huggingface.co

Total runs: 61.8K
Run Growth: 43.1K
Growth Rate: 69.72%
Updated:June 13 2023
huggingface.co

Total runs: 58.2K
Run Growth: 37.1K
Growth Rate: 63.81%
Updated:March 27 2026
huggingface.co

Total runs: 56.3K
Run Growth: -42.7K
Growth Rate: -76.94%
Updated:May 22 2023
huggingface.co

Total runs: 35.5K
Run Growth: 34.6K
Growth Rate: 97.58%
Updated:January 25 2023