|
Download README.md from bigcode/github-commits-diff-dedup-pjjs-april: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/datasets/bigcode/github-commits-diff-dedup-pjjs-april/resolve/00a0ab9ac00bc23aef790ecc8fbbf89a33bd96ec/README.md
- Command line
-
hf download hf://datasets/bigcode/github-commits-diff-dedup-pjjs-april@00a0ab9ac00bc23aef790ecc8fbbf89a33bd96ec/README.md
-
curl -L -o README.md https://huggingface.co/datasets/bigcode/github-commits-diff-dedup-pjjs-april/resolve/00a0ab9ac00bc23aef790ecc8fbbf89a33bd96ec/README.md
285 Bytes
| # Deduplicated Commits | |
| Deduplicated based on diff: | |
| ``` | |
| content = '\n'.join(difflib.unified_diff( | |
| old_content.splitlines(keepends=True), | |
| new_content.splitlines(keepends=True), | |
| n=5 | |
| )) | |
| ``` | |
| ## Parameters: | |
| Minimum ngram size: 5 | |
| MinHash ngram size: 5 | |
| MinHash threshold: 0.8 |