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

tokenize() got an unexpected keyword argument 'model' #252

Open
PeterTF656 opened this issue Jun 20, 2023 · 1 comment
Open

tokenize() got an unexpected keyword argument 'model' #252

PeterTF656 opened this issue Jun 20, 2023 · 1 comment

Comments

@PeterTF656
Copy link

using cohere python 4.11.2:

response = co.tokenize(
  text=text,
  model='embed-multilingual-v2.0'
)
print(response.tokens)

Error:

tokenize() got an unexpected keyword argument 'model'
@mehrdad-es
Copy link

@PeterTF656 , this shouldn't happen, as I looked at the code. Could you check if it is still happening?

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