# Attribution and upstream licences - **Dataset**: https://huggingface.co/datasets/PiotrSty/code-search-net-java - **Curation/metadata licence**: CC-BY-4.0 (see `LICENSE`). - **Upstream**: https://huggingface.co/datasets/code-search-net/code_search_net - **Per-row attribution**: every row keeps `repo` and `url`. The licence is in `license` / `license_source`; the same data is in `repo_licenses.jsonl` where present. - **Per-row licence counts**: | SPDX | rows | licence text | |---|---:|---| | `Apache-2.0` | 264,874 | `LICENSES/Apache-2.0.txt` | | `MIT` | 52,732 | `LICENSES/MIT.txt` | | `LGPL-2.1` | 33,890 | `LICENSES/LGPL-2.1-only.txt` | | `EPL-2.0` | 23,189 | `LICENSES/EPL-2.0.txt` | | `GPL-3.0` | 14,632 | `LICENSES/GPL-3.0-only.txt` | | `AGPL-3.0` | 14,325 | `LICENSES/AGPL-3.0-only.txt` | | `LGPL-3.0` | 11,920 | `LICENSES/LGPL-3.0-only.txt` | | `GPL-2.0` | 10,543 | `LICENSES/GPL-2.0-only.txt` | | `BSD-3-Clause` | 10,322 | `LICENSES/BSD-3-Clause.txt` | | `BSD-2-Clause` | 5,480 | `LICENSES/BSD-2-Clause.txt` | | `MulanPSL-2.0` | 2,631 | `LICENSES/MulanPSL-2.0.txt` | | `EPL-1.0` | 2,109 | `LICENSES/EPL-1.0.txt` | | `MPL-2.0` | 1,233 | `LICENSES/MPL-2.0.txt` | | `ISC` | 772 | `LICENSES/ISC.txt` | | `Zlib` | 117 | `LICENSES/Zlib.txt` | | `WTFPL` | 57 | `LICENSES/WTFPL.txt` | | `EUPL-1.2` | 20 | `LICENSES/EUPL-1.2.txt` | | `Artistic-2.0` | 13 | `LICENSES/Artistic-2.0.txt` | ## How to attribute - Keep the `repo` and `url` fields with any redistributed row. - For Apache-2.0, preserve the NOTICE and any NOTICE files of the upstream repository; for MIT/BSD, preserve the copyright notice. - Copyleft licences (if any) require their own notice/source terms; see the per-row `license`. - Text of every licence used here is in `LICENSES/`.