No project description provided
Project description
Torch Lure
Depndencies
pip install git+https://github.com/Farama-Foundation/Minari.git@19565bd8cd33f2e4a3a9a8e4db372044b01ea8d3
pip install torch-lure
Usage
import torchlure as lure
# Optimizers
lure.SophiaG(lr=1e-3, weight_decay=0.2)
# Functions
lure.tanh_exp(x)
lure.TanhExp()
lure.quantile_loss(y_pred, y_target, quantile=0.5)
lure.QuantileLoss(quantile=0.5)
lure.RMSNrom(dim=256, eps=1e-6)
# Noise Scheduler
lure.LinearNoiseScheduler(beta=1e-4, beta_end=0.02, num_timesteps=1000)
lure.CosineNoiseScheduler(max_beta=0.999, s=0.008, num_timesteps=1000):
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
File details
Details for the file torchlure-0.2405.1.dev1.tar.gz
.
File metadata
- Download URL: torchlure-0.2405.1.dev1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9bfdca64f9b966c61ade240e5847690dd4ec6fc82d0a5dc5019e7a67fd72202 |
|
MD5 | ba9c06c8a3745bf0e9f74874255d956a |
|
BLAKE2b-256 | 05466dc038a09acfb2d1f4f9c44c52b963d71b8195936dd6aad9179e5050bb8d |
File details
Details for the file torchlure-0.2405.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: torchlure-0.2405.1.dev1-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6bdbbf3dfb51315168bfe644027fd9536ca457d6a37399387b51ded1884bd5c |
|
MD5 | ec2b353bdbbb1ad6c4b8caee815a4489 |
|
BLAKE2b-256 | f6f60e43b50bd1ed5470a0ff2a9927c301bc852cd1dce03197b66a7ce93d0de0 |