Skip to content

Commit

Permalink
Update model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlynTheWizard committed Dec 18, 2023
1 parent 3fa1e56 commit d0a0393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llama-7b/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(self, **kwargs) -> None:
self._tokenizer = None

def load(self):
self._tokenizer = LlamaTokenizer.from_pretrained("decapoda-research/llama-7b-hf")
self._tokenizer = LlamaTokenizer.from_pretrained("huggyllama/llama-7b")
self._model = LlamaForCausalLM.from_pretrained(
str(self._data_dir),
torch_dtype=torch.float16,
Expand Down

0 comments on commit d0a0393

Please sign in to comment.