update
Browse files- evaluation/intro.txt +2 -2
evaluation/intro.txt
CHANGED
|
@@ -35,7 +35,7 @@ print(pass_at_k)
|
|
| 35 |
```
|
| 36 |
|
| 37 |
To better understand how pass@k metric works, we will illustrate it with some concrete examples. We select two problems from the HumanEval dataset and see how CodeParrot 🦜 (110M) performs and which code completions pass the unit tests of the two problems below:
|
| 38 |
-
|
| 39 |
|
| 40 |
```python
|
| 41 |
|
|
@@ -51,7 +51,7 @@ def separate_paren_groups(paren_string: str) -> List[str]:
|
|
| 51 |
['()', '(())', '(()())']
|
| 52 |
"""
|
| 53 |
````
|
| 54 |
-
|
| 55 |
```python
|
| 56 |
|
| 57 |
def truncate_number(number: float) -> float:
|
|
|
|
| 35 |
```
|
| 36 |
|
| 37 |
To better understand how pass@k metric works, we will illustrate it with some concrete examples. We select two problems from the HumanEval dataset and see how CodeParrot 🦜 (110M) performs and which code completions pass the unit tests of the two problems below:
|
| 38 |
+
**Problem 1:**
|
| 39 |
|
| 40 |
```python
|
| 41 |
|
|
|
|
| 51 |
['()', '(())', '(()())']
|
| 52 |
"""
|
| 53 |
````
|
| 54 |
+
**Problem 2:**
|
| 55 |
```python
|
| 56 |
|
| 57 |
def truncate_number(number: float) -> float:
|