Datasets:

Modalities:
Text
Formats:
json
Languages:
English
Size:
< 1K
ArXiv:
Tags:
code
Libraries:
Datasets
pandas
License:
TechxGenus commited on
Commit
3166e0a
1 Parent(s): f97d5f5

Upload 2 files

Browse files
Files changed (2) hide show
  1. 20240121-Jul.jsonl +0 -0
  2. README.md +35 -0
20240121-Jul.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
README.md CHANGED
@@ -3,4 +3,39 @@ license: other
3
  license_name: deepseek
4
  license_link: >-
5
  https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-instruct/blob/main/LICENSE
 
 
 
 
 
 
6
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  license_name: deepseek
4
  license_link: >-
5
  https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-instruct/blob/main/LICENSE
6
+ task_categories:
7
+ - text-generation
8
+ language:
9
+ - en
10
+ tags:
11
+ - code
12
  ---
13
+
14
+ ## LeetCode Contest Benchmark
15
+
16
+ A new benchmark for evaluating Code LLMs proposed by [DeepSeek-Coder](https://arxiv.org/abs/2401.14196), which consists of the latest algorithm problems of different difficulties.
17
+
18
+ ## Usage
19
+
20
+ ```
21
+ git clone https://github.com/deepseek-ai/DeepSeek-Coder.git
22
+ cd Evaluation/LeetCode
23
+
24
+ # Set the model or path here
25
+ MODEL="deepseek-ai/deepseek-coder-7b-instruct"
26
+
27
+ python vllm_inference.py --model_name_or_path $MODEL --saved_path output/20240121-Jul.deepseek-coder-7b-instruct.jsonl
28
+
29
+ python evaluate_leetcode.py --generation_path output/20240121-Jul.deepseek-coder-7b-instruct.jsonl --result_path output/20240121-Jul.deepseek-coder-7b-instruct.result.jsonl
30
+ ```
31
+
32
+ ### Citation
33
+
34
+ ```
35
+ @article{guo2024deepseekcoder,
36
+ title = {DeepSeek-Coder: When the Large Language Model Meets Programming - The Rise of Code Intelligence},
37
+ author = {Daya Guo and Qihao Zhu and Dejian Yang and Zhenda Xie and Kai Dong and Wentao Zhang and Guanting Chen and Xiao Bi and Y. Wu and Y. K. Li and Fuli Luo and Yingfei Xiong and Wenfeng Liang},
38
+ year = {2024},
39
+ journal = {arXiv preprint arXiv: 2401.14196}
40
+ }
41
+ ```