Why can't I get the attribute 'pos' data from a new model trained from scratch? #8434
qingyun1988
started this conversation in
Language Support
Replies: 1 comment 3 replies
-
Hi, does your model pipeline include a If this isn't the case, could you post the full config and details about which version of spacy you're using? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is my training data example which contains attribute 'pos' data and uses for training a blank model:
Example.from_dict(_nlp.make_doc('I love you.'), {'heads': [1, 1, 1, 1], 'deps': ['nsubj', 'ROOT', 'dobj', 'punct'],'words': ['I', 'love', 'you', '.'],'pos': ['PRON', 'VERB', 'PRON', 'PUNCT'],'tags': ['PRP', 'VBP', 'PRP', '.']})
But I can't get the attribute 'pos' data from a new model trained from scratch, which is empty:

Why? Is the 'pos' attribute data format in the data example wrong?
Is there anyone who would like to answer my question? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions