mirror of
https://github.com/wassname/ray.git
synced 2026-08-14 12:40:23 +08:00
[Tune] Transformer blog example (#9789)
Co-authored-by: Kai Fricke <kai@anyscale.com>
This commit is contained in:
committed by
SangBin Cho
co-authored by
Kai Fricke
parent
64a4e046da
commit
92e0718218
@@ -67,6 +67,7 @@ extensions = [
|
||||
'sphinx_tabs.tabs',
|
||||
'sphinx-jsonschema',
|
||||
'sphinx_gallery.gen_gallery',
|
||||
'sphinxemoji.sphinxemoji',
|
||||
'sphinx_copybutton',
|
||||
'versionwarning.extension',
|
||||
]
|
||||
|
||||
@@ -56,6 +56,11 @@ LightGBM Example
|
||||
|
||||
- :doc:`/tune/examples/lightgbm_example`: Trains a basic LightGBM model with Tune with the function-based API and a LightGBM callback.
|
||||
|
||||
|:hugging_face:| Huggingface Transformers Example
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- :doc:`/tune/examples/pbt_transformers`: Fine-tunes a Huggingface transformer with Tune Population Based Training.
|
||||
|
||||
|
||||
Contributed Examples
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
:orphan:
|
||||
|
||||
pbt_transformers_example
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. literalinclude:: /../../python/ray/tune/examples/pbt_transformers/pbt_transformers.py
|
||||
.. literalinclude:: /../../python/ray/tune/examples/pbt_transformers/trainer.py
|
||||
.. literalinclude:: /../../python/ray/tune/examples/pbt_transformers/utils.py
|
||||
Reference in New Issue
Block a user