Browse Source

fix a typo

tags/v1.0.0alpha
WillQvQ 2 years ago
parent
commit
ca6c9dd80e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      fastNLP/core/dataset.py

+ 1
- 1
fastNLP/core/dataset.py View File

@@ -53,7 +53,7 @@ r"""
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 .",


Loading…
Cancel
Save