rajab7 commited on
Commit
8740e1b
·
verified ·
1 Parent(s): 19c1733

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md CHANGED
@@ -66,4 +66,46 @@ input_text = "<fim_prefix>public class HelloWorld {\n public static void main
66
  inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
67
  outputs = model.generate(inputs)
68
  print(tokenizer.decode(outputs[0]))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  ```
 
66
  inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
67
  outputs = model.generate(inputs)
68
  print(tokenizer.decode(outputs[0]))
69
+ ```
70
+
71
+ ### Attribution & Other Requirements
72
+
73
+ 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.
74
+
75
+ # Limitations
76
+
77
+ 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.
78
+
79
+ # Training
80
+
81
+ ## Model
82
+
83
+ - **Architecture:** GPT-2 model with multi-query attention and Fill-in-the-Middle objective
84
+ - **Pretraining steps:** k
85
+ - **Pretraining tokens:** 1 trillion
86
+ - **Precision:** bfloat16
87
+
88
+ ## Hardware
89
+
90
+ - **GPUs:** 6 NVIDIA A100 80GB
91
+ - **Training time:** days
92
+
93
+ ## Software
94
+
95
+ - **Orchestration:** [Megatron-LM](https://github.com/bigcode-project/Megatron-LM)
96
+ - **Neural networks:** [PyTorch](https://github.com/pytorch/pytorch)
97
+ - **BP16 if applicable:** [apex](https://github.com/NVIDIA/apex)
98
+
99
+ # License
100
+ The model is licensed under the Apache license 2.0 license agreement. You can find the full agreement [here](https://www.apache.org/licenses/LICENSE-2.0).
101
+ # Citation
102
+ ```
103
+ @article{li2023starcoder,
104
+ title={JavaCoder: may the source be with you!},
105
+ 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},
106
+ year={2023},
107
+ eprint={2305.06161},
108
+ archivePrefix={arXiv},
109
+ primaryClass={cs.CL}
110
+ }
111
  ```