NVIDIA framework and contribution updates.

#3
by Criztov - opened
Files changed (3) hide show
  1. README.md +11 -74
  2. config.json +2 -3
  3. generation_config.json +2 -2
README.md CHANGED
@@ -1,9 +1,6 @@
1
  ---
2
  pipeline_tag: text-generation
3
- inference:
4
- parameters:
5
- temperature: 0.2
6
- top_p: 0.95
7
  widget:
8
  - text: 'def print_hello_world():'
9
  example_title: Hello world
@@ -14,57 +11,6 @@ license: bigcode-openrail-m
14
  library_name: transformers
15
  tags:
16
  - code
17
- model-index:
18
- - name: starcoder2-15b
19
- results:
20
- - task:
21
- type: text-generation
22
- dataset:
23
- name: CruxEval-I
24
- type: cruxeval-i
25
- metrics:
26
- - type: pass@1
27
- value: 48.1
28
- - task:
29
- type: text-generation
30
- dataset:
31
- name: DS-1000
32
- type: ds-1000
33
- metrics:
34
- - type: pass@1
35
- value: 33.8
36
- - task:
37
- type: text-generation
38
- dataset:
39
- name: GSM8K (PAL)
40
- type: gsm8k-pal
41
- metrics:
42
- - type: accuracy
43
- value: 65.1
44
- - task:
45
- type: text-generation
46
- dataset:
47
- name: HumanEval+
48
- type: humanevalplus
49
- metrics:
50
- - type: pass@1
51
- value: 37.8
52
- - task:
53
- type: text-generation
54
- dataset:
55
- name: HumanEval
56
- type: humaneval
57
- metrics:
58
- - type: pass@1
59
- value: 46.3
60
- - task:
61
- type: text-generation
62
- dataset:
63
- name: RepoBench-v1.1
64
- type: repobench-v1.1
65
- metrics:
66
- - type: edit-smiliarity
67
- value: 74.08
68
  ---
69
 
70
  # StarCoder2
@@ -75,12 +21,12 @@ model-index:
75
 
76
  ## Table of Contents
77
 
78
- 1. [Model Summary](#model-summary)
79
- 2. [Use](#use)
80
- 3. [Limitations](#limitations)
81
- 4. [Training](#training)
82
- 5. [License](#license)
83
- 6. [Citation](#citation)
84
 
85
  ## Model Summary
86
 
@@ -88,7 +34,7 @@ StarCoder2-15B model is a 15B parameter model trained on 600+ programming langua
88
  The model was trained with [NVIDIA NeMo™ Framework](https://www.nvidia.com/en-us/ai-data-science/generative-ai/nemo-framework/) using the [NVIDIA Eos Supercomputer](https://blogs.nvidia.com/blog/eos/) built with [NVIDIA DGX H100](https://www.nvidia.com/en-us/data-center/dgx-h100/) systems.
89
 
90
  - **Project Website:** [bigcode-project.org](https://www.bigcode-project.org)
91
- - **Paper:** [Link](https://huggingface.co/papers/2402.19173)
92
  - **Point of Contact:** [contact@bigcode-project.org](mailto:contact@bigcode-project.org)
93
  - **Languages:** 600+ Programming languages
94
 
@@ -173,11 +119,11 @@ Memory footprint: 9224.60 MB
173
  ```
174
  ### Attribution & Other Requirements
175
 
176
- The pretraining dataset of the model was filtered for permissive licenses and code with no license 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/search-v2) that let's you search through the pretraining data to identify where generated code came from and apply the proper attribution to your code.
177
 
178
  # Limitations
179
 
180
- The model has been trained on source code from 600+ programming languages. The predominant language in source is English although other languages are also present. As such the model is capable to generate 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://huggingface.co/papers/2402.19173) for an in-depth discussion of the model limitations.
181
 
182
  # Training
183
 
@@ -203,13 +149,4 @@ The model is licensed under the BigCode OpenRAIL-M v1 license agreement. You can
203
 
204
  # Citation
205
 
206
- ```bash
207
- @misc{lozhkov2024starcoder,
208
- title={StarCoder 2 and The Stack v2: The Next Generation},
209
- author={Anton Lozhkov and Raymond Li and Loubna Ben Allal and Federico Cassano and Joel Lamy-Poirier and Nouamane Tazi and Ao Tang and Dmytro Pykhtar and Jiawei Liu and Yuxiang Wei and Tianyang Liu and Max Tian and Denis Kocetkov and Arthur Zucker and Younes Belkada and Zijian Wang and Qian Liu and Dmitry Abulkhanov and Indraneil Paul and Zhuang Li and Wen-Ding Li and Megan Risdal and Jia Li and Jian Zhu and Terry Yue Zhuo and Evgenii Zheltonozhskii and Nii Osae Osae Dade and Wenhao Yu and Lucas Krauß and Naman Jain and Yixuan Su and Xuanli He and Manan Dey and Edoardo Abati and Yekun Chai and Niklas Muennighoff and Xiangru Tang and Muhtasham Oblokulov and Christopher Akiki and Marc Marone and Chenghao Mou and Mayank Mishra and Alex Gu and Binyuan Hui and Tri Dao and Armel Zebaze and Olivier Dehaene and Nicolas Patry and Canwen Xu and Julian McAuley and Han Hu and Torsten Scholak and Sebastien Paquet and Jennifer Robinson and Carolyn Jane Anderson and Nicolas Chapados and Mostofa Patwary and Nima Tajbakhsh and Yacine Jernite and Carlos Muñoz Ferrandis and Lingming Zhang and Sean Hughes and Thomas Wolf and Arjun Guha and Leandro von Werra and Harm de Vries},
210
- year={2024},
211
- eprint={2402.19173},
212
- archivePrefix={arXiv},
213
- primaryClass={cs.SE}
214
- }
215
- ```
 
1
  ---
2
  pipeline_tag: text-generation
3
+ inference: true
 
 
 
4
  widget:
5
  - text: 'def print_hello_world():'
6
  example_title: Hello world
 
11
  library_name: transformers
12
  tags:
13
  - code
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ---
15
 
16
  # StarCoder2
 
21
 
22
  ## Table of Contents
23
 
24
+ 1. [Model Summary](##model-summary)
25
+ 2. [Use](##use)
26
+ 3. [Limitations](##limitations)
27
+ 4. [Training](##training)
28
+ 5. [License](##license)
29
+ 6. [Citation](##citation)
30
 
31
  ## Model Summary
32
 
 
34
  The model was trained with [NVIDIA NeMo™ Framework](https://www.nvidia.com/en-us/ai-data-science/generative-ai/nemo-framework/) using the [NVIDIA Eos Supercomputer](https://blogs.nvidia.com/blog/eos/) built with [NVIDIA DGX H100](https://www.nvidia.com/en-us/data-center/dgx-h100/) systems.
35
 
36
  - **Project Website:** [bigcode-project.org](https://www.bigcode-project.org)
37
+ - **Paper:** [Link](https://huggingface.co/datasets/bigcode/the-stack-v2/)
38
  - **Point of Contact:** [contact@bigcode-project.org](mailto:contact@bigcode-project.org)
39
  - **Languages:** 600+ Programming languages
40
 
 
119
  ```
120
  ### Attribution & Other Requirements
121
 
122
+ The pretraining dataset of the model was filtered for permissive licenses and code with no license 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](TODO) that let's you search through the pretraining data to identify where generated code came from and apply the proper attribution to your code.
123
 
124
  # Limitations
125
 
126
+ The model has been trained on source code from 600+ programming languages. The predominant language in source is English although other languages are also present. As such the model is capable to generate 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](TODO) for an in-depth discussion of the model limitations.
127
 
128
  # Training
129
 
 
149
 
150
  # Citation
151
 
152
+ _Coming soon_
 
 
 
 
 
 
 
 
 
config.json CHANGED
@@ -3,9 +3,7 @@
3
  "architectures": [
4
  "Starcoder2ForCausalLM"
5
  ],
6
- "attention_dropout": 0.1,
7
- "residual_dropout": 0.1,
8
- "embedding_dropout": 0.1,
9
  "bos_token_id": 0,
10
  "eos_token_id": 0,
11
  "hidden_act": "gelu_pytorch_tanh",
@@ -20,6 +18,7 @@
20
  "num_attention_heads": 48,
21
  "num_hidden_layers": 40,
22
  "num_key_value_heads": 4,
 
23
  "rope_theta": 100000,
24
  "sliding_window": 4096,
25
  "tie_word_embeddings": false,
 
3
  "architectures": [
4
  "Starcoder2ForCausalLM"
5
  ],
6
+ "attention_dropout": 0.0,
 
 
7
  "bos_token_id": 0,
8
  "eos_token_id": 0,
9
  "hidden_act": "gelu_pytorch_tanh",
 
18
  "num_attention_heads": 48,
19
  "num_hidden_layers": 40,
20
  "num_key_value_heads": 4,
21
+ "rms_norm_eps": 1e-05,
22
  "rope_theta": 100000,
23
  "sliding_window": 4096,
24
  "tie_word_embeddings": false,
generation_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 0,
4
- "eos_token_id": 0,
5
  "transformers_version": "4.37.0.dev0"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
  "transformers_version": "4.37.0.dev0"
6
  }