Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WillQvQ committed Dec 6, 2021
1 parent 449cf16 commit ca6c9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastNLP/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
from fastNLP import DataSet
from fastNLP import Instance
instances = []
winstances.append(Instance(sentence="This is the first instance",
instances.append(Instance(sentence="This is the first instance",
ords=['this', 'is', 'the', 'first', 'instance', '.'],
seq_len=6))
instances.append(Instance(sentence="Second instance .",
Expand Down

0 comments on commit ca6c9dd

Please sign in to comment.