loubnabnl HF staff commited on
Commit
cb14254
1 Parent(s): eaa8ac9

fix model name

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -102,7 +102,7 @@ quantization_config = BitsAndBytesConfig(load_in_8bit=True)
102
 
103
  checkpoint = "bigcode/starcoder2-15b"
104
  tokenizer = AutoTokenizer.from_pretrained(checkpoint)
105
- model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder2-15b_16k", quantization_config=quantization_config)
106
 
107
  inputs = tokenizer.encode("def print_hello_world():", return_tensors="pt").to("cuda")
108
  outputs = model.generate(inputs)
 
102
 
103
  checkpoint = "bigcode/starcoder2-15b"
104
  tokenizer = AutoTokenizer.from_pretrained(checkpoint)
105
+ model = AutoModelForCausalLM.from_pretrained(checkpoint, quantization_config=quantization_config)
106
 
107
  inputs = tokenizer.encode("def print_hello_world():", return_tensors="pt").to("cuda")
108
  outputs = model.generate(inputs)