Merge branch 'main' of https://huggingface.co/Bin12345/AutoCoder into main
Browse files
README.md
CHANGED
|
@@ -20,7 +20,6 @@ HumanEval = load_dataset("evalplus/humanevalplus")
|
|
| 20 |
|
| 21 |
Input = "" # input your question here
|
| 22 |
|
| 23 |
-
|
| 24 |
messages=[
|
| 25 |
{ 'role': 'user', 'content': Input}
|
| 26 |
]
|
|
@@ -36,6 +35,4 @@ outputs = model.generate(inputs,
|
|
| 36 |
eos_token_id=tokenizer.eos_token_id)
|
| 37 |
|
| 38 |
answer = tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True)
|
| 39 |
-
|
| 40 |
-
|
| 41 |
```
|
|
|
|
| 20 |
|
| 21 |
Input = "" # input your question here
|
| 22 |
|
|
|
|
| 23 |
messages=[
|
| 24 |
{ 'role': 'user', 'content': Input}
|
| 25 |
]
|
|
|
|
| 35 |
eos_token_id=tokenizer.eos_token_id)
|
| 36 |
|
| 37 |
answer = tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True)
|
|
|
|
|
|
|
| 38 |
```
|