|
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/cf4abdc2c10cfc837b60ccca07d100a02280918e/README.md
- Command line
-
hf download hf://datasets/bigcode/github-commits-diff-dedup-pjjs-april@cf4abdc2c10cfc837b60ccca07d100a02280918e/README.md
-
curl -L -o README.md https://huggingface.co/datasets/bigcode/github-commits-diff-dedup-pjjs-april/resolve/cf4abdc2c10cfc837b60ccca07d100a02280918e/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 |