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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file llmtopic-0.0.2.tar.gz
.
File metadata
- Download URL: llmtopic-0.0.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12a646ab1b4446ee6ad29ba12e2d27b5adb801fc8a307443753d0c6203349c6c |
|
MD5 | 8a2a7fd6457991c4fbed8b01455239f5 |
|
BLAKE2b-256 | 498bab39cac289c7fe58fee6368c5ebb172de809ac47a79e89125b6f6b2abe21 |
File details
Details for the file llmtopic-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: llmtopic-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74f1bd4eef1122b693b8972b07382be6c90e39e43ce21db4d2740b92bc02de84 |
|
MD5 | 504fcfadd1f6c0dd80ba4b896a6b9d24 |
|
BLAKE2b-256 | d98c3dcc9a5007c59ad2244143556973be86c31b76e0a8f785169196b0069a8b |