Skip to content

Commit

Permalink
ignored version param in Llama
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineDiro committed Aug 17, 2023
1 parent 002ef93 commit b129699
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/models/llama/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! An implementation of [LLaMA](https://huggingface.co/docs/transformers/model_doc/llama) for the `llm` ecosystem.
#![deny(missing_docs)]

use std::{cell::Cell, error::Error, sync::Arc};
use std::{error::Error, sync::Arc};

use llm_base::{
ggml::{self},
Expand All @@ -18,7 +18,7 @@ pub struct Llama {
params: ModelParameters,
hyperparameters: Hyperparameters,
tokenizer: Tokenizer,
version: LlamaModelVersion,
_version: LlamaModelVersion,
// model-global weights
// weighted token embeddings
wte: ggml::Tensor,
Expand Down Expand Up @@ -119,7 +119,7 @@ impl KnownModel for Llama {
Ok(Self {
hyperparameters,
params,
version,
_version: version,
tokenizer,
wte,
norm,
Expand Down

0 comments on commit b129699

Please sign in to comment.