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

BERTSim() returns error when arguments are given #2

Open
ilona-grabowicz opened this issue May 21, 2020 · 0 comments
Open

BERTSim() returns error when arguments are given #2

ilona-grabowicz opened this issue May 21, 2020 · 0 comments

Comments

@ilona-grabowicz
Copy link

ilona-grabowicz commented May 21, 2020

I tried to use your notebook on my computer (Ubuntu 20) and when I passed arguments to the function bsim = querycat.BERTSim(TRANSFORMER_MODEL, RANDOM_SEED)
while TRANSFORMER_MODEL = "camembert-base"
and
RANDOM_SEED = 42
like it was shown in the Demo it gives strange error:
......

TypeError Traceback (most recent call last)
in
----> 1 bsim = querycat.BERTSim(TRANSFORMER_MODEL, 42)

TypeError: init() takes from 1 to 2 positional arguments but 3 were given

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

1 participant