Skip to main content

Contextualized Topic Models

Project description

Contextualized Topic Models

https://img.shields.io/pypi/v/contextualized_topic_models.svg https://travis-ci.com/MilaNLProc/contextualized-topic-models.svg Documentation Status

Contextualized Topic Models

Super big shout-out to Stephen Carrow for creating the awesome https://github.com/estebandito22/PyTorchAVITM package from which we constructed the foundations of this package. We are happy to redistribute again this software under the MIT License.

Features

  • TODO

Quick Guide

Install the package using pip

pip install -U contextualized_topic_models

The contextual neural topic model can be easily instantiated using few parameters (although there is a wide range of parameters you can use to change the behaviour of the neural topic model.

cotm = COTM(input_size=1000, bert_input_size=512, inferencetype="contextual")
cotm.fit()

See the example notebook in the contextualized_topic_models/examples folder

Team

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template. To ease the use of the library we have also incuded the rbo package, all the rights reserved to the author of that package.

History

0.1.0 (2020-04-04)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

contextualized_topic_models-1.0.0.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

contextualized_topic_models-1.0.0-py2.py3-none-any.whl (19.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file contextualized_topic_models-1.0.0.tar.gz.

File metadata

  • Download URL: contextualized_topic_models-1.0.0.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for contextualized_topic_models-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7c56a7797cbaec4b82de0a893b6c793dac344fd9cc637dd2db604f35b06a8c06
MD5 d7b5646365926f867b4e1040949b7d3b
BLAKE2b-256 511d32a5da861fe0570ea1d3276a9ca70fac0019339e7a8d6d0780660f27b8ae

See more details on using hashes here.

File details

Details for the file contextualized_topic_models-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: contextualized_topic_models-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for contextualized_topic_models-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9777643ad352b34383a7780861bb9d69f7e7ff19fcc0b6c6457f49aa56cb4f7c
MD5 5fa68d2f8cee9567f748ce120ddbdf42
BLAKE2b-256 65fdad9f00fb49d53df9aedf63e3c5ff63d1e65bfb98b468f4d29cc5473577c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page