Struct rust_bert::models::bert::BertVocabResources
source · pub struct BertVocabResources;
Expand description
Implementations§
source§impl BertVocabResources
impl BertVocabResources
sourcepub const BERT: (&'static str, &'static str) = _
pub const BERT: (&'static str, &'static str) = _
Shared under Apache 2.0 license by the Google team at https://github.com/google-research/bert. Modified with conversion to C-array format.
sourcepub const BERT_NER: (&'static str, &'static str) = _
pub const BERT_NER: (&'static str, &'static str) = _
Shared under MIT license by the MDZ Digital Library team at the Bavarian State Library at https://github.com/dbmdz/berts. Modified with conversion to C-array format.
sourcepub const BERT_QA: (&'static str, &'static str) = _
pub const BERT_QA: (&'static str, &'static str) = _
Shared under Apache 2.0 license by Hugging Face Inc at https://github.com/huggingface/transformers/tree/master/examples/question-answering. Modified with conversion to C-array format.
sourcepub const BERT_BASE_NLI_MEAN_TOKENS: (&'static str, &'static str) = _
pub const BERT_BASE_NLI_MEAN_TOKENS: (&'static str, &'static str) = _
Shared under Apache 2.0 license at https://huggingface.co/sentence-transformers/bert-base-nli-mean-tokens. Modified with conversion to C-array format.
sourcepub const ALL_MINI_LM_L12_V2: (&'static str, &'static str) = _
pub const ALL_MINI_LM_L12_V2: (&'static str, &'static str) = _
Shared under Apache 2.0 license at https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2. Modified with conversion to C-array format.
sourcepub const ALL_MINI_LM_L6_V2: (&'static str, &'static str) = _
pub const ALL_MINI_LM_L6_V2: (&'static str, &'static str) = _
Shared under Apache 2.0 license at https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2. Modified with conversion to C-array format.