Skip to content

Commit af678fb

Browse files
authored
Update README_en.md
1 parent 6584746 commit af678fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README_en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ text = tokenizer('natural language understanding')
7878
model = ErnieModel.from_pretrained('ernie-1.0')
7979
pooled_output, sequence_output = model(input_ids=paddle.to_tensor([text['input_ids']]))
8080
# Text Classificaiton and Matching
81-
model = ErnieForSequenceClassifiation.from_pretrained('ernie-1.0')
81+
model = ErnieForSequenceClassification.from_pretrained('ernie-1.0')
8282
# Sequence Labeling
83-
model = ErnieForTokenClassifiation.from_pretrained('ernie-1.0')
83+
model = ErnieForTokenClassification.from_pretrained('ernie-1.0')
8484
# Question Answering
8585
model = ErnieForQuestionAnswering.from_pretrained('ernie-1.0')
8686
```

0 commit comments

Comments
 (0)