OpenScientificCodeRegistry/Database
Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.
05.6k
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/kohpangwei/group_dro",4 "url": "https://github.com/kohpangwei/group_DRO",5 "host": "github.com",6 "commit": "cbbc1c5b06844e46b87e264326b56056d2a437d1",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "38fa8076706fbc935204984b5485927e6e68be0cca3f468e35b846e9a1a53079",14 "language": "License",15 "lines": 21,16 "truncated": false,17 "block": 20,18 "row": 868019 },20 {21 "path": "README.md",22 "sha256": "99840dcf648e4e642ae0538bcd26635e734a3678b03f117024a59e14a4847e93",23 "language": "Text",24 "lines": 111,25 "truncated": false,26 "block": 21,27 "row": 322928 },29 {30 "path": "analysis_utils.py",31 "sha256": "bb8d133385444273f1c086e4106adb73d86b27c555accd958cda577ae0731be8",32 "language": "Python",33 "lines": 381,34 "truncated": false,35 "block": 20,36 "row": 2102437 },38 {39 "path": "data/celebA_dataset.py",40 "sha256": "82354515b3ad0841b3ed8b9e0b8730774ed2bd94d93dfb0073ca55393768453b",41 "language": "Python",42 "lines": 108,43 "truncated": false,44 "block": 20,45 "row": 1788446 },47 {48 "path": "data/confounder_dataset.py",49 "sha256": "36503448dd8adca4469dc2aeef835b5c53d3bace2860a4c7ffa093bdeffcb076",50 "language": "Python",51 "lines": 65,52 "truncated": false,53 "block": 20,54 "row": 1618755 },56 {57 "path": "data/confounder_utils.py",58 "sha256": "6e5e6316acb89c8a348aaef2c1bfd97766b1290c60b0f5bc35d59f84515a4cb6",59 "language": "Python",60 "lines": 55,61 "truncated": false,62 "block": 20,63 "row": 1524164 },65 {66 "path": "data/cub_dataset.py",67 "sha256": "6e9c62a56919587c4b213b78914239b8c98e5e945e6b7ce00333979ab0a17cca",68 "language": "Python",69 "lines": 102,70 "truncated": false,71 "block": 20,72 "row": 1741373 },74 {75 "path": "data/data.py",76 "sha256": "c968bc9a23d6fba373dc34ca7a2e5f077c5d58c8ab3c85540e5989dfe5c53c4e",77 "language": "Python",78 "lines": 50,79 "truncated": false,80 "block": 20,81 "row": 1549282 },83 {84 "path": "data/dro_dataset.py",85 "sha256": "809e4e2c841c7ec8a7a8ff638ba926cb6c33b430057835ff76039b768bf09c64",86 "language": "Python",87 "lines": 69,88 "truncated": false,89 "block": 20,90 "row": 1639891 },92 {93 "path": "data/label_shift_utils.py",94 "sha256": "28017449737463ab37892581a0e51694cd4c26cf1c3863a074ca1699f02f1ca7",95 "language": "Python",96 "lines": 97,97 "truncated": false,98 "block": 20,99 "row": 16784100 },101 {102 "path": "data/multinli_dataset.py",103 "sha256": "a8ab9312a225544d29a895daac6a1a9c39fc6040a23ce81a96ca3ff1b41938f2",104 "language": "Python",105 "lines": 124,106 "truncated": false,107 "block": 20,108 "row": 17855109 },110 {111 "path": "data/torchvision_datasets.py",112 "sha256": "7984ff8a99b69dc847a6d0d3dba9f3fd17cfc47607a3aafa3b76f33bbb8561bd",113 "language": "Python",114 "lines": 27,115 "truncated": false,116 "block": 20,117 "row": 14191118 },119 {120 "path": "data/utils.py",121 "sha256": "7699361d576535a237d49faa38e246ea19c16a0bbd656b19f967a80f8acee198",122 "language": "Python",123 "lines": 20,124 "truncated": false,125 "block": 20,126 "row": 13793127 },128 {129 "path": "dataset_scripts/dataset_utils.py",130 "sha256": "2a9960c9f587aa1966adc6053e058c41759f650daa0a499b07a87adbad13a835",131 "language": "Python",132 "lines": 75,133 "truncated": false,134 "block": 20,135 "row": 16736136 },137 {138 "path": "dataset_scripts/generate_multinli.py",139 "sha256": "7226dfdbed0cb8d9c64ab8b13c133001b30384806d6ce150404374a776a60f72",140 "language": "Python",141 "lines": 97,142 "truncated": false,143 "block": 20,144 "row": 16556145 },146 {147 "path": "dataset_scripts/generate_waterbirds.py",148 "sha256": "0d68744d29e25996bf3bcdff1a6921ab23817865d90273a64c58af69802af1ed",149 "language": "Python",150 "lines": 185,151 "truncated": false,152 "block": 20,153 "row": 19201154 },155 {156 "path": "loss.py",157 "sha256": "ca6f012de93791118479a89ddc9c23695ddf53ae75bd8bf8076b5841e1bcbc80",158 "language": "Python",159 "lines": 195,160 "truncated": false,161 "block": 20,162 "row": 19778163 },164 {165 "path": "models.py",166 "sha256": "04213ebb1a934a2d06809464fef22861b2463e7419ac40604fa5b238e33400b9",167 "language": "Python",168 "lines": 30,169 "truncated": false,170 "block": 20,171 "row": 13785172 },173 {174 "path": "run_expt.py",175 "sha256": "325bea3cdb22f36998a24daa37710cf8e169f37c8fc5460c71a32b967e0b53a1",176 "language": "Python",177 "lines": 205,178 "truncated": false,179 "block": 20,180 "row": 19663181 },182 {183 "path": "train.py",184 "sha256": "939cc22f6a0733d98ce5911010c3b743368cff89e20065dc2f0c7e73170726f3",185 "language": "Python",186 "lines": 225,187 "truncated": false,188 "block": 20,189 "row": 19749190 },191 {192 "path": "utils.py",193 "sha256": "d22a71aadc17fbdbfa8ec56bd0d6e8a5a3b37fafbd812142b173997a17486c01",194 "language": "Python",195 "lines": 122,196 "truncated": false,197 "block": 20,198 "row": 17101199 },200 {201 "path": "utils_glue.py",202 "sha256": "5f8e273e1c5758d774b82cc269bf6b02db36e6b64e2b6ae6eca769599009e37f",203 "language": "Python",204 "lines": 617,205 "truncated": false,206 "block": 20,207 "row": 21723208 }209 ]210}