TRL Jobs.
Project description
TRL Jobs
A convenient wrapper around hfjobs for running TRL (Transformer Reinforcement Learning) specific workflows on Hugging Face infrastructure.
Installation
pip install trl-jobs
Available Commands
SFT (Supervised Fine-Tuning)
Run SFT job with ease:
trl-jobs sft --flavor a100-large --model Qwen/Qwen3-0.6B --dataset trl-lib/Capybara
Required Arguments
--model: Model name or path (e.g.,Qwen/Qwen3-0.6B)--dataset: Dataset name or path (e.g.,trl-lib/Capybara)
Optional Arguments
--flavor: Hardware flavor (default:t4-small)-d, --detach: Run job in background and print job ID--token: Hugging Face access token
Authentication
You can provide your Hugging Face token in several ways:
- Using
huggingface-hublogin:huggingface-cli login - Setting the
HF_TOKENenvironment variable - Using the
--tokenargument
License
MIT License - see LICENSE file for details.
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
trl_jobs-0.1.3.tar.gz
(2.1 kB
view details)
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 trl_jobs-0.1.3.tar.gz.
File metadata
- Download URL: trl_jobs-0.1.3.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3be17c55c451453101ae629b8c7409b701a13e7237c4801187e2ea3624e1323
|
|
| MD5 |
dc8e6d0ae54b41037cb48154be78e9cc
|
|
| BLAKE2b-256 |
879d3bc0cd2a4d1bb42bebc8f4ad8fc47dd7b00eb9a3f9b77c967b962b9fdae2
|
File details
Details for the file trl_jobs-0.1.3-py3-none-any.whl.
File metadata
- Download URL: trl_jobs-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8426f69fe6b318ec57072cd8feb9a3358dcb0b4680d47a2178523c6eecc6be56
|
|
| MD5 |
8c014cf663bfcfd97b19ea1952c2ee42
|
|
| BLAKE2b-256 |
f948feabc8e1c60fd56b63c73002a36c177f86da3b01558519c998d9e9247e39
|