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
When I run
import spacy nlp = spacy.load("en_core_web_trf") utt8 = nlp("It went there unwillingly.") utt8._.trf_data.wordpieces
it meet error, so I run
utt8 = utt8._.trf_data print(dir(utt8)) ['annotations', 'class', 'dataclass_fields', 'dataclass_params', 'delattr', 'dict', 'dir', 'doc', 'eq', 'format', 'ge', 'getattribute', 'getstate', 'gt', 'hash', 'init', 'init_subclass', 'le', 'lt', 'match_args', 'module', 'ne', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'weakref', 'all_hidden_layer_states', 'all_outputs', 'embedding_layer', 'from_dict', 'last_hidden_layer_state', 'last_layer_only', 'num_outputs', 'to_dict']
so which one I can choose to replace wordpieces in this 3.7.x version, thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I run
it meet error, so I run
so which one I can choose to replace wordpieces in this 3.7.x version, thank you!
How to reproduce the behaviour
Your Environment
The text was updated successfully, but these errors were encountered: