Skip to content

Commit 9342c8f

Browse files
sguggerLysandreJik
andauthored
Deprecate models (#24787)
* Deprecate some models * Fix imports * Fix inits too * Remove tests * Add deprecated banner to documentation * Remove from init * Fix auto classes * Style * Remote upgrade strategy 1 * Remove site package cache * Revert this part * Fix typo... * Update utils * Update docs/source/en/model_doc/bort.md Co-authored-by: Lysandre Debut <lysandre.debut@reseau.eseo.fr> * Address review comments * With all files saved --------- Co-authored-by: Lysandre Debut <lysandre.debut@reseau.eseo.fr>
1 parent 717dadc commit 9342c8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+328
-3305
lines changed

docs/source/en/model_doc/bort.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ rendered properly in your Markdown viewer.
1616

1717
# BORT
1818

19+
<Tip warning={true}>
20+
21+
This model is in maintenance mode only, so we won't accept any new PRs changing its code.
22+
23+
If you run into any issues running this model, please reinstall the last version that supported this model: v4.30.0.
24+
You can do so by running the following command: `pip install -U transformers==4.30.0`.
25+
26+
</Tip>
27+
1928
## Overview
2029

2130
The BORT model was proposed in [Optimal Subarchitecture Extraction for BERT](https://arxiv.org/abs/2010.10499) by

docs/source/en/model_doc/mctct.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ rendered properly in your Markdown viewer.
1616

1717
# M-CTC-T
1818

19+
<Tip warning={true}>
20+
21+
This model is in maintenance mode only, so we won't accept any new PRs changing its code.
22+
23+
If you run into any issues running this model, please reinstall the last version that supported this model: v4.30.0.
24+
You can do so by running the following command: `pip install -U transformers==4.30.0`.
25+
26+
</Tip>
27+
1928
## Overview
2029

2130
The M-CTC-T model was proposed in [Pseudo-Labeling For Massively Multilingual Speech Recognition](https://arxiv.org/abs/2111.00161) by Loren Lugosch, Tatiana Likhomanenko, Gabriel Synnaeve, and Ronan Collobert. The model is a 1B-param transformer encoder, with a CTC head over 8065 character labels and a language identification head over 60 language ID labels. It is trained on Common Voice (version 6.1, December 2020 release) and VoxPopuli. After training on Common Voice and VoxPopuli, the model is trained on Common Voice only. The labels are unnormalized character-level transcripts (punctuation and capitalization are not removed). The model takes as input Mel filterbank features from a 16Khz audio signal.

docs/source/en/model_doc/retribert.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ rendered properly in your Markdown viewer.
1616

1717
# RetriBERT
1818

19+
<Tip warning={true}>
20+
21+
This model is in maintenance mode only, so we won't accept any new PRs changing its code.
22+
23+
If you run into any issues running this model, please reinstall the last version that supported this model: v4.30.0.
24+
You can do so by running the following command: `pip install -U transformers==4.30.0`.
25+
26+
</Tip>
27+
1928
## Overview
2029

2130
The RetriBERT model was proposed in the blog post [Explain Anything Like I'm Five: A Model for Open Domain Long Form

docs/source/en/model_doc/tapex.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ rendered properly in your Markdown viewer.
1616

1717
# TAPEX
1818

19+
<Tip warning={true}>
20+
21+
This model is in maintenance mode only, so we won't accept any new PRs changing its code.
22+
23+
If you run into any issues running this model, please reinstall the last version that supported this model: v4.30.0.
24+
You can do so by running the following command: `pip install -U transformers==4.30.0`.
25+
26+
</Tip>
27+
1928
## Overview
2029

2130
The TAPEX model was proposed in [TAPEX: Table Pre-training via Learning a Neural SQL Executor](https://arxiv.org/abs/2107.07653) by Qian Liu,

docs/source/en/model_doc/trajectory_transformer.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ rendered properly in your Markdown viewer.
1616

1717
# Trajectory Transformer
1818

19+
<Tip warning={true}>
20+
21+
This model is in maintenance mode only, so we won't accept any new PRs changing its code.
22+
23+
If you run into any issues running this model, please reinstall the last version that supported this model: v4.30.0.
24+
You can do so by running the following command: `pip install -U transformers==4.30.0`.
25+
26+
</Tip>
27+
1928
## Overview
2029

2130
The Trajectory Transformer model was proposed in [Offline Reinforcement Learning as One Big Sequence Modeling Problem](https://arxiv.org/abs/2106.02039) by Michael Janner, Qiyang Li, Sergey Levine.

docs/source/en/model_doc/van.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ rendered properly in your Markdown viewer.
1616

1717
# VAN
1818

19+
<Tip warning={true}>
20+
21+
This model is in maintenance mode only, so we won't accept any new PRs changing its code.
22+
23+
If you run into any issues running this model, please reinstall the last version that supported this model: v4.30.0.
24+
You can do so by running the following command: `pip install -U transformers==4.30.0`.
25+
26+
</Tip>
27+
1928
## Overview
2029

2130
The VAN model was proposed in [Visual Attention Network](https://arxiv.org/abs/2202.09741) by Meng-Hao Guo, Cheng-Ze Lu, Zheng-Ning Liu, Ming-Ming Cheng, Shi-Min Hu.

0 commit comments

Comments
 (0)