Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

[DOC] update download button in tutorial and model zoo #746

Merged
merged 3 commits into from Jun 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -84,7 +84,7 @@

.. only:: html

:download:`[Download] <{{ "../%s.zip"|format(paths[1]) }}>`
:download:`Download this tutorial <{{ "../%s.zip"|format(paths[1]) }}>`
"""

# The suffix(es) of source filenames.
Expand Down
2 changes: 2 additions & 0 deletions docs/genindex.rst
@@ -0,0 +1,2 @@
Index
=====
1 change: 1 addition & 0 deletions docs/index.rst
Expand Up @@ -111,3 +111,4 @@ If you are not familiar with Gluon, check out the
examples/index
api/index
community/index
genindex
2 changes: 1 addition & 1 deletion env/gpu/py3.yml
Expand Up @@ -29,7 +29,7 @@ dependencies:
- mxnet-cu92mkl>=1.4.0
- sacremoses
- sentencepiece<0.2
- https://github.com/mli/mx-theme/archive/0.3.1.tar.gz
- https://github.com/szha/mx-theme/tarball/theme_fix
- seaborn
- jieba
- sphinx-autorun
2 changes: 1 addition & 1 deletion scripts/bert/index.rst
@@ -1,7 +1,7 @@
Bidirectional Encoder Representations from Transformers
-------------------------------------------------------

:download:`[Download] </model_zoo/bert.zip>`
:download:`Download scripts </model_zoo/bert.zip>`

Reference: Devlin, Jacob, et al. "`Bert: Pre-training of deep bidirectional transformers for language understanding. <https://arxiv.org/abs/1810.04805>`_" arXiv preprint arXiv:1810.04805 (2018).

Expand Down
2 changes: 1 addition & 1 deletion scripts/language_model/index.rst
@@ -1,7 +1,7 @@
Language Model
--------------

:download:`[Download] </model_zoo/language_model.zip>`
:download:`Download scripts </model_zoo/language_model.zip>`

Word Language Model
~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion scripts/machine_translation/index.rst
@@ -1,7 +1,7 @@
Machine Translation
-------------------

:download:`[Download] </model_zoo/machine_translation.zip>`
:download:`Download scripts </model_zoo/machine_translation.zip>`

Google Neural Machine Translation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion scripts/natural_language_inference/index.rst
@@ -1,7 +1,7 @@
Natural Language Inference
--------------------------

:download:`[Download] </model_zoo/natural_language_inference.zip>`
:download:`Download scripts </model_zoo/natural_language_inference.zip>`

Replication of the model described in `A Decomposable Attention Model for Natural Language Inference <https://arxiv.org/abs/1606.01933>`_.

Expand Down
2 changes: 1 addition & 1 deletion scripts/parsing/index.rst
@@ -1,7 +1,7 @@
Dependency Parsing
---------------------------------

:download:`[Download] </model_zoo/parsing.zip>`
:download:`Download scripts </model_zoo/parsing.zip>`

Deep Biaffine Dependency Parser
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion scripts/sentiment_analysis/index.rst
@@ -1,7 +1,7 @@
Sentiment Analysis
------------------

:download:`[Download] </model_zoo/sentiment_analysis.zip>`
:download:`Download scripts </model_zoo/sentiment_analysis.zip>`

Through Fine-tuning Word Language Model
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion scripts/text_classification/index.rst
@@ -1,7 +1,7 @@
Text Classification
-------------------

:download:`[Download] </model_zoo/text_classification.zip>`
:download:`Download scripts </model_zoo/text_classification.zip>`

Fast-text Word N-gram
~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion scripts/text_generation/index.rst
@@ -1,7 +1,7 @@
Text Generation
---------------

:download:`[Download] </model_zoo/text_generation.zip>`
:download:`Download scripts </model_zoo/text_generation.zip>`

Sampling a Language Model
+++++++++++++++++++++++++
Expand Down
2 changes: 1 addition & 1 deletion scripts/word_embeddings/index.rst
@@ -1,7 +1,7 @@
Word Embedding
--------------

:download:`[Download] </model_zoo/word_embeddings.zip>`
:download:`Download scripts </model_zoo/word_embeddings.zip>`

Gluon NLP makes it easy to evaluate and train word embeddings. Here are
examples to evaluate the pre-trained embeddings included in the Gluon
Expand Down