Ukraine: A Data Science Toolkit
Project description
Ukraine
Ukraine is a deep learning toolkit that includes transformer models, tokenizers, and masking utilities.
Installation
!pip install -U ukraine[langchain_llama]
from ukraine.agents.rag import PDFLlamaRAGAgent
agent = PDFLlamaRAGAgent(
file_path="PATH_TO_PDF",
system_prompt="""Provide answers based on the document."{context}""""
)
result = agent.chat("What is this document about?")
print(result["answer"])
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
ukraine-0.0.3.tar.gz
(10.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ukraine-0.0.3-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file ukraine-0.0.3.tar.gz.
File metadata
- Download URL: ukraine-0.0.3.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efe616e4bd97b3e48538c023df25c015d29d73ef742429197e2983fd3ead97d9
|
|
| MD5 |
fe8aec5718caf61bd8f1427d331539e4
|
|
| BLAKE2b-256 |
84603b4ab90692801175d0654665639b458a717895968d36e56867b50da2c746
|
File details
Details for the file ukraine-0.0.3-py3-none-any.whl.
File metadata
- Download URL: ukraine-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8820d97a8e1721a7519c6ee43b03df202f18299c79ef72ee33b0c095ce1f4b83
|
|
| MD5 |
bc5e6e23799df48ca6b65944a4ee503f
|
|
| BLAKE2b-256 |
370ff6d334bb68f789cb4084301bce778ed6c6c544870968a178c2892c2931d8
|