pub enum ConfigOption {
Show 22 variants Bart(BartConfig), Bert(BertConfig), DistilBert(DistilBertConfig), Deberta(DebertaConfig), DebertaV2(DebertaV2Config), Electra(ElectraConfig), Marian(MarianConfig), MobileBert(MobileBertConfig), OpenAiGpt(OpenAiGptConfig), T5(T5Config), Albert(AlbertConfig), XLNet(XLNetConfig), GPT2(Gpt2Config), Reformer(ReformerConfig), Roberta(RobertaConfig), ProphetNet(ProphetNetConfig), Longformer(LongformerConfig), Pegasus(PegasusConfig), GPTNeo(GptNeoConfig), MBart(MBartConfig), M2M100(M2M100Config), FNet(FNetConfig),
}
Expand description

Variants

Bart(BartConfig)

Bart configuration

Bert(BertConfig)

Bert configuration

DistilBert(DistilBertConfig)

DistilBert configuration

Deberta(DebertaConfig)

DeBERTa configuration

DebertaV2(DebertaV2Config)

DeBERTa V2 configuration

Electra(ElectraConfig)

Electra configuration

Marian(MarianConfig)

Marian configuration

MobileBert(MobileBertConfig)

MobileBert configuration

OpenAiGpt(OpenAiGptConfig)

OpenAI GPT configuration

T5(T5Config)

T5 configuration

Albert(AlbertConfig)

Albert configuration

XLNet(XLNetConfig)

XLNet configuration

GPT2(Gpt2Config)

GPT2 configuration

Reformer(ReformerConfig)

Reformer configuration

Roberta(RobertaConfig)

RoBERTa configuration

ProphetNet(ProphetNetConfig)

ProphetNet configuration

Longformer(LongformerConfig)

Longformer configuration

Pegasus(PegasusConfig)

Pegasus configuration

GPTNeo(GptNeoConfig)

GPT-Neo configuration

MBart(MBartConfig)

MBart configuration

M2M100(M2M100Config)

M2M100 configuration

FNet(FNetConfig)

FNet configuration

Implementations

Interface method to load a configuration from file

Trait Implementations

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.