mirror of https://github.com/tracel-ai/burn.git
0cbe9a927d
* Add training report summary * Fix LossMetric batch size state * Add NumericEntry de/serialize * Fix clippy suggestion * Compact recorder does not use compression (anymore) * Add learner summary expected results tests * Add summary to learner builder and automatically display in fit - Add LearnerSummaryConfig - Keep track of summary metrics names - Add model field when displaying from learner.fit() |
||
---|---|---|
.. | ||
examples | ||
src | ||
Cargo.toml | ||
README.md |
README.md
Text Generation
Note
This example makes use of the HuggingFacedatasets
library to download the datasets. Make sure you have Python installed on your computer.
The example can be run like so:
CUDA users
git clone https://github.com/tracel-ai/burn.git
cd burn
# Use the --release flag to really speed up training.
export TORCH_CUDA_VERSION=cu121
cargo run --example text-generation --release
Mac users
git clone https://github.com/tracel-ai/burn.git
cd burn
# Use the --release flag to really speed up training.
cargo run --example text-generation --release