Download humaneval.txt from steampunque/benchlm: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/datasets/steampunque/benchlm/resolve/main/humaneval.txt
- Command line
-
hf download hf://datasets/steampunque/benchlm/humaneval.txt
-
curl -L -o humaneval.txt https://huggingface.co/datasets/steampunque/benchlm/resolve/main/humaneval.txt
404 Bytes
| generate python code for the described function header: | |
| from typing import List | |
| def has_close_elements(numbers: List[float], threshold: float) -> bool: | |
| """ Check if in given list of numbers, are any two numbers closer to each other than | |
| given threshold. | |
| >>> has_close_elements([1.0, 2.0, 3.0], 0.5) | |
| False | |
| >>> has_close_elements([1.0, 2.8, 3.0, 4.0, 5.0, 2.0], 0.3) | |
| True | |
| """ | |