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
- Login with your authentication token:
felafax-cli auth login --token <your-token>
- Initialize a fine-tuning configuration:
felafax-cli tune init-config
- Upload your training data:
felafax-cli files upload path/to/data.jsonl
- 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
Release history Release notifications | RSS feed
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.1.tar.gz
(32.9 kB
view details)
Built Distribution
File details
Details for the file felafax_cli-0.1.1.tar.gz
.
File metadata
- Download URL: felafax_cli-0.1.1.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f25abc5e4547b9af6f7ad793e1f3355bff895706a9aca6d628f5d46dd05650ee |
|
MD5 | d5c8ba8c09f7b49cef8a93e5b2df1959 |
|
BLAKE2b-256 | fa923cb1ae2d2b03b1e402386d82f17e46f3ce2e3d447ae8cc2e5437c2eb50a7 |
File details
Details for the file felafax_cli-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: felafax_cli-0.1.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 464bbcde7673e2e84c9fa79802e0881ff7af5f0f9c0812c009bc04cdcc698d22 |
|
MD5 | 4df0dc6f9e0e3a92dca74887f770349d |
|
BLAKE2b-256 | 067a17eacbf64d017e207c07758f9419d39c9594620918403020ceb25a6ddbde |