Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sile/hone
A shell-friendly hyperparameter search tool inspired by Optuna
https://github.com/sile/hone
hyperparameter-optimization rust
Last synced: 6 days ago
JSON representation
A shell-friendly hyperparameter search tool inspired by Optuna
- Host: GitHub
- URL: https://github.com/sile/hone
- Owner: sile
- License: mit
- Created: 2019-12-27T07:03:11.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-26T04:17:14.000Z (11 months ago)
- Last Synced: 2024-05-01T23:47:21.478Z (7 months ago)
- Topics: hyperparameter-optimization, rust
- Language: Rust
- Homepage:
- Size: 155 KB
- Stars: 18
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hone
====```bash
#!/bin/bash
#
# $ hone init
# $ hone run --study mnist --repeats 10 examples/pytorch-mnist.sh
# $ hone trials mnist | hone best
#
set -euxSCRIPT_URL=https://raw.githubusercontent.com/pytorch/examples/master/mnist/main.py
LR=$(hone get lr choice 0.001 0.01 0.1 1.0)
GAMMA=$(hone get gamma choice 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9)curl -L $SCRIPT_URL | python -u - --lr=$LR --gamma=$GAMMA --epochs 3 | tee /tmp/mnist.log
grep -oP '(?<=Test set: Average loss: )[0-9.]*' /tmp/mnist.log | tail -1 | xargs hone report
```Tips
----### How to set timeout to a study or a trial
Please use `timeout` command.
```
# TODO: example
```