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.5.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.5-py3-none-any.whl
(23.1 kB
view details)
File details
Details for the file ukraine-0.0.5.tar.gz.
File metadata
- Download URL: ukraine-0.0.5.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 |
cccc5f6ee95bab1a5071c0c3daeb78f2ce14b62f8852e3319a3f65960fed1a48
|
|
| MD5 |
bc4a0fe907b65bc0e14d20d1819a477d
|
|
| BLAKE2b-256 |
a58176fb1e89e40b7f2134f2102ef6aedfb4102c7c40cf504ab8d0e167562937
|
File details
Details for the file ukraine-0.0.5-py3-none-any.whl.
File metadata
- Download URL: ukraine-0.0.5-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 |
f11e74c79452bad815676472d8f6c22e4fe017d3cb14b02863262f120e3a0536
|
|
| MD5 |
ae06e23ec53d30f0b7d0f6e03c4c0250
|
|
| BLAKE2b-256 |
267a3bdf72d04621739e15e8c9b209bce234bbfca70f6f84c0e23d03e1ae3d59
|