We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Team,
I would like to instruct fine tune IDEFICS on custom dataset. Could you provide the training script used to produce idefics-9b-instruct ?
idefics-9b-instruct
I suppose changes will be need to following snippets:
labels should correspond to responses/answers to the input instructions:
labels
notebooks/examples/idefics/idefics_zero3_finetuning/idefics_zero3_finetuning.py
Line 71 in 1dda4aa
Modifying the logic before loss computation: https://github.com/huggingface/transformers/blob/bd50402b56980ff17e957342ef69bd9b0dd45a7b/src/transformers/models/idefics/modeling_idefics.py#L1508C1-L1523C97
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi Team,
I would like to instruct fine tune IDEFICS on custom dataset. Could you provide the training script used to produce
idefics-9b-instruct
?I suppose changes will be need to following snippets:
labels
should correspond to responses/answers to the input instructions:notebooks/examples/idefics/idefics_zero3_finetuning/idefics_zero3_finetuning.py
Line 71 in 1dda4aa
Modifying the logic before loss computation:
https://github.com/huggingface/transformers/blob/bd50402b56980ff17e957342ef69bd9b0dd45a7b/src/transformers/models/idefics/modeling_idefics.py#L1508C1-L1523C97
The text was updated successfully, but these errors were encountered: