Update README.md
Browse files
README.md
CHANGED
|
@@ -65,14 +65,7 @@ model = model.to(torch.bfloat16)
|
|
| 65 |
model.eval()
|
| 66 |
tokenizer = AutoTokenizer.from_pretrained("Zigeng/DMax-Coder-16B", trust_remote_code=True)
|
| 67 |
|
| 68 |
-
prompt = "Write a python function to find the first repeated character in a given string." + "
|
| 69 |
-
|
| 70 |
-
Please enclose your code within delimiters as follows:
|
| 71 |
-
```python
|
| 72 |
-
# YOUR CODE HERE
|
| 73 |
-
```
|
| 74 |
-
|
| 75 |
-
"
|
| 76 |
|
| 77 |
input_ids = tokenizer.apply_chat_template(
|
| 78 |
[{"role": "user", "content": prompt}],
|
|
|
|
| 65 |
model.eval()
|
| 66 |
tokenizer = AutoTokenizer.from_pretrained("Zigeng/DMax-Coder-16B", trust_remote_code=True)
|
| 67 |
|
| 68 |
+
prompt = "Write a python function to find the first repeated character in a given string." + "\n\nPlease enclose your code within delimiters as follows:\n```python\n# YOUR CODE HERE\n```\n\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
input_ids = tokenizer.apply_chat_template(
|
| 71 |
[{"role": "user", "content": prompt}],
|