Enum rust_bert::pipelines::common::ConfigOption [−][src]
pub enum ConfigOption {
Show 18 variants
Bart(BartConfig),
Bert(BertConfig),
DistilBert(DistilBertConfig),
Electra(ElectraConfig),
Marian(BartConfig),
MobileBert(MobileBertConfig),
T5(T5Config),
Albert(AlbertConfig),
XLNet(XLNetConfig),
GPT2(Gpt2Config),
Reformer(ReformerConfig),
ProphetNet(ProphetNetConfig),
Longformer(LongformerConfig),
Pegasus(PegasusConfig),
GPTNeo(GptNeoConfig),
MBart(MBartConfig),
M2M100(M2M100Config),
FNet(FNetConfig),
}Expand description
Variants
Bart(BartConfig)
Tuple Fields
0: BartConfigBart configuration
Bert(BertConfig)
Tuple Fields
0: BertConfigBert configuration
DistilBert(DistilBertConfig)
Tuple Fields
DistilBert configuration
Electra(ElectraConfig)
Tuple Fields
Electra configuration
Marian(BartConfig)
Tuple Fields
0: BartConfigMarian configuration
MobileBert(MobileBertConfig)
Tuple Fields
MobileBert configuration
T5(T5Config)
Tuple Fields
0: T5ConfigT5 configuration
Albert(AlbertConfig)
Tuple Fields
0: AlbertConfigAlbert configuration
XLNet(XLNetConfig)
Tuple Fields
0: XLNetConfigXLNet configuration
GPT2(Gpt2Config)
Tuple Fields
0: Gpt2ConfigGPT2 configuration
Reformer(ReformerConfig)
Tuple Fields
Reformer configuration
ProphetNet(ProphetNetConfig)
Tuple Fields
ProphetNet configuration
Longformer(LongformerConfig)
Tuple Fields
Longformer configuration
Pegasus(PegasusConfig)
Tuple Fields
Pegasus configuration
GPTNeo(GptNeoConfig)
Tuple Fields
0: GptNeoConfigGPT-Neo configuration
MBart(MBartConfig)
Tuple Fields
0: MBartConfigMBart configuration
M2M100(M2M100Config)
Tuple Fields
0: M2M100ConfigM2M100 configuration
FNet(FNetConfig)
Tuple Fields
0: FNetConfigFNet configuration
Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConfigOption
impl Send for ConfigOption
impl Sync for ConfigOption
impl Unpin for ConfigOption
impl UnwindSafe for ConfigOption
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
