Text Generation
English
sft
jordiclive commited on
Commit
7dd7495
1 Parent(s): 8047f28

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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
- 32016
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