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

Add LM head and masked fill_mask for bert-burn. #34

Merged
merged 2 commits into from
May 27, 2024

Conversation

seurimas
Copy link
Contributor

I'm not sure if this matches the structure desired for this crate, but I had figured out masked token inference for a personal project and it seemed like a waste not to try and contribute. Please let me know what sort of changes might be needed to get this merged, if this is something worth merging.

Additionally, this fixed #30.

Copy link
Member

@nathanielsimard nathanielsimard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it! I have some minor comments, but it should be ready to merge after they are fixed.

bert-burn/src/fill_mask.rs Outdated Show resolved Hide resolved
bert-burn/src/fill_mask.rs Outdated Show resolved Hide resolved
bert-burn/src/fill_mask.rs Outdated Show resolved Hide resolved
@nathanielsimard nathanielsimard merged commit be48556 into tracel-ai:main May 27, 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.

RoBERTa weights do not have encoders with norm_first: true
2 participants