Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
|
|
| 20 |
import torch
|
| 21 |
from transformers import pipeline, AutoTokenizer
|
| 22 |
|
| 23 |
-
question = "Write a Python function that takes a list of numbers and returns the list sorted in ascending order without using the built-in `sorted()` function."
|
| 24 |
generator = pipeline("text-generation", model="mariasandu/python-coding-assistant-v2", device="cuda")
|
| 25 |
|
| 26 |
tokenizer = AutoTokenizer.from_pretrained("mariasandu/python-coding-assistant-v2")
|
|
|
|
| 20 |
import torch
|
| 21 |
from transformers import pipeline, AutoTokenizer
|
| 22 |
|
| 23 |
+
question = "Write a Python function that takes a list of numbers and returns the list sorted in ascending order without using the built-in `sorted()` function. Return ONLY code in your output. ###Python code:"
|
| 24 |
generator = pipeline("text-generation", model="mariasandu/python-coding-assistant-v2", device="cuda")
|
| 25 |
|
| 26 |
tokenizer = AutoTokenizer.from_pretrained("mariasandu/python-coding-assistant-v2")
|