jordiclive
commited on
Commit
•
7dd7495
1
Parent(s):
8047f28
Update README.md
Browse files
README.md
CHANGED
@@ -75,7 +75,7 @@ model = transformers.AutoModelForCausalLM.from_pretrained(
|
|
75 |
"decapoda-research/llama-7b-hf", torch_dtype=torch.float16
|
76 |
) # Load Base Model
|
77 |
model.resize_token_embeddings(
|
78 |
-
|
79 |
) # This model repo also contains several embeddings for special tokens that need to be loaded.
|
80 |
|
81 |
model.config.eos_token_id = tokenizer.eos_token_id
|
|
|
75 |
"decapoda-research/llama-7b-hf", torch_dtype=torch.float16
|
76 |
) # Load Base Model
|
77 |
model.resize_token_embeddings(
|
78 |
+
len(tokenizer)
|
79 |
) # This model repo also contains several embeddings for special tokens that need to be loaded.
|
80 |
|
81 |
model.config.eos_token_id = tokenizer.eos_token_id
|