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]

Model Management

# List available fine-tuned models
felafax-cli model list

# Start an interactive chat session with a model
felafax-cli model chat <model_id> [--system-prompt "Your custom prompt"]

# Get detailed information about a model
felafax-cli model info <model_id>

# Delete a fine-tuned model
felafax-cli model delete <model_id>

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.14.tar.gz (66.0 kB view details)

Uploaded Source

Built Distribution

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

felafax_cli-0.1.14-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: felafax_cli-0.1.14.tar.gz
  • Upload date:
  • Size: 66.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.14.tar.gz
Algorithm Hash digest
SHA256 5de443b239574f1c5f19ae66715c415d2d6ee8bbde4bfc68d231b5bff76348b5
MD5 7c522c3f6457228a4dc3ff438b7c1389
BLAKE2b-256 f7c5c596777e952dedeaec69bb2e817157b8b921c428b4d55b66bd83f24c7ede

See more details on using hashes here.

File details

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

File metadata

  • Download URL: felafax_cli-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 53.1 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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c8fe4f0d5ae6f3c61bdd01896f11bf319bb4b94bc4afe6f5255b796344b0d514
MD5 d8a633f95566eaf0674e0bd8276d99cf
BLAKE2b-256 9070f8f05d1f3d2185a6e4b04f5ccbf63a4ed8c7789e36375325bd457bbed543

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