Skip to main content

A library for extracting topics from text documents using llms.

Project description

llmtopic

A library that leverages large language models (llms) for extracting topics from text documents.

Install

To install for CPU run pip install llmtopic.

To install with GPU support run CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llmtopic.

If you are under Ubuntu and encounter errors regarding a failed build consider upgrading your cuda version to >=12.1. Also, it could be you have to point to the new nvcc version but modifying the install command as follows: PATH="/usr/local/cuda-12.3/bin:$PATH" CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llmtopic. Note that you of course have to adjsut that to your specific CUDA version.

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

llmtopic-0.0.3.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

llmtopic-0.0.3-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

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