Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,57 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
base_model: bigcode/starcoder2-7b
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
library_name: transformers
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- code
|
| 10 |
+
- starcoder
|
| 11 |
+
- bigcode
|
| 12 |
+
- sft
|
| 13 |
+
- 7b
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
|
| 19 |
+
# Starcoder-2-chat
|
| 20 |
+
|
| 21 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 22 |
+
Starcoder-2-chat is an instruction fine-tuned of [bigcode/starcoder2-7b](https://huggingface.co/bigcode/starcoder2-7b) using the [glaiveai/glaive-code-assistant-v2](https://huggingface.co/datasets/glaiveai/glaive-code-assistant-v2) dataset using LoRA.
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
## 🏆 Evaluation results
|
| 26 |
+
|
| 27 |
+
### HUMANEVAL
|
| 28 |
+
0.3231707317073171
|
| 29 |
+
|
| 30 |
+
### HUMANEVALPLUS
|
| 31 |
+
0.25609756097560976
|
| 32 |
+
|
| 33 |
+
### INSTRUCT-HUMANEVAL
|
| 34 |
+
0.3231707317073171
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 5e-7
|
| 40 |
+
- train_batch_size: 2
|
| 41 |
+
- eval_batch_size: Not specified
|
| 42 |
+
- seed: Not specified
|
| 43 |
+
- gradient_accumulation_steps: 8
|
| 44 |
+
- total_train_batch_size: Not specified
|
| 45 |
+
- optimizer: PagedAdamW with 32-bit precision
|
| 46 |
+
- lr_scheduler_type: Cosine
|
| 47 |
+
- lr_scheduler_warmup_steps: 100
|
| 48 |
+
- training_epoch: 1
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
### Framework versions
|
| 52 |
+
|
| 53 |
+
- Transformers 4.39.0.dev0
|
| 54 |
+
- Peft 0.9.1.dev0
|
| 55 |
+
- Datasets 2.18.0
|
| 56 |
+
- torch 2.2.0
|
| 57 |
+
- accelerate 0.27.2
|