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

Support BERT-models #5

Merged
merged 1 commit into from Mar 13, 2022
Merged

Support BERT-models #5

merged 1 commit into from Mar 13, 2022

Conversation

samhedin
Copy link
Contributor

@samhedin samhedin commented Mar 3, 2022

Context here: #3
I have run the code in the way suggested in the readme, but with roberta-large:

import mauve 

# call mauve.compute_mauve using raw text on GPU 0; each generation is truncated to 256 tokens
out = mauve.compute_mauve(p_text=p_text, q_text=q_text, device_id=0, max_text_length=256, verbose=False, featurize_model_name="roberta_large")
print(out.mauve)

I ran it once on 2-3 samples, and it did not crash, so, great success?

@krishnap25 krishnap25 merged commit 3994fb2 into krishnap25:main Mar 13, 2022
@krishnap25
Copy link
Owner

Looks good to me. Thanks!

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.

None yet

2 participants