[GH-ISSUE #40] How to fine-tune deepseek v2 models? #39

Open
opened 2026-10-26 21:07:05 +00:00 by bsakaguchi · 6 comments
Owner

Originally created by @satkatai on GitHub (May 19, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V2/issues/40

Hi,

Can you please give us instructions about fine-tuning deepseekv2 model? Can we use finetune.py script from DeepSeek-MoE
https://github.com/deepseek-ai/DeepSeek-MoE/blob/main/finetune/finetune.py

Originally created by @satkatai on GitHub (May 19, 2024). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V2/issues/40 Hi, Can you please give us instructions about fine-tuning deepseekv2 model? Can we use `finetune.py` script from `DeepSeek-MoE` https://github.com/deepseek-ai/DeepSeek-MoE/blob/main/finetune/finetune.py
Author
Owner

@luofuli commented on GitHub (May 27, 2024):

No plans...

<!-- gh-comment-id:2133249761 --> @luofuli commented on GitHub (May 27, 2024): No plans...
Author
Owner

@xidongyuandong commented on GitHub (Jul 13, 2024):

No plans...

why,we have the needs

<!-- gh-comment-id:2226737866 --> @xidongyuandong commented on GitHub (Jul 13, 2024): > No plans... why,we have the needs
Author
Owner

@TMelikhov commented on GitHub (Jul 25, 2024):

We are also very interested to do this. So far our experiments have been unsuccessful. It would be incredible if we could get some clues.

<!-- gh-comment-id:2250740291 --> @TMelikhov commented on GitHub (Jul 25, 2024): We are also very interested to do this. So far our experiments have been unsuccessful. It would be incredible if we could get some clues.
Author
Owner

@xidongyuandong commented on GitHub (Jul 26, 2024):

We are also very interested to do this. So far our experiments have been unsuccessful. It would be incredible if we could get some clues.

what is the problem? i have use some repo like MFTCoder/Firefly to train it successful except for the eval during training; and loss decrease normal. These training pipeline will be ok?

<!-- gh-comment-id:2252197999 --> @xidongyuandong commented on GitHub (Jul 26, 2024): > We are also very interested to do this. So far our experiments have been unsuccessful. It would be incredible if we could get some clues. what is the problem? i have use some repo like MFTCoder/Firefly to train it successful except for the eval during training; and loss decrease normal. These training pipeline will be ok?
Author
Owner

@xidongyuandong commented on GitHub (Jul 26, 2024):

We are also very interested to do this. So far our experiments have been unsuccessful. It would be incredible if we could get some clues.
I have record the bugs during match deepseek-v2 to training repos
can we have a wechat to communicate these cases? my : yiyepiaoling0715

<!-- gh-comment-id:2252200029 --> @xidongyuandong commented on GitHub (Jul 26, 2024): > We are also very interested to do this. So far our experiments have been unsuccessful. It would be incredible if we could get some clues. I have record the bugs during match deepseek-v2 to training repos can we have a wechat to communicate these cases? my : yiyepiaoling0715
Author
Owner

@xidongyuandong commented on GitHub (Jul 26, 2024):

like this
image

<!-- gh-comment-id:2252214265 --> @xidongyuandong commented on GitHub (Jul 26, 2024): like this ![image](https://github.com/user-attachments/assets/e50e19eb-6a1c-4502-90df-e91aa8529e34)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-V2#39
No description provided.