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.3.tar.gz
.
File metadata
- Download URL: llmtopic-0.0.3.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 | b691357c161ac611428ba7cb80002a9baabd6615e85647a9fd92f7a6ae78483f |
|
MD5 | 62b473c52b47c47680fa4e651c4f8889 |
|
BLAKE2b-256 | 00ee5ee0a287c6d988cb577ee670e96f2bf584df36cbf08b85ac2d5baea7dbf3 |
File details
Details for the file llmtopic-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: llmtopic-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.4 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 | 92d560baebba3e718a5fd193fd24d73906b174e513d8583801a8485ad984c706 |
|
MD5 | 2a87e829f05e91548fa649061c6e10f6 |
|
BLAKE2b-256 | 0d2381438083dcbc7f34515335b299489aff1a7dd981ee1f35f5704d121cc12d |