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. Just like a "bird", this library will help you "fly" through the implementation of fine-tuning. Enjoy!

Features

  • Easy usability: Any text in multiple languages ​​can be used.
  • Easy Integration: Seamlessly integrates with Azure OpenAI services.
  • 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, this is my Github GitHub repositories.

Other AI Projects

Check out my GitHub Pages: GitHub IO.

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.4.tar.gz (9.6 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.4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wyra-0.0.4.tar.gz
  • Upload date:
  • Size: 9.6 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.4.tar.gz
Algorithm Hash digest
SHA256 b4990a45274bab82d2f1f336ea55f7665e06be53b266210d811d0defcaef5598
MD5 52ca7138d057812cfe05e68e094c2088
BLAKE2b-256 b3fa00b957236db259982679e0a62968a1c60856d27833dd72420c263ae78725

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wyra-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6190b21e718a58f75f53a066ca791881f5be4acb1e14df48d29d7d40e7712035
MD5 c7f8030e3f7d9fac8271f7440d6bd1a0
BLAKE2b-256 d6243aff234334ea63503c9f1bcf730bfe38a33f9fc42e862ab5031a2fe317de

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