Skip to main content

Fine Tuning Data Maker

Project description

Wyra

Wyra is a Python library designed to create and format data for fine-tuning OpenAI models, specifically tailored for Azure OpenAI services. It simplifies the process of converting text content into the JSON Lines (JSONL) format required for fine-tuning conversational AI models.

"Wyra" is a term used in indigenous languages to refer to a bird or bird species. Just like a bird, this library will help you "fly" through fine-tuning. Enjoy!

Features

  • Easy Integration: Seamlessly integrates with Azure OpenAI services.
  • Easy usability: Any text in multiple languages ​​can be used.
  • Secure Data Handling: Utilizes encryption for sensitive data.
  • Automated Formatting: Converts text content into JSONL format effortlessly.
  • Customizable Prompts: Allows for the creation of flexible fine-tuning datasets for various use cases.

Installation

To install Wyra, use pip:

pip install wyra

Usage

Here's a basic example of how to use Wyra:

# Import necessary libraries
import json
from wyra import FineTuningDataMaker

# Initialize the Fine-Tuning data maker
creator = FineTuningDataMaker()

# Sample content to format
content = "Your text content here (You can use any text in any language you want)."

# Create and format data
formatted_data = creator.format_data(content)

# Save JSONL data to a file
with open('formatted_data.jsonl', 'w') as file:
    file.write(formatted_data)

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or feedback, please open an issue on our GitHub repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wyra-0.0.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wyra-0.0.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file wyra-0.0.3.tar.gz.

File metadata

  • Download URL: wyra-0.0.3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for wyra-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c3065d9299990f3b7b237323dc229e27bef4846dc7d3fa49d44ba0fc4acee8b1
MD5 8f13ae02d5e038c611d285abc1299e4a
BLAKE2b-256 0c729c447db7f18dda478531e2f94cdfe0f0c474b1968e9380d54a690eaa576b

See more details on using hashes here.

File details

Details for the file wyra-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: wyra-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for wyra-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 69b9e04c89895831e75d0a3db053c9dcf98a37523322dfc91de0913d8600ec60
MD5 2d4d5ee604fe64243c7f933e342d8054
BLAKE2b-256 1d65905d70b3effd2681954b0bf2b29f748fc21ca6f05be850aa4b06189117c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page