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/google-deepmind/predictingthepast",4 "url": "https://github.com/google-deepmind/predictingthepast",5 "host": "github.com",6 "commit": "a19c66aea168376ec0cab68a1fba0e378619719f",7 "license": "Apache-2.0",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",14 "language": "License",15 "lines": 202,16 "truncated": false,17 "block": 1,18 "row": 221719 },20 {21 "path": "README.md",22 "sha256": "0f825f6908b8b361fd5c3c8937e4f2c2a7c7e780735c87e3011d85a67ffac5cf",23 "language": "Text",24 "lines": 246,25 "truncated": false,26 "block": 24,27 "row": 91128 },29 {30 "path": "colabs/inference.ipynb",31 "sha256": "b95c6bfec5d8f249ca2610f262d90f8febc6e1b4b26d0ea7b291d74ce9b5abbc",32 "language": "Jupyter",33 "lines": 1740,34 "truncated": false,35 "block": 22,36 "row": 1376237 },38 {39 "path": "inference_example.py",40 "sha256": "45ffb6056047fc89966eae821edcc717dbc4a00ffe762e0031c7a1c90f2ec31d",41 "language": "Python",42 "lines": 173,43 "truncated": false,44 "block": 23,45 "row": 708146 },47 {48 "path": "predictingthepast/__init__.py",49 "sha256": "2cf77d56ccba9fbe3bb11cada2ce7eb803bab2763c66c94bbac3957355da3a50",50 "language": "Python",51 "lines": 13,52 "truncated": false,53 "block": 22,54 "row": 2757055 },56 {57 "path": "predictingthepast/eval/__init__.py",58 "sha256": "2cf77d56ccba9fbe3bb11cada2ce7eb803bab2763c66c94bbac3957355da3a50",59 "language": "Python",60 "lines": 13,61 "truncated": false,62 "block": 22,63 "row": 2757064 },65 {66 "path": "predictingthepast/eval/inference.py",67 "sha256": "4fcfa2c09cc0054ffdf149abe5abd3d4593f3a39885ad81c64adc6fb12cc6a5b",68 "language": "Python",69 "lines": 628,70 "truncated": false,71 "block": 23,72 "row": 1290773 },74 {75 "path": "predictingthepast/models/__init__.py",76 "sha256": "2cf77d56ccba9fbe3bb11cada2ce7eb803bab2763c66c94bbac3957355da3a50",77 "language": "Python",78 "lines": 13,79 "truncated": false,80 "block": 22,81 "row": 2757082 },83 {84 "path": "predictingthepast/models/bigbird.py",85 "sha256": "c7ffe79438bc1ebf5b643d9f304a46c680d7af3100ea579f07bda73161744f70",86 "language": "Python",87 "lines": 116,88 "truncated": false,89 "block": 23,90 "row": 450491 },92 {93 "path": "predictingthepast/models/bigbird_attention.py",94 "sha256": "c80b2045e075fc2159696d2ae312997a4794fc3db1080c47d4fea4d8410235c8",95 "language": "Python",96 "lines": 808,97 "truncated": false,98 "block": 23,99 "row": 14023100 },101 {102 "path": "predictingthepast/models/common_layers.py",103 "sha256": "3986dcbd2992a42a1f48bae78579cbf05ae5eeed9724c5e562937b1897aeed1d",104 "language": "Python",105 "lines": 351,106 "truncated": false,107 "block": 23,108 "row": 10756109 },110 {111 "path": "predictingthepast/models/model.py",112 "sha256": "943831851c2a0c3942e753b2a32cdc24ed8261d2f7d5b2fa500e46c1db4cf448",113 "language": "Python",114 "lines": 416,115 "truncated": false,116 "block": 23,117 "row": 11384118 },119 {120 "path": "predictingthepast/models/resnet.py",121 "sha256": "d64a853b26b28679e5201d50c4d2a61064542919909a06043ce0212c1e8004ff",122 "language": "Python",123 "lines": 155,124 "truncated": false,125 "block": 23,126 "row": 5276127 },128 {129 "path": "predictingthepast/models/t5_layers.py",130 "sha256": "5ba8027dc4f35ed667a5969837ff0377f97aadfb50975be557ddb7443bd9093f",131 "language": "Python",132 "lines": 1134,133 "truncated": false,134 "block": 23,135 "row": 14711136 },137 {138 "path": "predictingthepast/util/__init__.py",139 "sha256": "2cf77d56ccba9fbe3bb11cada2ce7eb803bab2763c66c94bbac3957355da3a50",140 "language": "Python",141 "lines": 13,142 "truncated": false,143 "block": 22,144 "row": 27570145 },146 {147 "path": "predictingthepast/util/alphabet.py",148 "sha256": "0a426f62d5ae65736d2f5a8d9c4503604f32b49d5a2c58efb01c6e57b770b8b3",149 "language": "Python",150 "lines": 268,151 "truncated": false,152 "block": 23,153 "row": 9112154 },155 {156 "path": "predictingthepast/util/dates.py",157 "sha256": "5ebbe8aa65a503cb5eda1f911eb4c2371bc537714cc928dfa753701a9735a630",158 "language": "Python",159 "lines": 76,160 "truncated": false,161 "block": 23,162 "row": 1848163 },164 {165 "path": "predictingthepast/util/eval.py",166 "sha256": "ca415af018388aba0f6cbdf5b71f6ce79de4a5592baece6aaca5895c3d3fe993",167 "language": "Python",168 "lines": 639,169 "truncated": false,170 "block": 23,171 "row": 13313172 },173 {174 "path": "predictingthepast/util/loss.py",175 "sha256": "f9c3693213f0d46cf61b6d137011013ee7860db57c6dc5b8ea9e27193f21c886",176 "language": "Python",177 "lines": 121,178 "truncated": false,179 "block": 23,180 "row": 4474181 },182 {183 "path": "predictingthepast/util/optim.py",184 "sha256": "1fba0999448eb860573bf7f81166e0d763b3135d5433c45c843f905a1a6d963e",185 "language": "Python",186 "lines": 179,187 "truncated": false,188 "block": 23,189 "row": 7654190 },191 {192 "path": "predictingthepast/util/region_names.py",193 "sha256": "c3f21aa64c51abbe3a784e80f145379810c01e7c4019c2a71f8f0d6658679edd",194 "language": "Python",195 "lines": 58,196 "truncated": false,197 "block": 23,198 "row": 1978199 },200 {201 "path": "predictingthepast/util/text.py",202 "sha256": "e3c8d29d3eafc073d9a6e18261eda2478b2fc0ae95c33eb8fb6ccb570bb431eb",203 "language": "Python",204 "lines": 191,205 "truncated": false,206 "block": 23,207 "row": 6273208 },209 {210 "path": "setup.py",211 "sha256": "d8077baffc6051257c7e3ebff1d0d93ebd5ea4fbfb6caaf8aa794040d011bd82",212 "language": "Python",213 "lines": 54,214 "truncated": false,215 "block": 23,216 "row": 1075217 },218 {219 "path": "train/config_greek.py",220 "sha256": "536d3b696248fe87fd58f71a76cbea776aa85fb7c17068e445d93608a90ad8cd",221 "language": "Python",222 "lines": 186,223 "truncated": false,224 "block": 23,225 "row": 7888226 },227 {228 "path": "train/config_latin.py",229 "sha256": "1c137d78fcaba04ebf0d5e9640ab69eb3f34504fbf3c96602b9579f67f6b7704",230 "language": "Python",231 "lines": 186,232 "truncated": false,233 "block": 23,234 "row": 7887235 },236 {237 "path": "train/dataloader.py",238 "sha256": "fb15bb749aca0f795762fda0db180c07add093015df5713797253ff536b2a77c",239 "language": "Python",240 "lines": 822,241 "truncated": false,242 "block": 23,243 "row": 13822244 },245 {246 "path": "train/experiment.py",247 "sha256": "6ad7f5963602de774e1aba9f1eb3abd66689a1df04fc1654624c21fde379b1fc",248 "language": "Python",249 "lines": 702,250 "truncated": false,251 "block": 23,252 "row": 13535253 },254 {255 "path": "train/launch_local.sh",256 "sha256": "9f471fb4886b0fcdcb59edb4bdbcbcc8dbac4b1c00d30105f2b144d938ec456e",257 "language": "Shell",258 "lines": 22,259 "truncated": false,260 "block": 23,261 "row": 17748262 }263 ]264}