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]
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file felafax_cli-0.1.16.tar.gz.
File metadata
- Download URL: felafax_cli-0.1.16.tar.gz
- Upload date:
- Size: 66.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2bc36b8329ce884610a6bd5e75ccda75243f0f1cf588e0ff15f9014aafcf974
|
|
| MD5 |
1573509ee994f17d45e628260d358746
|
|
| BLAKE2b-256 |
e4a45dbe8d0079b7c12db83300c9354b46d5135c1f2bc7bddaa07d9ae75c8da4
|
File details
Details for the file felafax_cli-0.1.16-py3-none-any.whl.
File metadata
- Download URL: felafax_cli-0.1.16-py3-none-any.whl
- Upload date:
- Size: 53.3 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 |
afc0e87b38093af3cf758f3a46776c93530a6ba257881b2c7aaedd6de3f0ee55
|
|
| MD5 |
623b9f748e868067c47bd4a56db43b55
|
|
| BLAKE2b-256 |
48592e62a61a1b63c4856ef724468df39d1904fe34490da181094dfdb6390a03
|