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.4.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.4-py3-none-any.whl
(23.1 kB
view details)
File details
Details for the file ukraine-0.0.4.tar.gz.
File metadata
- Download URL: ukraine-0.0.4.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 |
bf853940cb744b6fc35887711f52df920405b6ed37b661469ec71b92eba47723
|
|
| MD5 |
a0046aeae298f5abea850e4a5ec60be3
|
|
| BLAKE2b-256 |
413ff37087281c5b98d0427d2d869c65cd272a2e0ca6c5cfb21a407e70f1edfd
|
File details
Details for the file ukraine-0.0.4-py3-none-any.whl.
File metadata
- Download URL: ukraine-0.0.4-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 |
d3c8a76fad2400bf4c3ba981bada980974e3be53f932b53716d0b677b2bf4d00
|
|
| MD5 |
dbeef495e670a719cfa396d4d0c6fd41
|
|
| BLAKE2b-256 |
8cb503bfb222a58ac040077379b8351bb7e23db281a0593780121cdf57a4915a
|