From cb1df1de2a08440699d646d1aff95cd4408b475e Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Sun, 5 Nov 2023 23:51:51 +0800 Subject: [PATCH 01/10] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 378a6c4..2ea714f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

DeepSeek Coder

-

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [Wechat(微信)]

+

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]


@@ -38,7 +38,6 @@ And the DeepSeek-Coder-Instruct-33B model after instruction tuning outperforms G More evaluation details can be found in the [Detailed Evaluation](#5-detailed-evaluation-results). - ### 3. Procedure of Data Creation and Model Training #### Data Creation From b4253af1b1ed87b766fc0c57c978f966079dafac Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Sun, 5 Nov 2023 23:53:22 +0800 Subject: [PATCH 02/10] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2ea714f..ee4993d 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ A demo is also available on the [🤗 Hugging Face Space](https://huggingface.co Here are some examples of how to use our model. -#### 1)Code Completion +#### 1) Code Completion ```python from transformers import AutoTokenizer, AutoModelForCausalLM import torch @@ -96,7 +96,7 @@ def quick_sort(arr): return quick_sort(left) + [pivot] + quick_sort(right) ``` -#### 2)Code Insertion +#### 2) Code Insertion ```python from transformers import AutoTokenizer, AutoModelForCausalLM import torch @@ -123,7 +123,7 @@ This code will output the following result: for i in range(1, len(arr)): ``` -#### 3)Chat Model Inference +#### 3) Chat Model Inference ```python from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/deepseek-coder-6.7b-instruct", trust_remote_code=True) @@ -171,7 +171,7 @@ You are an AI programming assistant, utilizing the Deepseek Coder model, develop ``` -#### 4)Repository Level Code Completion +#### 4) Repository Level Code Completion ```python from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/deepseek-coder-6.7b-base", trust_remote_code=True) @@ -264,16 +264,16 @@ In the following scenario, the Deepseek-Coder 6.7B model effectively calls a cla ### 5. Detailed Evaluation Results The reproducible code for the following evaluation results can be found in the [Evaluation](https://github.com/deepseek-ai/deepseek-coder/tree/main/Evaluation) directory. -#### 1)Multilingual HumanEval Benchmark +#### 1) Multilingual HumanEval Benchmark ![HumanEval](pictures/HumanEval.png) -#### 2)MBPP Benchmark +#### 2) MBPP Benchmark MBPP -#### 3)DS-1000 Benchmark +#### 3) DS-1000 Benchmark ![DS-1000](pictures/DS-1000.png) -#### 4)Program-Aid Math Reasoning Benchmark +#### 4) Program-Aid Math Reasoning Benchmark ![Math](pictures/Math.png) From 6eb5822ca71050dfc93d2350c1fc83d0743da97a Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Sun, 5 Nov 2023 23:55:22 +0800 Subject: [PATCH 03/10] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index ee4993d..433d9f2 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,6 @@ More evaluation details can be found in the [Detailed Evaluation](#5-detailed-ev model_pretraining - - ### 4. How to Use Before proceeding, you'll need to install the necessary dependencies. You can do this by running the following command: ``` From 96aef33e8c87e76f321e2d59e94ad14cce3f72ca Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Sun, 5 Nov 2023 23:57:24 +0800 Subject: [PATCH 04/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 433d9f2..0d0c42c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

DeepSeek Coder

-

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]

+

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]


From 89655af972cc53f7e20feb13981e260dfbc1bba8 Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Sun, 5 Nov 2023 23:57:59 +0800 Subject: [PATCH 05/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d0c42c..96c68a2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

DeepSeek Coder

-

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]

+

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]


From 0f4739607f696c39202fb01ee29e865cacadf234 Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Mon, 6 Nov 2023 00:01:05 +0800 Subject: [PATCH 06/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 96c68a2..4a3d104 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

DeepSeek Coder

-

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]

+

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]


From b93bbdc2a98b5b5bce166ba6febf35799d3387fe Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Mon, 6 Nov 2023 00:05:06 +0800 Subject: [PATCH 07/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a3d104..3a9d0c3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

DeepSeek Coder

-

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]

+

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]


From 0dcc7cc76eb6a660d292d7bf3d4b83a5b9a5457e Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Mon, 6 Nov 2023 00:07:04 +0800 Subject: [PATCH 08/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a9d0c3..e963a34 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

DeepSeek Coder

-

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]

+

[Homepage] | 🤖 [Chat with DeepSeek Coder] | 🤗 [Models Download] | [Discord] | [WeChat (微信)]


From 2bf0de3b921042e6451a257112495c4a5d416168 Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Mon, 6 Nov 2023 00:09:10 +0800 Subject: [PATCH 09/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e963a34..b284cc7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

DeepSeek Coder

-

[Homepage] | 🤖 [Chat with DeepSeek Coder] | 🤗 [Models Download] | [Discord] | [WeChat (微信)]

+

[Homepage] | 🤖 [Chat with DeepSeek Coder] | 🤗 [Models Download] | [Discord] | [WeChat (微信)]


From b2e0f2916b3e53b830754c5a9611ed3d081ddce9 Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Mon, 6 Nov 2023 00:09:52 +0800 Subject: [PATCH 10/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b284cc7..0b3b6c6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

DeepSeek Coder

-

[Homepage] | 🤖 [Chat with DeepSeek Coder] | 🤗 [Models Download] | [Discord] | [WeChat (微信)]

+

[ Homepage] | [🤖 Chat with DeepSeek Coder] | [🤗 Models Download] | [Discord] | [WeChat (微信)]