Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cLCTM

Latent concept topic model (LCTM), but with contextualized word embeddings. Implementation in Python. Token embeddings are learned with Transformers, the Gibbs sampler is optimized for numba (there is also a pure python Gibbs sampler, but it's slow). Uses Faiss to speed up inference and initialization.

This is a very bares-bones implementation.

To do:

  • More details in how it works
  • Functions to retrieve topic top tokens, most similar word/concepts
  • pyLDAvis
  • ...

About

Latent concept topic model (LCTM), but with contextualized word embeddings. Implementation in Python, using PyTorch and Transformers.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages