Skip to content
New issue

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

Can TRL be used to finetune non-transformer torch models? #1257

Closed
saptab opened this issue Jan 20, 2024 · 1 comment · Fixed by #1315
Closed

Can TRL be used to finetune non-transformer torch models? #1257

saptab opened this issue Jan 20, 2024 · 1 comment · Fixed by #1315

Comments

@saptab
Copy link

saptab commented Jan 20, 2024

Can TRL be used to finetune non-transformer torch models like VGG, ResNet etc?

@younesbelkada
Copy link
Contributor

hi @saptab
currently TRL only supports transformer models for text, from HF transformers library

markstur added a commit to markstur/trl that referenced this issue Feb 2, 2024
Clarify that language models must be transformers models for text.  This is a bit redundant with intro description, but attempts to better address a question that that comes up (issue 1257).

Closes: huggingface#1257
younesbelkada pushed a commit that referenced this issue Feb 15, 2024
Clarify that language models must be transformers models for text.  This is a bit redundant with intro description, but attempts to better address a question that that comes up (issue 1257).

Closes: #1257
lapp0 pushed a commit to lapp0/trl that referenced this issue May 10, 2024
Clarify that language models must be transformers models for text.  This is a bit redundant with intro description, but attempts to better address a question that that comes up (issue 1257).

Closes: huggingface#1257
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants