Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Guanheng Zhang committed Feb 24, 2021
1 parent 018a954 commit 724d56c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -50,7 +50,7 @@ Optional requirements
If you want to use English tokenizer from `SpaCy <http://spacy.io/>`_, you need to install SpaCy and download its English model::

pip install spacy
python -m spacy download en
python -m spacy download en_core_web_sm

Alternatively, you might want to use the `Moses <http://www.statmt.org/moses/>`_ tokenizer port in `SacreMoses <https://github.com/alvations/sacremoses>`_ (split from `NLTK <http://nltk.org/>`_). You have to install SacreMoses::

Expand Down Expand Up @@ -93,7 +93,7 @@ Datasets
The datasets module currently contains:

* Language modeling: WikiText2, WikiText103, PennTreebank, EnWik9
* Machine translation: Multi30k, IWSLT, WMT14
* Machine translation: IWSLT2016, IWSLT2017
* Sequence tagging (e.g. POS/NER): UDPOS, CoNLL2000Chunking
* Question answering: SQuAD1, SQuAD2
* Text classification: AG_NEWS, SogouNews, DBpedia, YelpReviewPolarity, YelpReviewFull, YahooAnswers, AmazonReviewPolarity, AmazonReviewFull, IMDB
Expand All @@ -113,7 +113,7 @@ For example, to access the raw text from the AG_NEWS dataset:
>>> train_iter = AG_NEWS(split='train')
>>> dataloader = DataLoader(train_iter, batch_size=8, shuffle=False)
A tutorial for the end-to-end text classification workflow can be found in `TEXT CLASSIFICATION WITH TORCHTEXT <https://pytorch.org/tutorials/beginner/text_sentiment_ngrams_tutorial.html>`_
A tutorial for the end-to-end text classification workflow can be found in `PyTorch tutorial <https://pytorch.org/tutorials/beginner/text_sentiment_ngrams_tutorial.html>`_

[Prototype] Experimental Code
=============================
Expand Down

0 comments on commit 724d56c

Please sign in to comment.