Struct rust_bert::models::longformer::LongformerMergesResources
source · pub struct LongformerMergesResources;Expand description
Implementations§
source§impl LongformerMergesResources
impl LongformerMergesResources
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 LongformerMergesResources
impl Send for LongformerMergesResources
impl Sync for LongformerMergesResources
impl Unpin for LongformerMergesResources
impl UnwindSafe for LongformerMergesResources
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