malhajar commited on
Commit
3ac3c0e
1 Parent(s): 711c30d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -45,10 +45,9 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
45
  question: "Akciğer kanseri nedir?"
46
  # For generating a response
47
  prompt = '''
48
- ### Instruction:
49
  {question}
50
-
51
- ### Response:'''
52
  input_ids = tokenizer(prompt, return_tensors="pt").input_ids
53
  output = model.generate(inputs=input_ids,max_new_tokens=512,pad_token_id=tokenizer.eos_token_id,top_k=50, do_sample=True,
54
  top_p=0.95)
 
45
  question: "Akciğer kanseri nedir?"
46
  # For generating a response
47
  prompt = '''
48
+ ### Kullancı:
49
  {question}
50
+ '''
 
51
  input_ids = tokenizer(prompt, return_tensors="pt").input_ids
52
  output = model.generate(inputs=input_ids,max_new_tokens=512,pad_token_id=tokenizer.eos_token_id,top_k=50, do_sample=True,
53
  top_p=0.95)