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

does ContextualWordEmbsAug support XLM-Roberta models #334

Open
cmgchess opened this issue Mar 11, 2023 · 1 comment
Open

does ContextualWordEmbsAug support XLM-Roberta models #334

cmgchess opened this issue Mar 11, 2023 · 1 comment

Comments

@cmgchess
Copy link

Hello 👋
I tried using ContextualWordEmbsAug using the xlm-roberta-base model but it seems to be not supported. I needed it to do augmentation on a language that is not available in the bert-base-multilingual-uncased model

aug = naw.ContextualWordEmbsAug(model_path='xlm-roberta-base', aug_p=0.1)

is this the case?
If so is there a workaround to get it to work?

Thanks

@Ubadub
Copy link

Ubadub commented Jun 2, 2023

@cmgchess That line should work. What is the problem you are seeing?

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

No branches or pull requests

2 participants