We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6584746 commit af678fbCopy full SHA for af678fb
README_en.md
@@ -78,9 +78,9 @@ text = tokenizer('natural language understanding')
78
model = ErnieModel.from_pretrained('ernie-1.0')
79
pooled_output, sequence_output = model(input_ids=paddle.to_tensor([text['input_ids']]))
80
# Text Classificaiton and Matching
81
-model = ErnieForSequenceClassifiation.from_pretrained('ernie-1.0')
+model = ErnieForSequenceClassification.from_pretrained('ernie-1.0')
82
# Sequence Labeling
83
-model = ErnieForTokenClassifiation.from_pretrained('ernie-1.0')
+model = ErnieForTokenClassification.from_pretrained('ernie-1.0')
84
# Question Answering
85
model = ErnieForQuestionAnswering.from_pretrained('ernie-1.0')
86
```
0 commit comments