Struct rust_bert::models::gpt2::Gpt2ConfigResources
source · pub struct Gpt2ConfigResources;
Expand description
Implementations§
source§impl Gpt2ConfigResources
impl Gpt2ConfigResources
sourcepub const GPT2: (&'static str, &'static str) = _
pub const GPT2: (&'static str, &'static str) = _
Shared under Modified MIT license by the OpenAI team at https://github.com/openai/gpt-2/blob/master/LICENSE. Modified with conversion to C-array format.
sourcepub const GPT2_MEDIUM: (&'static str, &'static str) = _
pub const GPT2_MEDIUM: (&'static str, &'static str) = _
Shared under Modified MIT license by the OpenAI team at https://github.com/openai/gpt-2/blob/master/LICENSE. Modified with conversion to C-array format.
sourcepub const GPT2_LARGE: (&'static str, &'static str) = _
pub const GPT2_LARGE: (&'static str, &'static str) = _
Shared under Modified MIT license by the OpenAI team at https://github.com/openai/gpt-2/blob/master/LICENSE. Modified with conversion to C-array format.
sourcepub const GPT2_XL: (&'static str, &'static str) = _
pub const GPT2_XL: (&'static str, &'static str) = _
Shared under Modified MIT license by the OpenAI team at https://github.com/openai/gpt-2/blob/master/LICENSE. Modified with conversion to C-array format.
sourcepub const DISTIL_GPT2: (&'static str, &'static str) = _
pub const DISTIL_GPT2: (&'static str, &'static str) = _
Shared under Apache 2.0 license by the HuggingFace Inc. team at https://huggingface.co/models. Modified with conversion to C-array format.
sourcepub const DIALOGPT_MEDIUM: (&'static str, &'static str) = _
pub const DIALOGPT_MEDIUM: (&'static str, &'static str) = _
Shared under MIT license by the Microsoft team at https://huggingface.co/microsoft/DialoGPT-medium. Modified with conversion to C-array format.