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.6.tar.gz
(20.6 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.6-py3-none-any.whl
(23.1 kB
view details)
File details
Details for the file ukraine-0.0.6.tar.gz.
File metadata
- Download URL: ukraine-0.0.6.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eebfcc3633284f9e6b577a02ccf50be254b4adbff444cf1b406bf154ff280e36
|
|
| MD5 |
8c79d23d61b038fb3548ef53a181e6be
|
|
| BLAKE2b-256 |
1297664be4dc03ad3215f61c07e9f6f0abe9d11f2fb2ec054a13d6cf0e3c3afd
|
File details
Details for the file ukraine-0.0.6-py3-none-any.whl.
File metadata
- Download URL: ukraine-0.0.6-py3-none-any.whl
- Upload date:
- Size: 23.1 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 |
0ee62926a2eb458d43b0023c48bbf1e04340a3d3e7cd538d8181f25a9cf4a4a0
|
|
| MD5 |
6126e0d1b3576e80b304b55883273a42
|
|
| BLAKE2b-256 |
6cc8acb9c5ec0ed656e30961ae710de26b34151187076ff2571f9903fe8e9568
|