mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 03:01:07 +06:00
Merge branch 'main' into main
This commit is contained in:
commit
1ec801cb2e
@ -17,10 +17,10 @@
|
|||||||
title: Customizing model components
|
title: Customizing model components
|
||||||
- local: model_sharing
|
- local: model_sharing
|
||||||
title: Sharing
|
title: Sharing
|
||||||
- local: add_new_model
|
|
||||||
title: Adding a new model to Transformers
|
|
||||||
- local: modular_transformers
|
- local: modular_transformers
|
||||||
title: Modular Transformers
|
title: Contributing a new model to Transformers
|
||||||
|
- local: add_new_model
|
||||||
|
title: Legacy model contribution
|
||||||
- local: auto_docstring
|
- local: auto_docstring
|
||||||
title: Document your models
|
title: Document your models
|
||||||
- local: attention_interface
|
- local: attention_interface
|
||||||
|
@ -13,7 +13,7 @@ rendered properly in your Markdown viewer.
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# Adding a new model to Transformers
|
# Legacy model contribution
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> Try adding new models with a more [modular](./modular_transformers) approach first. This makes it significantly easier to contribute a model to Transformers!
|
> Try adding new models with a more [modular](./modular_transformers) approach first. This makes it significantly easier to contribute a model to Transformers!
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Modular Transformers
|
# Contributing a new model to Transformers
|
||||||
|
|
||||||
Modular Transformers lowers the bar for contributing models and significantly reduces the code required to add a model by allowing imports and inheritance.
|
Modular Transformers lowers the bar for contributing models and significantly reduces the code required to add a model by allowing imports and inheritance.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user