1413 lines
33 KiB
Python
1413 lines
33 KiB
Python
|
# This file is autogenerated by the command `make fix-copies`, do not edit.
|
||
|
from ..utils import DummyObject, requires_backends
|
||
|
|
||
|
|
||
|
class FlaxForcedBOSTokenLogitsProcessor(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxForcedEOSTokenLogitsProcessor(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxForceTokensLogitsProcessor(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGenerationMixin(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxLogitsProcessor(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxLogitsProcessorList(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxLogitsWarper(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMinLengthLogitsProcessor(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxSuppressTokensAtBeginLogitsProcessor(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxSuppressTokensLogitsProcessor(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxTemperatureLogitsWarper(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxTopKLogitsWarper(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxTopPLogitsWarper(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxWhisperTimeStampLogitsProcessor(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAlbertForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAlbertForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAlbertForPreTraining(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAlbertForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAlbertForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAlbertForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAlbertModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAlbertPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_AUDIO_CLASSIFICATION_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_CAUSAL_LM_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_IMAGE_CLASSIFICATION_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_MASKED_LM_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_MULTIPLE_CHOICE_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_NEXT_SENTENCE_PREDICTION_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_PRETRAINING_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_QUESTION_ANSWERING_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_SEQ_TO_SEQ_CAUSAL_LM_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_SEQUENCE_CLASSIFICATION_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_SPEECH_SEQ_2_SEQ_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_TOKEN_CLASSIFICATION_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_FOR_VISION_2_SEQ_MAPPING = None
|
||
|
|
||
|
|
||
|
FLAX_MODEL_MAPPING = None
|
||
|
|
||
|
|
||
|
class FlaxAutoModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForImageClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForNextSentencePrediction(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForPreTraining(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForSeq2SeqLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForSpeechSeq2Seq(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxAutoModelForVision2Seq(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBartDecoderPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBartForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBartForConditionalGeneration(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBartForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBartForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBartModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBartPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBeitForImageClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBeitForMaskedImageModeling(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBeitModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBeitPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertForNextSentencePrediction(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertForPreTraining(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBertPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBigBirdForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBigBirdForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBigBirdForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBigBirdForPreTraining(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBigBirdForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBigBirdForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBigBirdForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBigBirdModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBigBirdPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBlenderbotForConditionalGeneration(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBlenderbotModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBlenderbotPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBlenderbotSmallForConditionalGeneration(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBlenderbotSmallModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBlenderbotSmallPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBloomForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBloomModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxBloomPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxCLIPModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxCLIPPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxCLIPTextModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxCLIPTextModelWithProjection(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxCLIPTextPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxCLIPVisionModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxCLIPVisionPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxDistilBertForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxDistilBertForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxDistilBertForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxDistilBertForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxDistilBertForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxDistilBertModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxDistilBertPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxElectraForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxElectraForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxElectraForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxElectraForPreTraining(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxElectraForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxElectraForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxElectraForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxElectraModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxElectraPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxEncoderDecoderModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGemmaForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGemmaModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGemmaPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGPT2LMHeadModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGPT2Model(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGPT2PreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGPTNeoForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGPTNeoModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGPTNeoPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGPTJForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGPTJModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxGPTJPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxLlamaForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxLlamaModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxLlamaPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxLongT5ForConditionalGeneration(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxLongT5Model(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxLongT5PreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMarianModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMarianMTModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMarianPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMBartForConditionalGeneration(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMBartForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMBartForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMBartModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMBartPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMistralForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMistralModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMistralPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMT5EncoderModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMT5ForConditionalGeneration(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxMT5Model(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxOPTForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxOPTModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxOPTPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxPegasusForConditionalGeneration(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxPegasusModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxPegasusPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRegNetForImageClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRegNetModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRegNetPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxResNetForImageClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxResNetModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxResNetPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaPreLayerNormForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaPreLayerNormForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaPreLayerNormForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaPreLayerNormForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaPreLayerNormForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaPreLayerNormForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaPreLayerNormModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRobertaPreLayerNormPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRoFormerForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRoFormerForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRoFormerForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRoFormerForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRoFormerForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRoFormerModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxRoFormerPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxSpeechEncoderDecoderModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxT5EncoderModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxT5ForConditionalGeneration(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxT5Model(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxT5PreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxVisionEncoderDecoderModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxVisionTextDualEncoderModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxViTForImageClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxViTModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxViTPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxWav2Vec2ForCTC(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxWav2Vec2ForPreTraining(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxWav2Vec2Model(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxWav2Vec2PreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxWhisperForAudioClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxWhisperForConditionalGeneration(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxWhisperModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxWhisperPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXGLMForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXGLMModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXGLMPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
FLAX_XLM_ROBERTA_PRETRAINED_MODEL_ARCHIVE_LIST = None
|
||
|
|
||
|
|
||
|
class FlaxXLMRobertaForCausalLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXLMRobertaForMaskedLM(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXLMRobertaForMultipleChoice(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXLMRobertaForQuestionAnswering(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXLMRobertaForSequenceClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXLMRobertaForTokenClassification(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXLMRobertaModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|
||
|
|
||
|
|
||
|
class FlaxXLMRobertaPreTrainedModel(metaclass=DummyObject):
|
||
|
_backends = ["flax"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["flax"])
|