Struct candle_transformers::models::llama2_c::Config
source · pub struct Config {
pub dim: usize,
pub hidden_dim: usize,
pub n_layers: usize,
pub n_heads: usize,
pub n_kv_heads: usize,
pub vocab_size: usize,
pub seq_len: usize,
pub norm_eps: f64,
}
Fields§
§dim: usize
§n_layers: usize
§n_heads: usize
§n_kv_heads: usize
§vocab_size: usize
§seq_len: usize
§norm_eps: f64
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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