mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #147] Fine tuning #114
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/Janus#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @a-hamdi on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/147
It would be amazing if there is a fine tuning script to use on this amazing model!
@ntanhfai commented on GitHub (Feb 7, 2025):
right, without fine-tuning, its not much valuable
@ntanhfai commented on GitHub (Feb 7, 2025):
I recommend the following fine tune:
@a-hamdi commented on GitHub (Feb 7, 2025):
@ntanhfai Thank you for the script! I'm actually more interested in fine-tuning it for image generation. Is there a parameter I should change to output an image instead of text? Or is it possible to do both?
@7125messi commented on GitHub (Feb 10, 2025):
@ntanhfai KeyError: 'inputs_embeds'???
@SouLeo commented on GitHub (Feb 10, 2025):
Hi @ntanhfai , I am trying to get your basic script to work, but I'm having issues with the default HuggingFace Trainer. From the looks of it, I may have the same issue as @7125messi.
I either get this error, when using your dictionary structure from the
preprocess_function:Or when I alter the structure to use
input_ids, I get this error:I'm not very familiar with the Trainer, but if I'm hitting the
_forward_unimplemented()method, does this mean that the code base doesn't support fine tuning? I'm sorry for my confusion.Also, were you able to run the script you shared in the thread or was that pseudo-code?
Thank you!!
@jinghanSunn commented on GitHub (Feb 13, 2025):
same error
@NTUYWANG103 commented on GitHub (Mar 18, 2025):
Do you find the solution? Thanks!
@Vheektoh commented on GitHub (Apr 8, 2025):
i am having the same issue, the janus developers just did a not so good job in their repo...this one also is giving same issues with the forward pass