Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-sa-4.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
tags:
|
6 |
+
- text-generation-inference
|
7 |
+
pipeline_tag: text-generation
|
8 |
+
---
|
9 |
+
|
10 |
+
|
11 |
+
## Original model card
|
12 |
+
|
13 |
+
Buy me a coffee if you like this project ;)
|
14 |
+
<a href="https://www.buymeacoffee.com/s3nh"><img src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-1.svg" alt=""></a>
|
15 |
+
|
16 |
+
#### Description
|
17 |
+
|
18 |
+
GPTQ Format model files for [This project](https://huggingface.co/bigcode/starcoderbase-7b).
|
19 |
+
|
20 |
+
|
21 |
+
### inference
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
# Original model card
|
28 |
+
|
29 |
+
|
30 |
+
### Attribution & Other Requirements
|
31 |
+
|
32 |
+
The pretraining 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](https://huggingface.co/spaces/bigcode/starcoder-search) that let's you search through the pretraining data to identify where generated code came from and apply the proper attribution to your code.
|
33 |
+
|
34 |
+
# Limitations
|
35 |
+
|
36 |
+
The model has been trained on source code from 80+ programming languages. The predominant natural language in source code is English although other languages are also present. As such the model is capable of generating code snippets provided some context but the generated code is not guaranteed to work as intended. It can be inefficient, contain bugs or exploits. See [the paper](https://drive.google.com/file/d/1cN-b9GnWtHzQRoE7M7gAEyivY0kl4BYs/view) for an in-depth discussion of the model limitations.
|
37 |
+
|
38 |
+
# Training
|
39 |
+
|
40 |
+
## Model
|
41 |
+
|
42 |
+
- **Architecture:** GPT-2 model with multi-query attention and Fill-in-the-Middle objective
|
43 |
+
- **Pretraining steps:** 500k
|
44 |
+
- **Pretraining tokens:** 1 trillion
|
45 |
+
- **Precision:** bfloat16
|
46 |
+
|
47 |
+
## Hardware
|
48 |
+
|
49 |
+
- **GPUs:** 128 Tesla A100
|
50 |
+
- **Training time:** 11 days
|
51 |
+
|
52 |
+
## Software
|
53 |
+
|
54 |
+
- **Orchestration:** [Megatron-LM](https://github.com/bigcode-project/Megatron-LM)
|
55 |
+
- **Neural networks:** [PyTorch](https://github.com/pytorch/pytorch)
|
56 |
+
- **BP16 if applicable:** [apex](https://github.com/NVIDIA/apex)
|
57 |
+
|
58 |
+
# License
|
59 |
+
The model is licensed under the BigCode OpenRAIL-M v1 license agreement. You can find the full agreement [here](https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement).
|
60 |
+
# Citation
|
61 |
+
```
|
62 |
+
@article{li2023starcoder,
|
63 |
+
title={StarCoder: may the source be with you!},
|
64 |
+
author={Raymond Li and Loubna Ben Allal and Yangtian Zi and Niklas Muennighoff and Denis Kocetkov and Chenghao Mou and Marc Marone and Christopher Akiki and Jia Li and Jenny Chim and Qian Liu and Evgenii Zheltonozhskii and Terry Yue Zhuo and Thomas Wang and Olivier Dehaene and Mishig Davaadorj and Joel Lamy-Poirier and João Monteiro and Oleh Shliazhko and Nicolas Gontier and Nicholas Meade and Armel Zebaze and Ming-Ho Yee and Logesh Kumar Umapathi and Jian Zhu and Benjamin Lipkin and Muhtasham Oblokulov and Zhiruo Wang and Rudra Murthy and Jason Stillerman and Siva Sankalp Patel and Dmitry Abulkhanov and Marco Zocca and Manan Dey and Zhihan Zhang and Nour Fahmy and Urvashi Bhattacharyya and Wenhao Yu and Swayam Singh and Sasha Luccioni and Paulo Villegas and Maxim Kunakov and Fedor Zhdanov and Manuel Romero and Tony Lee and Nadav Timor and Jennifer Ding and Claire Schlesinger and Hailey Schoelkopf and Jan Ebert and Tri Dao and Mayank Mishra and Alex Gu and Jennifer Robinson and Carolyn Jane Anderson and Brendan Dolan-Gavitt and Danish Contractor and Siva Reddy and Daniel Fried and Dzmitry Bahdanau and Yacine Jernite and Carlos Muñoz Ferrandis and Sean Hughes and Thomas Wolf and Arjun Guha and Leandro von Werra and Harm de Vries},
|
65 |
+
year={2023},
|
66 |
+
eprint={2305.06161},
|
67 |
+
archivePrefix={arXiv},
|
68 |
+
primaryClass={cs.CL}
|
69 |
+
}
|
70 |
+
```
|