Struct rust_bert::models::longformer::LongformerConfigResources
source · pub struct LongformerConfigResources;Expand description
Implementations§
source§impl LongformerConfigResources
impl LongformerConfigResources
sourcepub const LONGFORMER_BASE_4096: (&'static str, &'static str) = _
pub const LONGFORMER_BASE_4096: (&'static str, &'static str) = _
Shared under Apache 2.0 license by the AllenAI team at https://github.com/allenai/longformer. Modified with conversion to C-array format.
sourcepub const LONGFORMER_BASE_SQUAD1: (&'static str, &'static str) = _
pub const LONGFORMER_BASE_SQUAD1: (&'static str, &'static str) = _
Shared under MIT license at https://huggingface.co/valhalla/longformer-base-4096-finetuned-squadv1. Modified with conversion to C-array format.
Auto Trait Implementations§
impl RefUnwindSafe for LongformerConfigResources
impl Send for LongformerConfigResources
impl Sync for LongformerConfigResources
impl Unpin for LongformerConfigResources
impl UnwindSafe for LongformerConfigResources
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more