We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the collab notebook here: https://colab.research.google.com/drive/1y0KnCFZvGVf_odSfcNAws6kcDD7HsI0L, refer to the sentencepice section. Defining the options dictionary using dict and then unpacking it results in TypeError: 'Dictionary' object is not callable
dict
TypeError: 'Dictionary' object is not callable
import sentencepiece as spm import os options = dict ( # input spec input="toy.txt", input_format="text", )
I fixed it using a normal dictionary.
options = { # input spec "input": "data.txt", "input_format": "text", }
What could be the reason?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the collab notebook here: https://colab.research.google.com/drive/1y0KnCFZvGVf_odSfcNAws6kcDD7HsI0L, refer to the sentencepice section. Defining the options dictionary using
dict
and then unpacking it results inTypeError: 'Dictionary' object is not callable
I fixed it using a normal dictionary.
What could be the reason?
The text was updated successfully, but these errors were encountered: