This library includes an extensible system for building various trajectory operations.
Project description
KAFY Library
The KAFY library provides an extensible system for various trajectory operations and includes a versatile command-line interface (CLI) for managing these operations using SQL-like commands. It functions as a toolkit for researchers, facilitating the construction, management, and execution of diverse trajectory operations.
Features
- Extensible System: Designed to accommodate various trajectory operations with flexibility and ease.
- User-Friendly: Simplifies the construction and management of trajectory operations, making it accessible to researchers.
- SQL-like Command Interface: Allows users to execute trajectory operations through intuitive, SQL-like commands.
Installation
You can install the KAFY library using pip:
pip install KAFYTraj==0.1.12
Usage
To use the library, import the TrajectoryPipeline class from KAFY:
from KAFY import TrajectoryPipeline
# Initialize the pipeline
my_pipeline = TrajectoryPipeline(
mode="pretraining",
operation_type="generation",
use_tokenization=True,
use_detokenization=True,
use_spatial_constraints=True,
modify_spatial_constraints=True,
use_predefined_spatial_constraints=True,
project_path="/content/"
)
SQL-like Command Interface
To use the SQL-like command interface, you can execute commands directly from the terminal. The CLI allows you to perform operations such as pretraining, fine-tuning, and summarizing data.
Pretraining a Model:
kafy_parser "PRETRAIN bert FROM mydata.csv USING bert_config.json AS my_pretrained_model.pkl"
Fine-Tune a Model:
kafy_parser "FINETUNE bert FOR summarization USING my_pretrained_model.pkl WITH finetune_config.json AS my_finetuned_model.pkl"
Summarize Data:
kafy_parser "SUMMARIZE FROM requested_data_to_summarize.csv USING my_finetuned_model.pkl"
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For any questions or support, please contact husse408@umn.edu.
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
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
File details
Details for the file kafytraj-0.1.12.tar.gz.
File metadata
- Download URL: kafytraj-0.1.12.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47fa99b7dc422b8a211c1f6de85ac40fc0631d4860dabcd7be9d97935743acfe
|
|
| MD5 |
f298bd19f02086ba7d8e197f6d96c245
|
|
| BLAKE2b-256 |
e858fb3a8f41330c17daf146c06592a50ef66b8330605622dea8b3f709b7254d
|
File details
Details for the file KAFYTraj-0.1.12-py3-none-any.whl.
File metadata
- Download URL: KAFYTraj-0.1.12-py3-none-any.whl
- Upload date:
- Size: 40.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a6125ee46b05ba2be17eed6da3a9d47d80370209ce2e90aa3b2d792eaef3fd9
|
|
| MD5 |
12f807b4cad68bf517331238e3b70d74
|
|
| BLAKE2b-256 |
0a31266d86f6e00ffb0c5420b8adb9501efdfa6416f2bc0c4e3b57dfb3655949
|