praful1 commited on
Commit
0ab5453
·
verified ·
1 Parent(s): c3dc1e4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -19,7 +19,7 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
19
  ```python
20
  from transformers import pipeline
21
 
22
- question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
  generator = pipeline("text-generation", model="praful1/Qwen_3_0.6_python_code", device="cuda")
24
  output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
  print(output["generated_text"])
 
19
  ```python
20
  from transformers import pipeline
21
 
22
+ question = "Write me a function to add two numbers?"
23
  generator = pipeline("text-generation", model="praful1/Qwen_3_0.6_python_code", device="cuda")
24
  output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
  print(output["generated_text"])