forked from dmlc/gluon-nlp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
437 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
gluonnlp.data.batchify | ||
====================== | ||
|
||
Batchify functions can be used to transform a dataset into mini-batches that can be processed | ||
efficiently. | ||
|
||
.. currentmodule:: gluonnlp.data.batchify | ||
|
||
Batch Loaders | ||
------------- | ||
.. autosummary:: | ||
:nosignatures: | ||
|
||
Stack | ||
Pad | ||
Tuple | ||
|
||
API Reference | ||
------------- | ||
.. automodule:: gluonnlp.data.batchify | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
gluonnlp.embedding | ||
================== | ||
|
||
This page describes ``gluonnlp`` APIs for text embedding, such as loading pre-trained | ||
embedding vectors for text tokens and storing them in the ``mxnet.ndarray.NDArray`` format, | ||
and utility for intrinsic evaluation of text embeddings. | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
|
||
gluonnlp.embedding | ||
|
||
.. currentmodule:: gluonnlp.embedding | ||
.. autosummary:: | ||
:nosignatures: | ||
|
||
register | ||
create | ||
list_sources | ||
TokenEmbedding | ||
GloVe | ||
FastText | ||
|
||
API Reference | ||
------------- | ||
|
||
.. raw:: html | ||
|
||
<script type="text/javascript" src='../../_static/js/auto_module_index.js'></script> | ||
|
||
.. automodule:: gluonnlp.embedding | ||
:members: register, create, list_sources | ||
.. autoclass:: gluonnlp.embedding.TokenEmbedding | ||
:members: from_file, serialize, deserialize | ||
.. autoclass:: gluonnlp.embedding.GloVe | ||
.. autoclass:: gluonnlp.embedding.FastText | ||
|
||
.. automodule:: gluonnlp.embedding.evaluation | ||
:members: | ||
|
||
.. raw:: html | ||
|
||
<script>auto_index("api-reference");</script> |
Oops, something went wrong.