Skip to main content

Natural Language to SQL CLI powered by a fine-tuned LLM.

Project description

Phi-4 QLoRA

This project fine-tunes Microsoft Phi-4 Mini-Instruct with Unsloth's QLoRA.

Setup

Install dependencies:

pip install -r requirements.txt

Usage

Place train.jsonl and val.jsonl next to src/finetune.py and run:

python src/finetune.py

The fine-tuned model will be written to model/phi4-transqlate-qlora.

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

transqlate-0.1.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

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

transqlate-0.1.0-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file transqlate-0.1.0.tar.gz.

File metadata

  • Download URL: transqlate-0.1.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for transqlate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 35989ebb22aced6f43498ef39db15dc1112cd8aa1b77132d464a77ad8ca7c34d
MD5 6fbbf1f9866fb873dc13939673143956
BLAKE2b-256 0620c26eeb7a55fd3b6bccacad454b813009d95ee234fd4793bb0bd4b758243e

See more details on using hashes here.

File details

Details for the file transqlate-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: transqlate-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for transqlate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c30cc8302c203753fbf8898da436c61c667302758ac2dc263f1817474ae7b48
MD5 95f839e0e41559a82ee15ca10b76a944
BLAKE2b-256 d2822ea594be451509994606f460fdd83e5f5cf529c23f6b6d12903fed1ded5e

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