

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# TensorFlow 集线器型号
<a name="text-classification-tensorflow-Models"></a>

以下预训练模型可用于使用文本分类- TensorFlow 算法进行迁移学习。

对于任何给定数据集，以下模型在大小、模型参数数量、训练时间和推理延迟方面差异很大。最适合您的使用场景的模型取决于微调数据集的复杂性，以及您对训练时间、推理延迟或模型准确性的任何要求。


| 模型名称 | `model_id` | 来源 | 
| --- | --- | --- | 
| BERT Base Uncased | `tensorflow-tc-bert-en-uncased-L-12-H-768-A-12-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/bert_en_uncased_L-12_H-768_A-12/3) | 
| BERT Base Cased | `tensorflow-tc-bert-en-cased-L-12-H-768-A-12-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/bert_en_cased_L-12_H-768_A-12/3) | 
| BERT Base Multilingual Cased | `tensorflow-tc-bert-multi-cased-L-12-H-768-A-12-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/bert_multi_cased_L-12_H-768_A-12/3) | 
| Small BERT L-2\_H-128\_A-2 | `tensorflow-tc-small-bert-bert-en-uncased-L-2-H-128-A-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-2_H-128_A-2/1) | 
| Small BERT L-2\_H-256\_A-4 | `tensorflow-tc-small-bert-bert-en-uncased-L-2-H-256-A-4` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-2_H-256_A-4/1) | 
| Small BERT L-2\_H-512\_A-8 | `tensorflow-tc-small-bert-bert-en-uncased-L-2-H-512-A-8` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-2_H-512_A-8/1) | 
| Small BERT L-2\_H-768\_A-12 | `tensorflow-tc-small-bert-bert-en-uncased-L-2-H-768-A-12` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-2_H-768_A-12/1) | 
| Small BERT L-4\_H-128\_A-2 | `tensorflow-tc-small-bert-bert-en-uncased-L-4-H-128-A-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-4_H-128_A-2/1) | 
| Small BERT L-4\_H-256\_A-4 | `tensorflow-tc-small-bert-bert-en-uncased-L-4-H-256-A-4` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-4_H-256_A-4/1) | 
| Small BERT L-4\_H-512\_A-8 | `tensorflow-tc-small-bert-bert-en-uncased-L-4-H-512-A-8` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-4_H-512_A-8/1) | 
| Small BERT L-4\_H-768\_A-12 | `tensorflow-tc-small-bert-bert-en-uncased-L-4-H-768-A-12` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-4_H-768_A-12/1) | 
| Small BERT L-6\_H-128\_A-2 | `tensorflow-tc-small-bert-bert-en-uncased-L-6-H-128-A-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-6_H-128_A-2/1) | 
| Small BERT L-6\_H-256\_A-4 | `tensorflow-tc-small-bert-bert-en-uncased-L-6-H-256-A-4` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-6_H-256_A-4/1) | 
| Small BERT L-6\_H-512\_A-8 | `tensorflow-tc-small-bert-bert-en-uncased-L-6-H-512-A-8` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-6_H-512_A-8/1) | 
| Small BERT L-6\_H-768\_A-12 | `tensorflow-tc-small-bert-bert-en-uncased-L-6-H-768-A-12` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-6_H-768_A-12/1) | 
| Small BERT L-8\_H-128\_A-2 | `tensorflow-tc-small-bert-bert-en-uncased-L-8-H-128-A-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-8_H-128_A-2/1) | 
| Small BERT L-8\_H-256\_A-4 | `tensorflow-tc-small-bert-bert-en-uncased-L-8-H-256-A-4` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-8_H-256_A-4/1) | 
| Small BERT L-8\_H-512\_A-8 | `tensorflow-tc-small-bert-bert-en-uncased-L-8-H-512-A-8` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-8_H-512_A-8/1) | 
| Small BERT L-8\_H-768\_A-12 | `tensorflow-tc-small-bert-bert-en-uncased-L-8-H-768-A-12` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-8_H-768_A-12/1) | 
| Small BERT L-10\_H-128\_A-2 | `tensorflow-tc-small-bert-bert-en-uncased-L-10-H-128-A-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-10_H-128_A-2/1) | 
| Small BERT L-10\_H-256\_A-4 | `tensorflow-tc-small-bert-bert-en-uncased-L-10-H-256-A-4` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-10_H-256_A-4/1) | 
| Small BERT L-10\_H-512\_A-8 | `tensorflow-tc-small-bert-bert-en-uncased-L-10-H-512-A-8` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-10_H-512_A-8/1) | 
| Small BERT L-10\_H-768\_A-12 | `tensorflow-tc-small-bert-bert-en-uncased-L-10-H-768-A-12` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-10_H-768_A-12/1) | 
| Small BERT L-12\_H-128\_A-2 | `tensorflow-tc-small-bert-bert-en-uncased-L-12-H-128-A-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-12_H-128_A-2/1) | 
| Small BERT L-12\_H-256\_A-4 | `tensorflow-tc-small-bert-bert-en-uncased-L-12-H-256-A-4` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-12_H-256_A-4/1) | 
| Small BERT L-12\_H-512\_A-8 | `tensorflow-tc-small-bert-bert-en-uncased-L-12-H-512-A-8` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-12_H-512_A-8/1) | 
| Small BERT L-12\_H-768\_A-12 | `tensorflow-tc-small-bert-bert-en-uncased-L-12-H-768-A-12` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/small_bert/bert_en_uncased_L-12_H-768_A-12/1) | 
| BERT Large Uncased | `tensorflow-tc-bert-en-uncased-L-24-H-1024-A-16-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/bert_en_uncased_L-24_H-1024_A-16/3) | 
| BERT Large Cased | `tensorflow-tc-bert-en-cased-L-24-H-1024-A-16-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/bert_en_cased_L-24_H-1024_A-16/3) | 
| BERT Large Uncased Whole Word Masking | `tensorflow-tc-bert-en-wwm-uncased-L-24-H-1024-A-16-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/bert_en_wwm_uncased_L-24_H-1024_A-16/3) | 
| BERT Large Cased Whole Word Masking | `tensorflow-tc-bert-en-wwm-cased-L-24-H-1024-A-16-2` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/bert_en_wwm_cased_L-24_H-1024_A-16/3) | 
| ALBERT Base | `tensorflow-tc-albert-en-base` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/albert_en_base/2) | 
| ELECTRA Small\+\+ | `tensorflow-tc-electra-small-1` | [TensorFlow 集线器链接](https://tfhub.dev/google/electra_small/2) | 
| ELECTRA Base | `tensorflow-tc-electra-base-1` | [TensorFlow 集线器链接](https://tfhub.dev/google/electra_base/2) | 
| BERT 基础维基百科和 BooksCorpus | `tensorflow-tc-experts-bert-wiki-books-1` | [TensorFlow 集线器链接](https://tfhub.dev/google/experts/bert/wiki_books/2) | 
| BERT Base MEDLIN PubMed | `tensorflow-tc-experts-bert-pubmed-1` | [TensorFlow 集线器链接](https://tfhub.dev/google/experts/bert/pubmed/2) | 
| Talking Heads Base | `tensorflow-tc-talking-heads-base` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/talkheads_ggelu_bert_en_base/1) | 
| Talking Heads Large | `tensorflow-tc-talking-heads-large` | [TensorFlow 集线器链接](https://tfhub.dev/tensorflow/talkheads_ggelu_bert_en_large/1) | 