Commit ·
799cb20
1
Parent(s): e609a60
Update README.md
Browse files16 unmodified lines171819202122232425262716 unmodified lines- `use_fused_clip_norm`: whether to use Habana's fused gradient norm clipping operator- `use_torch_autocast`: whether to use Torch Autocast for managing mixed precision## UsageThe model is instantiated the same way as in the Transformers library.The only difference is that there are a few new training arguments specific to HPUs.[Here](https://github.com/huggingface/optimum-habana/blob/main/examples/audio-classification/run_audio_classification.py) is an audio classification example script to fine-tune a model. You can run it with Wav2Vec2 with the following command:```bash16 unmodified lines171819202122232425262716 unmodified lines- `use_fused_clip_norm`: whether to use Habana's fused gradient norm clipping operator- `use_torch_autocast`: whether to use Torch Autocast for managing mixed precision## UsageThe model is instantiated the same way as in the Transformers library.The only difference is that there are a few new training arguments specific to HPUs.\This model is supported only in mixed precision training with bf16 type.[Here](https://github.com/huggingface/optimum-habana/blob/main/examples/audio-classification/run_audio_classification.py) is an audio classification example script to fine-tune a model. You can run it with Wav2Vec2 with the following command:```bash
README.md+2-2