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

Yiran fix2 #7

Merged
merged 2 commits into from
Oct 9, 2024
Merged

Yiran fix2 #7

merged 2 commits into from
Oct 9, 2024

Conversation

Yiran-ASU
Copy link
Collaborator

The example_input in CamemBERT.py originally is in shape of [1, 7, 768], I reshaped it to [1, 7*768], then I send it to the CamemBERT model. In the forward function of CamemBERT model, I first reshape the input back to [1, 7, 768].

The similar things happened to VIT.

@tancheng tancheng merged commit 0ea2b53 into tancheng:main Oct 9, 2024
2 checks passed
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.

2 participants