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.1.tar.gz
.
File metadata
- Download URL: llmtopic-0.0.1.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 | 07918ec5064584ea56cf18f73df890bdc49762d2f808500983b0885ccdf0713d |
|
MD5 | a38887b775668328c79593d6ed8251a8 |
|
BLAKE2b-256 | 3a2ce0b35c6262906586ab3008a7f8fbf043be429144fb25fe4a4a4491dc8ba7 |
File details
Details for the file llmtopic-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: llmtopic-0.0.1-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 | 08f1199bf9d3e82e57adb4fa0782ad5d272be36c0acd2131a63014323781608c |
|
MD5 | 16e068df99f263cf5f022c0f47babbf2 |
|
BLAKE2b-256 | d16bfaecf06158b57974a280c0daefdd2fb4db08d86b2639cf2ff03ec098eaf2 |