mwitiderrick commited on
Commit
6ae4004
1 Parent(s): cbc4832

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -75,7 +75,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM,pipeline
75
 
76
  tokenizer = AutoTokenizer.from_pretrained("mwitiderrick/open_llama_3b_instruct_v_0.2")
77
  model = AutoModelForCausalLM.from_pretrained("mwitiderrick/open_llama_3b_instruct_v_0.2")
78
- Provide step-by-step instructions for making a sweet chicken bugger
79
  text_gen = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=500)
80
  output = text_gen(f"### Instruction:\n{query}\n### Response:\n")
81
  print(output[0]['generated_text'])
 
75
 
76
  tokenizer = AutoTokenizer.from_pretrained("mwitiderrick/open_llama_3b_instruct_v_0.2")
77
  model = AutoModelForCausalLM.from_pretrained("mwitiderrick/open_llama_3b_instruct_v_0.2")
78
+ query = "Provide step-by-step instructions for making a sweet chicken bugger"
79
  text_gen = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=500)
80
  output = text_gen(f"### Instruction:\n{query}\n### Response:\n")
81
  print(output[0]['generated_text'])