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.7.tar.gz
(4.2 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.7.tar.gz.
File metadata
- Download URL: trl_jobs-0.1.7.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ae16e6601b16846ab85a54b8e891b56a6c07239abd006114107979eba702b1a
|
|
| MD5 |
de0968852297d5ad86ce368301f8377e
|
|
| BLAKE2b-256 |
93057f7be6e2c519656334e6043fd348a54dc6349831af5a5aeb0a146540d54d
|
File details
Details for the file trl_jobs-0.1.7-py3-none-any.whl.
File metadata
- Download URL: trl_jobs-0.1.7-py3-none-any.whl
- Upload date:
- Size: 6.9 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 |
2807e678e9c858a08ee6e8111291c3109598c958b487ccdf1f691af068b73936
|
|
| MD5 |
ba195f039de685812a843c0a075269db
|
|
| BLAKE2b-256 |
f3842d35651931e11378dd7cce362624a45b395e9993fa742ce0df1ded7270f6
|