BrokenSoul commited on
Commit
d92eccb
1 Parent(s): eff4b65

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -16,7 +16,7 @@ tokenizer.pad_token = tokenizer.eos_token
16
  tokenizer.padding_side = "right"
17
 
18
  prompt = "What is a large language model?"
19
- pipe = pipeline(task="text-generation", model_name=model, tokenizer=tokenizer, max_length=200)
20
  result = pipe(f"<s>[INST] {prompt} [/INST]")
21
  print(result[0]['generated_text'])
22
  ```
 
16
  tokenizer.padding_side = "right"
17
 
18
  prompt = "What is a large language model?"
19
+ pipe = pipeline(task="text-generation", model=model_name, tokenizer=tokenizer, max_length=200)
20
  result = pipe(f"<s>[INST] {prompt} [/INST]")
21
  print(result[0]['generated_text'])
22
  ```