text stringlengths 5 58.6k | source stringclasses 470
values | url stringlengths 49 167 | source_section stringlengths 0 90 | file_type stringclasses 1
value | id stringlengths 3 6 |
|---|---|---|---|---|---|
The XLMProphetNet Model with a language modeling head. Can be used for sequence generation tasks.
This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the
library implements for all its model (such as downloading or saving, resizing the input embeddings, pruning heads... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/xlm-prophetnet.md | https://huggingface.co/docs/transformers/en/model_doc/xlm-prophetnet/#xlmprophetnetforconditionalgeneration | #xlmprophetnetforconditionalgeneration | .md | 209_9 |
The standalone decoder part of the XLMProphetNetModel with a lm head on top. The model can be used for causal language modeling.
This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the
library implements for all its model (such as downloading or saving, resizing the ... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/xlm-prophetnet.md | https://huggingface.co/docs/transformers/en/model_doc/xlm-prophetnet/#xlmprophetnetforcausallm | #xlmprophetnetforcausallm | .md | 209_10 |
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/open-llama.md | https://huggingface.co/docs/transformers/en/model_doc/open-llama/ | .md | 210_0 | |
<Tip warning={true}>
This model is in maintenance mode only, we don't accept any new PRs changing its code.
If you run into any issues running this model, please reinstall the last version that supported this model: v4.31.0.
You can do so by running the following command: `pip install -U transformers==4.31.0`.
</... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/open-llama.md | https://huggingface.co/docs/transformers/en/model_doc/open-llama/#open-llama | #open-llama | .md | 210_1 |
The Open-Llama model was proposed in the open source Open-Llama project by community developer s-JoL.
The model is mainly based on LLaMA with some modifications, incorporating memory-efficient attention from Xformers, stable embedding from Bloom, and shared input-output embedding from PaLM.
And the model is pre-train... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/open-llama.md | https://huggingface.co/docs/transformers/en/model_doc/open-llama/#overview | #overview | .md | 210_2 |
This is the configuration class to store the configuration of a [`OpenLlamaModel`]. It is used to instantiate an
Open-Llama model according to the specified arguments, defining the model architecture. Instantiating a
configuration with the defaults will yield a similar configuration to that of the
[s-JoL/Open-Llama-V1]... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/open-llama.md | https://huggingface.co/docs/transformers/en/model_doc/open-llama/#openllamaconfig | #openllamaconfig | .md | 210_3 |
The bare Open-Llama Model outputting raw hidden-states without any specific head on top.
This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the
library implements for all its model (such as downloading or saving, resizing the input embeddings, pruning heads
etc.)
... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/open-llama.md | https://huggingface.co/docs/transformers/en/model_doc/open-llama/#openllamamodel | #openllamamodel | .md | 210_4 |
No docstring available for OpenLlamaForCausalLM
Methods: forward | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/open-llama.md | https://huggingface.co/docs/transformers/en/model_doc/open-llama/#openllamaforcausallm | #openllamaforcausallm | .md | 210_5 |
The LLaMa Model transformer with a sequence classification head on top (linear layer).
[`OpenLlamaForSequenceClassification`] uses the last token in order to do the classification, as other causal
models (e.g. GPT-2) do.
Since it does classification on the last token, it requires to know the position of the last to... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/open-llama.md | https://huggingface.co/docs/transformers/en/model_doc/open-llama/#openllamaforsequenceclassification | #openllamaforsequenceclassification | .md | 210_6 |
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/ | .md | 211_0 | |
The Phi-1 model was proposed in [Textbooks Are All You Need](https://arxiv.org/abs/2306.11644) by Suriya Gunasekar, Yi Zhang, Jyoti Aneja, Caio César Teodoro Mendes, Allie Del Giorno, Sivakanth Gopi, Mojan Javaheripi, Piero Kauffmann, Gustavo de Rosa, Olli Saarikivi, Adil Salim, Shital Shah, Harkirat Singh Behl, Xin Wa... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#overview | #overview | .md | 211_1 |
In Phi-1 and Phi-1.5 papers, the authors showed how important the quality of the data is in training relative to the model size.
They selected high quality "textbook" data alongside with synthetically generated data for training their small sized Transformer
based model Phi-1 with 1.3B parameters. Despite this small sc... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#summary | #summary | .md | 211_2 |
- This model is quite similar to `Llama` with the main difference in [`PhiDecoderLayer`], where they used [`PhiAttention`] and [`PhiMLP`] layers in parallel configuration.
- The tokenizer used for this model is identical to the [`CodeGenTokenizer`]. | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#usage-tips | #usage-tips | .md | 211_3 |
<Tip warning={true}>
Phi-2 has been integrated in the development version (4.37.0.dev) of `transformers`. Until the official version is released through `pip`, ensure that you are doing one of the following:
* When loading the model, ensure that `trust_remote_code=True` is passed as an argument of the `from_pretrai... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#how-to-use-phi-2 | #how-to-use-phi-2 | .md | 211_4 |
```python
>>> from transformers import PhiForCausalLM, AutoTokenizer
>>> # define the model and tokenizer.
>>> model = PhiForCausalLM.from_pretrained("microsoft/phi-1_5")
>>> tokenizer = AutoTokenizer.from_pretrained("microsoft/phi-1_5")
>>> # feel free to change the prompt to your liking.
>>> prompt = "If I were an ... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#example- | #example- | .md | 211_5 |
First, make sure to install the latest version of Flash Attention 2 to include the sliding window attention feature.
```bash
pip install -U flash-attn --no-build-isolation
```
Make also sure that you have a hardware that is compatible with Flash-Attention 2. Read more about it in the official documentation of flash... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#combining-phi-and-flash-attention-2 | #combining-phi-and-flash-attention-2 | .md | 211_6 |
Below is an expected speedup diagram that compares pure inference time between the native implementation in transformers using `microsoft/phi-1` checkpoint and the Flash Attention 2 version of the model using a sequence length of 2048.
<div style="text-align: center">
<img src="https://huggingface.co/datasets/ybelkad... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#expected-speedups | #expected-speedups | .md | 211_7 |
This is the configuration class to store the configuration of a [`PhiModel`]. It is used to instantiate an Phi
model according to the specified arguments, defining the model architecture. Instantiating a configuration with the
defaults will yield a similar configuration to that of the Phi
[microsoft/phi-1](https://hugg... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#phiconfig | #phiconfig | .md | 211_8 |
The bare Phi Model outputting raw hidden-states without any specific head on top.
This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the
library implements for all its model (such as downloading or saving, resizing the input embeddings, pruning heads
etc.)
This mo... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#phimodel | #phimodel | .md | 211_9 |
No docstring available for PhiForCausalLM
Methods: forward
- generate | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#phiforcausallm | #phiforcausallm | .md | 211_10 |
The Phi Model transformer with a sequence classification head on top (linear layer).
[`PhiForSequenceClassification`] uses the last token in order to do the classification, as other causal models
(e.g. GPT-2) do.
Since it does classification on the last token, it requires to know the position of the last token. If ... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#phiforsequenceclassification | #phiforsequenceclassification | .md | 211_11 |
The Phi Model transformer with a token classification head on top (a linear layer on top of the hidden-states
output) e.g. for Named-Entity-Recognition (NER) tasks.
This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the
library implements for all its model (such a... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/phi.md | https://huggingface.co/docs/transformers/en/model_doc/phi/#phifortokenclassification | #phifortokenclassification | .md | 211_12 |
<!--Copyright 2020 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/ | .md | 212_0 | |
In many cases, the architecture you want to use can be guessed from the name or the path of the pretrained model you
are supplying to the `from_pretrained()` method. AutoClasses are here to do this job for you so that you
automatically retrieve the relevant model given the name/path to the pretrained weights/config/voc... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#auto-classes | #auto-classes | .md | 212_1 |
Each of the auto classes has a method to be extended with your custom classes. For instance, if you have defined a
custom class of model `NewModel`, make sure you have a `NewModelConfig` then you can add those to the auto
classes like this:
```python
from transformers import AutoConfig, AutoModel
AutoConfig.register... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#extending-the-auto-classes | #extending-the-auto-classes | .md | 212_2 |
AutoConfig
This is a generic configuration class that will be instantiated as one of the configuration classes of the library
when created with the [`~AutoConfig.from_pretrained`] class method.
This class cannot be instantiated directly using `__init__()` (throws an error). | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#autoconfig | #autoconfig | .md | 212_3 |
AutoTokenizer
This is a generic tokenizer class that will be instantiated as one of the tokenizer classes of the library when
created with the [`AutoTokenizer.from_pretrained`] class method.
This class cannot be instantiated directly using `__init__()` (throws an error). | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#autotokenizer | #autotokenizer | .md | 212_4 |
AutoFeatureExtractor
This is a generic feature extractor class that will be instantiated as one of the feature extractor classes of the
library when created with the [`AutoFeatureExtractor.from_pretrained`] class method.
This class cannot be instantiated directly using `__init__()` (throws an error). | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#autofeatureextractor | #autofeatureextractor | .md | 212_5 |
AutoImageProcessor
This is a generic image processor class that will be instantiated as one of the image processor classes of the
library when created with the [`AutoImageProcessor.from_pretrained`] class method.
This class cannot be instantiated directly using `__init__()` (throws an error). | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#autoimageprocessor | #autoimageprocessor | .md | 212_6 |
AutoProcessor
This is a generic processor class that will be instantiated as one of the processor classes of the library when
created with the [`AutoProcessor.from_pretrained`] class method.
This class cannot be instantiated directly using `__init__()` (throws an error). | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#autoprocessor | #autoprocessor | .md | 212_7 |
The following auto classes are available for instantiating a base model class without a specific head. | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#generic-model-classes | #generic-model-classes | .md | 212_8 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error). | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodel | #automodel | .md | 212_9 |
No docstring available for TFAutoModel | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodel | #tfautomodel | .md | 212_10 |
No docstring available for FlaxAutoModel | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodel | #flaxautomodel | .md | 212_11 |
The following auto classes are available for instantiating a model with a pretraining head. | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#generic-pretraining-classes | #generic-pretraining-classes | .md | 212_12 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForPreT... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforpretraining | #automodelforpretraining | .md | 212_13 |
No docstring available for TFAutoModelForPreTraining | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforpretraining | #tfautomodelforpretraining | .md | 212_14 |
No docstring available for FlaxAutoModelForPreTraining | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelforpretraining | #flaxautomodelforpretraining | .md | 212_15 |
The following auto classes are available for the following natural language processing tasks. | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#natural-language-processing | #natural-language-processing | .md | 212_16 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForCaus... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforcausallm | #automodelforcausallm | .md | 212_17 |
No docstring available for TFAutoModelForCausalLM | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforcausallm | #tfautomodelforcausallm | .md | 212_18 |
No docstring available for FlaxAutoModelForCausalLM | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelforcausallm | #flaxautomodelforcausallm | .md | 212_19 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForMask... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelformaskedlm | #automodelformaskedlm | .md | 212_20 |
No docstring available for TFAutoModelForMaskedLM | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelformaskedlm | #tfautomodelformaskedlm | .md | 212_21 |
No docstring available for FlaxAutoModelForMaskedLM | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelformaskedlm | #flaxautomodelformaskedlm | .md | 212_22 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForMask... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelformaskgeneration | #automodelformaskgeneration | .md | 212_23 |
No docstring available for TFAutoModelForMaskGeneration | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelformaskgeneration | #tfautomodelformaskgeneration | .md | 212_24 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForSeq2... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforseq2seqlm | #automodelforseq2seqlm | .md | 212_25 |
No docstring available for TFAutoModelForSeq2SeqLM | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforseq2seqlm | #tfautomodelforseq2seqlm | .md | 212_26 |
No docstring available for FlaxAutoModelForSeq2SeqLM | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelforseq2seqlm | #flaxautomodelforseq2seqlm | .md | 212_27 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForSequ... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforsequenceclassification | #automodelforsequenceclassification | .md | 212_28 |
No docstring available for TFAutoModelForSequenceClassification | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforsequenceclassification | #tfautomodelforsequenceclassification | .md | 212_29 |
No docstring available for FlaxAutoModelForSequenceClassification | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelforsequenceclassification | #flaxautomodelforsequenceclassification | .md | 212_30 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForMult... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelformultiplechoice | #automodelformultiplechoice | .md | 212_31 |
No docstring available for TFAutoModelForMultipleChoice | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelformultiplechoice | #tfautomodelformultiplechoice | .md | 212_32 |
No docstring available for FlaxAutoModelForMultipleChoice | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelformultiplechoice | #flaxautomodelformultiplechoice | .md | 212_33 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForNext... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelfornextsentenceprediction | #automodelfornextsentenceprediction | .md | 212_34 |
No docstring available for TFAutoModelForNextSentencePrediction | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelfornextsentenceprediction | #tfautomodelfornextsentenceprediction | .md | 212_35 |
No docstring available for FlaxAutoModelForNextSentencePrediction | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelfornextsentenceprediction | #flaxautomodelfornextsentenceprediction | .md | 212_36 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForToke... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelfortokenclassification | #automodelfortokenclassification | .md | 212_37 |
No docstring available for TFAutoModelForTokenClassification | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelfortokenclassification | #tfautomodelfortokenclassification | .md | 212_38 |
No docstring available for FlaxAutoModelForTokenClassification | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelfortokenclassification | #flaxautomodelfortokenclassification | .md | 212_39 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForQues... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforquestionanswering | #automodelforquestionanswering | .md | 212_40 |
No docstring available for TFAutoModelForQuestionAnswering | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforquestionanswering | #tfautomodelforquestionanswering | .md | 212_41 |
No docstring available for FlaxAutoModelForQuestionAnswering | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelforquestionanswering | #flaxautomodelforquestionanswering | .md | 212_42 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForText... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelfortextencoding | #automodelfortextencoding | .md | 212_43 |
No docstring available for TFAutoModelForTextEncoding | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelfortextencoding | #tfautomodelfortextencoding | .md | 212_44 |
The following auto classes are available for the following computer vision tasks. | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#computer-vision | #computer-vision | .md | 212_45 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForDept... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelfordepthestimation | #automodelfordepthestimation | .md | 212_46 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForImag... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforimageclassification | #automodelforimageclassification | .md | 212_47 |
No docstring available for TFAutoModelForImageClassification | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforimageclassification | #tfautomodelforimageclassification | .md | 212_48 |
No docstring available for FlaxAutoModelForImageClassification | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelforimageclassification | #flaxautomodelforimageclassification | .md | 212_49 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForVide... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforvideoclassification | #automodelforvideoclassification | .md | 212_50 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForKeyp... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforkeypointdetection | #automodelforkeypointdetection | .md | 212_51 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForMask... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelformaskedimagemodeling | #automodelformaskedimagemodeling | .md | 212_52 |
No docstring available for TFAutoModelForMaskedImageModeling | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelformaskedimagemodeling | #tfautomodelformaskedimagemodeling | .md | 212_53 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForObje... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforobjectdetection | #automodelforobjectdetection | .md | 212_54 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForImag... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforimagesegmentation | #automodelforimagesegmentation | .md | 212_55 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForImag... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforimagetoimage | #automodelforimagetoimage | .md | 212_56 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForSema... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforsemanticsegmentation | #automodelforsemanticsegmentation | .md | 212_57 |
No docstring available for TFAutoModelForSemanticSegmentation | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforsemanticsegmentation | #tfautomodelforsemanticsegmentation | .md | 212_58 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForInst... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforinstancesegmentation | #automodelforinstancesegmentation | .md | 212_59 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForUniv... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforuniversalsegmentation | #automodelforuniversalsegmentation | .md | 212_60 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForZero... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforzeroshotimageclassification | #automodelforzeroshotimageclassification | .md | 212_61 |
No docstring available for TFAutoModelForZeroShotImageClassification | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforzeroshotimageclassification | #tfautomodelforzeroshotimageclassification | .md | 212_62 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForZero... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforzeroshotobjectdetection | #automodelforzeroshotobjectdetection | .md | 212_63 |
The following auto classes are available for the following audio tasks. | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#audio | #audio | .md | 212_64 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForAudi... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforaudioclassification | #automodelforaudioclassification | .md | 212_65 |
No docstring available for TFAutoModelForAudioClassification | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforaudioframeclassification | #automodelforaudioframeclassification | .md | 212_66 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForAudi... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforaudioframeclassification | #tfautomodelforaudioframeclassification | .md | 212_67 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForCTC | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforctc | #automodelforctc | .md | 212_68 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForSpee... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforspeechseq2seq | #automodelforspeechseq2seq | .md | 212_69 |
No docstring available for TFAutoModelForSpeechSeq2Seq | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelforspeechseq2seq | #tfautomodelforspeechseq2seq | .md | 212_70 |
No docstring available for FlaxAutoModelForSpeechSeq2Seq | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#flaxautomodelforspeechseq2seq | #flaxautomodelforspeechseq2seq | .md | 212_71 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForAudi... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelforaudioxvector | #automodelforaudioxvector | .md | 212_72 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForText... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelfortexttospectrogram | #automodelfortexttospectrogram | .md | 212_73 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForText... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelfortexttowaveform | #automodelfortexttowaveform | .md | 212_74 |
The following auto classes are available for the following multimodal tasks. | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#multimodal | #multimodal | .md | 212_75 |
AutoModel
This is a generic model class that will be instantiated as one of the base model classes of the library when created
with the [`~AutoModel.from_pretrained`] class method or the [`~AutoModel.from_config`] class
method.
This class cannot be instantiated directly using `__init__()` (throws an error).
ForTabl... | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#automodelfortablequestionanswering | #automodelfortablequestionanswering | .md | 212_76 |
No docstring available for TFAutoModelForTableQuestionAnswering | /Users/nielsrogge/Documents/python_projecten/transformers/docs/source/en/model_doc/auto.md | https://huggingface.co/docs/transformers/en/model_doc/auto/#tfautomodelfortablequestionanswering | #tfautomodelfortablequestionanswering | .md | 212_77 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.