{ "info": { "author": "Gluon NLP Toolkit Contributors", "author_email": "mxnet-gluon@amazon.com", "bugtrack_url": null, "classifiers": [], "description": "GluonNLP: Your Choice of Deep Learning for NLP\n\nGluonNLP is a toolkit that enables easy text preprocessing, datasets\nloading and neural models building to help you speed up your Natural\nLanguage Processing (NLP) research.\n\n- `Quick Start Guide `__\n- `Resources `__\n\nNews\n====\n\n- GluonNLP will be featured in KDD 2019 Alaska! Check out our tutorial: `From Shallow to Deep Language Representations: Pre-training, Fine-tuning, and Beyond `__.\n- Tutorial proposal for GluonNLP is accepted at `EMNLP 2019 `__, Hong Kong.\n\n- GluonNLP was featured in:\n\n - **JSALT 2019 in Montreal, 2019-6-14**! Checkout **https://jsalt19.mxnet.io**.\n - **AWS re:invent 2018 in Las Vegas, 2018-11-28**! Checkout `details `_.\n - **PyData 2018 NYC, 2018-10-18**! Checkout the `awesome talk `__ by Sneha Jha.\n - **KDD 2018 London, 2018-08-21, Apache MXNet Gluon tutorial**! Check out **https://kdd18.mxnet.io**.\n\nInstallation\n============\n\nMake sure you have Python 3.6 or newer and a recent version of MXNet (our CI\nserver runs the testsuite with Python 3.6).\n\nYou can install ``MXNet`` and ``GluonNLP`` using pip.\n\n``GluonNLP`` is based on the most recent version of ``MXNet``.\n\n\nIn particular, if you want to install the most recent ``MXNet`` release:\n\n::\n\n pip install --upgrade mxnet>=1.5.0\n\nElse, if you want to install the most recent ``MXNet`` nightly build:\n\n::\n\n pip install --pre --upgrade mxnet\n\nThen, you can install ``GluonNLP``:\n\n::\n\n pip install gluonnlp\n\nPlease check more `installation details `_.\n\nDocs \ud83d\udcd6\n=======\n\nGluonNLP documentation is available at `our\nwebsite `__.\n\nCommunity\n=========\n\nGluonNLP is a community that believes in sharing.\n\nFor questions, comments, and bug reports, `Github issues `__ is the best way to reach us.\n\nWe now have a new Slack channel `here `__.\n(`register `__).\n\nHow to Contribute\n=================\n\nGluonNLP community welcomes contributions from anyone!\n\nThere are lots of opportunities for you to become our `contributors `__:\n\n- Ask or answer questions on `GitHub issues `__.\n- Propose ideas, or review proposed design ideas on `GitHub issues `__.\n- Improve the `documentation `__.\n- Contribute bug reports `GitHub issues `__.\n- Write new `scripts `__ to reproduce\n state-of-the-art results.\n- Write new `examples `__ to explain\n key ideas in NLP methods and models.\n- Write new `public datasets `__\n (license permitting).\n- Most importantly, if you have an idea of how to contribute, then do it!\n\nFor a list of open starter tasks, check `good first issues `__.\n\nAlso see our `contributing\nguide `__ on simple how-tos,\ncontribution guidelines and more.\n\nResources\n=========\n\nCheck out how to use GluonNLP for your own research or projects.\n\nIf you are new to Gluon, please check out our `60-minute crash course\n`__.\n\nFor getting started quickly, refer to notebook runnable examples at\n`Examples. `__\n\nFor advanced examples, check out our\n`Scripts. `__\n\nFor experienced users, check out our\n`API Notes `__.\n\nQuick Start Guide\n=================\n\n`Dataset Loading `__\n-------------------------------------------------------------------------------\n\nLoad the Wikitext-2 dataset, for example:\n\n.. code:: python\n\n >>> import gluonnlp as nlp\n >>> train = nlp.data.WikiText2(segment='train')\n >>> train[0:5]\n ['=', 'Valkyria', 'Chronicles', 'III', '=']\n\n`Vocabulary Construction `__\n-------------------------------------------------------------------------------------\n\nBuild vocabulary based on the above dataset, for example:\n\n.. code:: python\n\n >>> vocab = nlp.Vocab(counter=nlp.data.Counter(train))\n >>> vocab\n Vocab(size=33280, unk=\"\", reserved=\"['', '', '']\")\n\n`Neural Models Building `__\n------------------------------------------------------------------------------------\n\nFrom the models package, apply a Standard RNN language model to the\nabove dataset:\n\n.. code:: python\n\n >>> model = nlp.model.language_model.StandardRNN('lstm', len(vocab),\n ... 200, 200, 2, 0.5, True)\n >>> model\n StandardRNN(\n (embedding): HybridSequential(\n (0): Embedding(33280 -> 200, float32)\n (1): Dropout(p = 0.5, axes=())\n )\n (encoder): LSTM(200 -> 200.0, TNC, num_layers=2, dropout=0.5)\n (decoder): HybridSequential(\n (0): Dense(200 -> 33280, linear)\n )\n )\n\n`Word Embeddings Loading `__\n-----------------------------------------------------------------------------------------\n\nFor example, load a GloVe word embedding, one of the state-of-the-art\nEnglish word embeddings:\n\n.. code:: python\n\n >>> glove = nlp.embedding.create('glove', source='glove.6B.50d')\n # Obtain vectors for 'baby' in the GloVe word embedding\n >>> type(glove['baby'])\n \n >>> glove['baby'].shape\n (50,)\n \n \nReference Paper\n===============\n\nThe bibtex entry for the `reference paper `__ of GluonNLP is:\n\n.. code::\n\n @article{gluoncvnlp2019,\n title={GluonCV and GluonNLP: Deep Learning in Computer Vision and Natural Language Processing},\n author={Guo, Jian and He, He and He, Tong and Lausen, Leonard and Li, Mu and Lin, Haibin and Shi, Xingjian and Wang, Chenguang and Xie, Junyuan and Zha, Sheng and Zhang, Aston and Zhang, Hang and Zhang, Zhi and Zhang, Zhongyue and Zheng, Shuai},\n journal={arXiv preprint arXiv:1907.04433},\n year={2019}\n }\n\n\nNew to Deep Learning or NLP?\n============================\n\nFor background knowledge of deep learning or NLP, please refer to the open source book `Dive into Deep Learning `__.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dmlc/gluon-nlp", "keywords": "", "license": "Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "gluonnlp", "package_url": "https://pypi.org/project/gluonnlp/", "platform": "", "project_url": "https://pypi.org/project/gluonnlp/", "project_urls": { "Homepage": "https://github.com/dmlc/gluon-nlp" }, "release_url": "https://pypi.org/project/gluonnlp/0.8.1/", "requires_dist": null, "requires_python": "", "summary": "MXNet Gluon NLP Toolkit", "version": "0.8.1" }, "last_serial": 5711496, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1e40daa1a7a03e70cb6d229b18b92876", "sha256": "b375dda49772080f7e14a32f884637b6b3c3cce2cabef6bebd853a325d53d436" }, "downloads": -1, "filename": "gluonnlp-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1e40daa1a7a03e70cb6d229b18b92876", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 65544, "upload_time": "2018-04-17T07:45:00", "url": "https://files.pythonhosted.org/packages/ee/fa/4b8b0f359dc333090cf43199612c2279882b8a464171c70385ed69353e07/gluonnlp-0.1.0.tar.gz" } ], "0.1.0.post0": [ { "comment_text": "", "digests": { "md5": "c0c77befee4c42f0012e95947d2f62d2", "sha256": "93006a1b10e8fe0f5da15a1df5fdb0bcd85b50ae7480beadc93eabf1a41cf9f7" }, "downloads": -1, "filename": "gluonnlp-0.1.0.post0.tar.gz", "has_sig": false, "md5_digest": "c0c77befee4c42f0012e95947d2f62d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 65598, "upload_time": "2018-04-17T18:52:07", "url": "https://files.pythonhosted.org/packages/27/3e/c166a78c6640887c4de8b8fff1f14baff2df19cfee82eaf17e8e8e82e07a/gluonnlp-0.1.0.post0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "134bdd3f976a7dd1b653cff3e8463def", "sha256": "8dad1135bfcf0ee45b7c37d638d18656b65f5da838da17d007b386ab23ab3997" }, "downloads": -1, "filename": "gluonnlp-0.2.0.tar.gz", "has_sig": false, "md5_digest": "134bdd3f976a7dd1b653cff3e8463def", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94262, "upload_time": "2018-04-25T03:48:39", "url": "https://files.pythonhosted.org/packages/f8/f7/330cce62003f2ea02a913a7df2dc44d158bb96485f2a43a35f5e5b9f40ef/gluonnlp-0.2.0.tar.gz" } ], "0.2.0.post0": [ { "comment_text": "", "digests": { "md5": "33affbbc01d297bbbb497b69335da570", "sha256": "1f8c2e9d62fb2601f67535430a6652d76102e0228ea2b1e367412a90c1315139" }, "downloads": -1, "filename": "gluonnlp-0.2.0.post0.tar.gz", "has_sig": false, "md5_digest": "33affbbc01d297bbbb497b69335da570", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94298, "upload_time": "2018-04-27T20:55:52", "url": "https://files.pythonhosted.org/packages/91/92/6ec4239ea4ff9bdd85b2a790eefe3f738ba4fab333e7071e7d9550e07d17/gluonnlp-0.2.0.post0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "2bd0543a3b0463f461b5cde65836a6cc", "sha256": "0b6c4034d88d9ab58e14b296e32d66955f0c862e695ee5be4a6e335ef4e12a70" }, "downloads": -1, "filename": "gluonnlp-0.3.0.tar.gz", "has_sig": false, "md5_digest": "2bd0543a3b0463f461b5cde65836a6cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 108651, "upload_time": "2018-06-13T12:20:48", "url": "https://files.pythonhosted.org/packages/75/76/1e47091b1dd211adf0b5dcb6307d14d841cbb9393a01c3ac12c291f6e57a/gluonnlp-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "4cbbb957c853193a83c7af4048efd570", "sha256": "50a454b8066d3ac78747767401214a7f9ec0942b3a278612719326d8e7e24408" }, "downloads": -1, "filename": "gluonnlp-0.3.1.tar.gz", "has_sig": false, "md5_digest": "4cbbb957c853193a83c7af4048efd570", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 144358, "upload_time": "2018-07-12T05:08:18", "url": "https://files.pythonhosted.org/packages/e0/44/7fd5afb2c6120b3bbbf98e21aeeae489d915998c933452a87776c76c8f32/gluonnlp-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "99fce7fad8e8d679194e4af1e0692c40", "sha256": "85f0d2ae8f2dc23e779666ac022fc880797607bc9c23c85577d796525f986089" }, "downloads": -1, "filename": "gluonnlp-0.3.2.tar.gz", "has_sig": false, "md5_digest": "99fce7fad8e8d679194e4af1e0692c40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145596, "upload_time": "2018-07-20T05:27:41", "url": "https://files.pythonhosted.org/packages/15/67/d50e8c442d0ec03e1b3e67179f9b1fb21734c0295dc6f2fa7606130b1c30/gluonnlp-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "2932d992968a962fb91a288c2694cbaa", "sha256": "4aefa4983b88f69ab3ec3649772eb7064702b28d7f563eabe5571c36e2ce8352" }, "downloads": -1, "filename": "gluonnlp-0.3.3.tar.gz", "has_sig": false, "md5_digest": "2932d992968a962fb91a288c2694cbaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145994, "upload_time": "2018-07-24T18:24:11", "url": "https://files.pythonhosted.org/packages/45/49/2181e781addb29fd369c4343549a775aa6f0c93ba5d1dc9c0db172ba1154/gluonnlp-0.3.3.tar.gz" } ], "0.3.3.post0": [ { "comment_text": "", "digests": { "md5": "7fba17475e0984c413ab8af2c05a574b", "sha256": "b04576e7beef4841e302c6e53f103b8ce3f1ec33bbc771688d0caf2e6cd7a32f" }, "downloads": -1, "filename": "gluonnlp-0.3.3.post0.tar.gz", "has_sig": false, "md5_digest": "7fba17475e0984c413ab8af2c05a574b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 146260, "upload_time": "2018-07-25T00:37:45", "url": "https://files.pythonhosted.org/packages/cc/60/f2d2cbedc60f338bddf7fe820d1ee695bd8e773b9fab2537b90171d9ba18/gluonnlp-0.3.3.post0.tar.gz" } ], "0.3.3.post1": [ { "comment_text": "", "digests": { "md5": "f071c45d424923c2e9623f4db8772914", "sha256": "6d3b55c18b2d53c6dcb72b6953735b16433961ac275f834039592b093b352d0c" }, "downloads": -1, "filename": "gluonnlp-0.3.3.post1.tar.gz", "has_sig": false, "md5_digest": "f071c45d424923c2e9623f4db8772914", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 146034, "upload_time": "2018-07-25T18:19:50", "url": "https://files.pythonhosted.org/packages/00/f8/f5dbc3465bc0393781ec814155278a0a4852492dc574310dc29594a0d55b/gluonnlp-0.3.3.post1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "823a79d5baa7135e1863edc2c4030f00", "sha256": "5610291ac41cab1108c3563044538bc6f3afd87bfc6358ed378cfdabc2ef53fd" }, "downloads": -1, "filename": "gluonnlp-0.4.0.tar.gz", "has_sig": false, "md5_digest": "823a79d5baa7135e1863edc2c4030f00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 160025, "upload_time": "2018-08-18T23:36:32", "url": "https://files.pythonhosted.org/packages/72/f0/abb19159402ce767c953a8fdf1d7570bca85dcbfed87f575beb96c3fb803/gluonnlp-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "dafb852416eddf1b61def05376ba656c", "sha256": "0f25528f16f7164b98500a4d1a130fa660e6f51e55a94b7b28f3dfa02191b376" }, "downloads": -1, "filename": "gluonnlp-0.4.1.tar.gz", "has_sig": false, "md5_digest": "dafb852416eddf1b61def05376ba656c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 162414, "upload_time": "2018-10-24T17:35:45", "url": "https://files.pythonhosted.org/packages/2a/ec/8fceb4f5d91c94f38a464808e4d6764f07e77ae466a95d6342660816f8e4/gluonnlp-0.4.1.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "298a8fd5efa11640b05d443e97cb3a31", "sha256": "e6103e8aafc88899ed33925a4aeaca03784b3937c102d096e12117af487eaec4" }, "downloads": -1, "filename": "gluonnlp-0.5.0.tar.gz", "has_sig": false, "md5_digest": "298a8fd5efa11640b05d443e97cb3a31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189115, "upload_time": "2018-11-27T07:02:59", "url": "https://files.pythonhosted.org/packages/69/29/6797d6ba27e0c1855275cece9a1da33f161bd4643c98d02854c525e1f8c0/gluonnlp-0.5.0.tar.gz" } ], "0.5.0.post0": [ { "comment_text": "", "digests": { "md5": "fa5a6e7b11ea79bc123d27900fdcce69", "sha256": "be15d9498e64b0eeb29e058adb2f1e4f7a1b1601a0aa25a255933624619cc9e3" }, "downloads": -1, "filename": "gluonnlp-0.5.0.post0.tar.gz", "has_sig": false, "md5_digest": "fa5a6e7b11ea79bc123d27900fdcce69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189220, "upload_time": "2018-12-07T04:03:52", "url": "https://files.pythonhosted.org/packages/e6/ab/c2d928aa74fdd029d8ae85988357defbb0e819ea33172e92bd7accdfcc92/gluonnlp-0.5.0.post0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "c4b3de7b19bcdd94e9e67048189637d4", "sha256": "1941868d2ae99115dd2f2b2e366c73c2972d3886c4919a01a46cfffe53557493" }, "downloads": -1, "filename": "gluonnlp-0.6.0.tar.gz", "has_sig": false, "md5_digest": "c4b3de7b19bcdd94e9e67048189637d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 209532, "upload_time": "2019-03-18T21:33:20", "url": "https://files.pythonhosted.org/packages/e2/07/037585c23bccec19ce333b402997d98b09e43cc8d2d86dc810d57249c5ff/gluonnlp-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "98858152e9256f54894096564c2c5887", "sha256": "a46a285866aae5d36df1697322f109a1a5a7a52f5d52bc4f836c4895c0ea498b" }, "downloads": -1, "filename": "gluonnlp-0.7.0.tar.gz", "has_sig": false, "md5_digest": "98858152e9256f54894096564c2c5887", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 233509, "upload_time": "2019-07-09T18:44:29", "url": "https://files.pythonhosted.org/packages/14/3e/34e39374f580eebb322adfb114215a3962cf2a84c9247fe5ccae0bd77988/gluonnlp-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "4cdee8bc2e7a9d3cfb90d80c2764afc9", "sha256": "4c812266f6d4e4605c815963d1157bd27fc1d44c9566b14d9ea605cf7aad6426" }, "downloads": -1, "filename": "gluonnlp-0.7.1.tar.gz", "has_sig": false, "md5_digest": "4cdee8bc2e7a9d3cfb90d80c2764afc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 233388, "upload_time": "2019-07-17T23:40:33", "url": "https://files.pythonhosted.org/packages/73/b8/5f519e4bb9d9c7807a4243cca032ad66b637663b509165513705c1018cd5/gluonnlp-0.7.1.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "65ca1db7187f2954c4874d1f2f65f3b7", "sha256": "99a9d4bd681fb011784ff6ff7acdf200feeff4438d08d9dfaff387ed168760c7" }, "downloads": -1, "filename": "gluonnlp-0.8.0.tar.gz", "has_sig": false, "md5_digest": "65ca1db7187f2954c4874d1f2f65f3b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 235541, "upload_time": "2019-08-08T17:34:47", "url": "https://files.pythonhosted.org/packages/c1/c8/e180cd98ab190e7ac3c6a767a909918e719be33f967bca13d0d4cd7c5468/gluonnlp-0.8.0.tar.gz" } ], "0.8.1": [ { "comment_text": "", "digests": { "md5": "bde7f6fe54914eeaba9c806cafa3da3e", "sha256": "39c4cf83e6a3b16ac317297ac9997889dac2698a14823224f7b19b794029c64d" }, "downloads": -1, "filename": "gluonnlp-0.8.1.tar.gz", "has_sig": false, "md5_digest": "bde7f6fe54914eeaba9c806cafa3da3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 236399, "upload_time": "2019-08-21T20:02:41", "url": "https://files.pythonhosted.org/packages/6e/2d/40c2ad37d74e5e9030064d73542b7df0f7df7ba98d47932874033cf03d79/gluonnlp-0.8.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bde7f6fe54914eeaba9c806cafa3da3e", "sha256": "39c4cf83e6a3b16ac317297ac9997889dac2698a14823224f7b19b794029c64d" }, "downloads": -1, "filename": "gluonnlp-0.8.1.tar.gz", "has_sig": false, "md5_digest": "bde7f6fe54914eeaba9c806cafa3da3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 236399, "upload_time": "2019-08-21T20:02:41", "url": "https://files.pythonhosted.org/packages/6e/2d/40c2ad37d74e5e9030064d73542b7df0f7df7ba98d47932874033cf03d79/gluonnlp-0.8.1.tar.gz" } ] }