File size: 1,427 Bytes
ef84333
2d8d282
 
 
 
 
 
 
 
 
 
 
 
ef84333
1db09f3
2d8d282
 
 
1db09f3
2d8d282
 
 
 
 
 
 
a5bc332
 
2d8d282
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
license: cc-by-nc-4.0
base_model: bigcode/starcoder2-7b
language:
- en
library_name: transformers
pipeline_tag: text-generation
tags:
- code
- starcoder
- bigcode
- sft
- 7b
---
# Starcoder-2-chat

![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/64fc6d81d75293f417fee1d1/wBG0LiRCyd84baFneNgpg.jpeg)



<!-- Provide a quick summary of what the model is/does. -->
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.


## 🏆 Evaluation results

Thanks to [Muhammad Bin Usman](https://www.linkedin.com/in/muhammad-bin-usman/) for running evals on Starcoder2-chat.

### HUMANEVAL
    0.3231707317073171
    
### HUMANEVALPLUS
    0.25609756097560976

### INSTRUCT-HUMANEVAL
    0.3231707317073171

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 5e-7
- train_batch_size: 2
- eval_batch_size: Not specified
- seed: Not specified
- gradient_accumulation_steps: 8
- total_train_batch_size: Not specified
- optimizer: PagedAdamW with 32-bit precision
- lr_scheduler_type: Cosine
- lr_scheduler_warmup_steps: 100
- training_epoch: 1


### Framework versions

- Transformers 4.39.0.dev0
- Peft 0.9.1.dev0
- Datasets 2.18.0
- torch 2.2.0
- accelerate 0.27.2