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

Make coca and HF work together #447

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gpucce
Copy link
Contributor

@gpucce gpucce commented Feb 22, 2023

@ae86280 the HF support is indeed not good for coca yet this PR is to address this and also fix #445
@fedshyvana this will also remove the two unused args #434 while adding options for HF
@vturrisi this is the PR where I plan to add the option to output the raw image tokens in CoCa #458

I should be able to work on it in the next days and fix this. So far there is nothing much.

High level Todos are:

  • add causal masking for roberta
  • add gpt2 as decoder
  • adjust configs
  • add option to output image tokens in coca visual encoder

@jqyin
Copy link

jqyin commented Jul 11, 2023

is there still a plan to support coca + HF models ?

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 this pull request may close these issues.

questions about coca_roberta-ViT-B-32.json
2 participants