From 67556f931ea622c5f8ad6fda873333325b76213f Mon Sep 17 00:00:00 2001 From: Zhaoheng Ni Date: Mon, 13 Dec 2021 13:58:34 +0000 Subject: [PATCH 1/2] fix links --- README.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 572f47813f..6da0cefc8b 100644 --- a/README.rst +++ b/README.rst @@ -15,10 +15,10 @@ This repository consists of: * `torchtext.datasets `_: The raw text iterators for common NLP datasets * `torchtext.data `_: Some basic NLP building blocks (tokenizers, metrics, functionals etc.) * `torchtext.nn `_: NLP related modules -* `torchtext.vocab `_: Vocab and Vectors related classes and factory functions +* `torchtext.vocab `_: Vocab and Vectors related classes and factory functions * `examples `_: Example NLP workflows with PyTorch and torchtext library. -Note: The legacy code discussed in `torchtext v0.7.0 release note `_ has been retired to `torchtext.legacy `_ folder. Those legacy code will not be maintained by the development team, and we plan to fully remove them in the future release. See `torchtext.legacy `_ folder for more details. +Note: The legacy code discussed in `torchtext v0.7.0 release note `_ has been retired to `torchtext.legacy `_ folder. Those legacy code will not be maintained by the development team, and we plan to fully remove them in the future release. See `torchtext.legacy `_ folder for more details. Installation ============ @@ -133,7 +133,7 @@ To get started with torchtext, users may refer to the following tutorials availa [BC Breaking] Legacy ==================== -In the v0.9.0 release, we moved the following legacy code to `torchtext.legacy `_. This is part of the work to revamp the torchtext library and the motivation has been discussed in `Issue #664 `_: +In the v0.9.0 release, we moved the following legacy code to `torchtext.legacy `_. This is part of the work to revamp the torchtext library and the motivation has been discussed in `Issue #664 `_: * ``torchtext.legacy.data.field`` * ``torchtext.legacy.data.batch`` @@ -142,9 +142,9 @@ In the v0.9.0 release, we moved the following legacy code to `torchtext.legacy < * ``torchtext.legacy.data.pipeline`` * ``torchtext.legacy.datasets`` -We have a `migration tutorial `_ to help users switch to the torchtext datasets in ``v0.9.0`` release. For the users who still want the legacy components, they can add ``legacy`` to the import path. +We have a `migration tutorial `_ to help users switch to the torchtext datasets in ``v0.9.0`` release. For the users who still want the legacy components, they can add ``legacy`` to the import path. -In the v0.10.0 release, we retire the Vocab class to `torchtext.legacy `_. Users can still access the legacy Vocab via ``torchtext.legacy.vocab``. This class has been replaced by a Vocab module that is backed by efficient C++ implementation and provides common functional APIs for NLP workflows. +In the v0.10.0 release, we retire the Vocab class to `torchtext.legacy `_. Users can still access the legacy Vocab via ``torchtext.legacy.vocab``. This class has been replaced by a Vocab module that is backed by efficient C++ implementation and provides common functional APIs for NLP workflows. Disclaimer on Datasets ====================== From b26e9350ad387a84aefe131443bbbf1c51a8a618 Mon Sep 17 00:00:00 2001 From: Zhaoheng Ni Date: Mon, 13 Dec 2021 14:30:00 +0000 Subject: [PATCH 2/2] change master to release/0.9 --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 6da0cefc8b..3c4d014d07 100644 --- a/README.rst +++ b/README.rst @@ -18,7 +18,7 @@ This repository consists of: * `torchtext.vocab `_: Vocab and Vectors related classes and factory functions * `examples `_: Example NLP workflows with PyTorch and torchtext library. -Note: The legacy code discussed in `torchtext v0.7.0 release note `_ has been retired to `torchtext.legacy `_ folder. Those legacy code will not be maintained by the development team, and we plan to fully remove them in the future release. See `torchtext.legacy `_ folder for more details. +Note: The legacy code discussed in `torchtext v0.7.0 release note `_ has been retired to `torchtext.legacy `_ folder. Those legacy code will not be maintained by the development team, and we plan to fully remove them in the future release. See `torchtext.legacy `_ folder for more details. Installation ============ @@ -133,7 +133,7 @@ To get started with torchtext, users may refer to the following tutorials availa [BC Breaking] Legacy ==================== -In the v0.9.0 release, we moved the following legacy code to `torchtext.legacy `_. This is part of the work to revamp the torchtext library and the motivation has been discussed in `Issue #664 `_: +In the v0.9.0 release, we moved the following legacy code to `torchtext.legacy `_. This is part of the work to revamp the torchtext library and the motivation has been discussed in `Issue #664 `_: * ``torchtext.legacy.data.field`` * ``torchtext.legacy.data.batch`` @@ -142,9 +142,9 @@ In the v0.9.0 release, we moved the following legacy code to `torchtext.legacy < * ``torchtext.legacy.data.pipeline`` * ``torchtext.legacy.datasets`` -We have a `migration tutorial `_ to help users switch to the torchtext datasets in ``v0.9.0`` release. For the users who still want the legacy components, they can add ``legacy`` to the import path. +We have a `migration tutorial `_ to help users switch to the torchtext datasets in ``v0.9.0`` release. For the users who still want the legacy components, they can add ``legacy`` to the import path. -In the v0.10.0 release, we retire the Vocab class to `torchtext.legacy `_. Users can still access the legacy Vocab via ``torchtext.legacy.vocab``. This class has been replaced by a Vocab module that is backed by efficient C++ implementation and provides common functional APIs for NLP workflows. +In the v0.10.0 release, we retire the Vocab class to `torchtext.legacy `_. Users can still access the legacy Vocab via ``torchtext.legacy.vocab``. This class has been replaced by a Vocab module that is backed by efficient C++ implementation and provides common functional APIs for NLP workflows. Disclaimer on Datasets ======================