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 755db7f commit d6bb0afCopy full SHA for d6bb0af
beginner_source/text_sentiment_ngrams_tutorial.py
@@ -42,7 +42,7 @@
42
import torchtext
43
from torchtext.datasets import text_classification
44
NGRAMS = 2
45
-mport os
+import os
46
if not os.path.isdir('./.data'):
47
os.mkdir('./.data')
48
train_dataset, test_dataset = text_classification.DATASETS['AG_NEWS'](
0 commit comments