Skip to main content

CLI tool for interacting with the Felafax platform; fine-tuning and inference on non-NVIDIA chipsets.

Project description

Felafax CLI

A command-line interface for fine-tuning and managing large language models.

Installation

pip install felafax-cli

Quick Start

  1. Login with your authentication token:
felafax-cli auth login --token <your-token>
  1. Initialize a fine-tuning configuration:
felafax-cli tune init-config
  1. Upload your training data:
felafax-cli files upload path/to/data.jsonl
  1. Start fine-tuning:
felafax-cli tune start --model <model_name> --config config.yml --dataset <dataset_id>

Available Commands

Authentication

# Login with your token
felafax-cli auth login --token <your-token> [--force]

# Logout
felafax-cli auth logout

Training Management

# Initialize a new config file
felafax-cli tune init-config

# Start a new fine-tuning job
felafax-cli tune start \
    --model <model_name> \
    --config path/to/config.yml \
    --dataset <dataset_id>

# List all training jobs
felafax-cli tune list

# Check job status
felafax-cli tune status --job-id <id>

# Stop a running job
felafax-cli tune stop --job-id <id>

File Management

# List files in storage
felafax-cli files list [--prefix <prefix>] [--limit <number>]

# Upload training data
felafax-cli files upload <file_path>

# Delete a file
felafax-cli files delete <file_path>

Configuration Example

When you run felafax-cli tune init-config, it creates a YAML file with the following structure:

hyperparameters:
  learning_rate: 1.0e-05
  batch_size: 32
  n_epochs: 4
  warmup_ratio: 0.0
lora:
  enabled: false
  r: 8
  alpha: 8
  dropout: 0.0

Support

For more information, visit our documentation at https://docs.felafax.ai

License

MIT License

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

felafax_cli-0.1.2.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

felafax_cli-0.1.2-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file felafax_cli-0.1.2.tar.gz.

File metadata

  • Download URL: felafax_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for felafax_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 95ad89704945941930faa3c71e1624220455b58c9217a0767542f8813c463ac7
MD5 88c85aa28af6382e7cdd109732bdded4
BLAKE2b-256 67388668f4c030805c15ca6f1cb6c5ea3fd444731d4f1e24902f51e4582bbb5d

See more details on using hashes here.

File details

Details for the file felafax_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: felafax_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for felafax_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da2c31175dda1ab9e11001c2127ac72b043d124fe0b743a77fa9f77c0faf25e4
MD5 6ccbc919ce1f7d3e3e03447181f09c85
BLAKE2b-256 63e07932370640250c56e8a4217928e765a883822f975bd99649b576a5e7433d

See more details on using hashes here.

Supported by

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