repo_path stringlengths 7 96 | repo_id int64 68 1.02B | commit_id stringlengths 40 40 | github_metadata dict | num_files int64 4 13.6k | files listlengths 4 13.6k | estimated_tokens float64 16.4k 1.04M | selection_metadata dict | chunk_embeddings large listlengths 3 395 | chunk_metadata large listlengths 3 395 | embedding_model_tokens int64 17.4k 3.21M | embedding_reused_prefix bool 1
class | embedding list | embedding_tokens int32 16.8k 3.1M | embedding_chunks int32 3 395 | embedding_source_file stringclasses 138
values | embedding_source_row int64 0 761 | selection_row_id int64 2 92.9k | selection_cluster int32 0 1.02k | selection_max_cosine float32 -1 0.96 | selection_nearest_row_id int64 -1 211k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BoutrosLaboratory/bamql | 27,464,791 | d6e36af1bfc436cb6bb25eb8f55c083b2b301691 | {"branch":"master","commit_count":412,"repo_created_at":"2014-12-03T02:19:52.000Z","is_fork":false,"(...TRUNCATED) | 63 | [{"content_id":"d820a6561136df1ccde5d0def7c2e8284a925d19","content":"/*\n * Copyright 2015 <NAME>. F(...TRUNCATED) | 111,767.498302 | {"input_num_files":66,"input_estimated_tokens":111984.61088303255,"source_file_count":53,"source_tok(...TRUNCATED) | [[-0.01819131150841713,-0.002062942599877715,0.02730913832783699,-0.015240533277392387,-0.0259875915(...TRUNCATED) | [{"token_start":0,"token_end":8179,"new_token_start":0,"new_tokens":8179,"overlap_tokens":0,"input_t(...TRUNCATED) | 86,904 | true | [-0.007194475270807743,0.0051370528526604176,0.03010636568069458,-0.03185918554663658,-0.01484940294(...TRUNCATED) | 84,201 | 11 | data/train-00000-of-00512.parquet | 2 | 2 | 9 | 0.883901 | 85,701 |
igilitschenski/deep_bingham | 239,594,916 | c4f7cf47d251a7dafb5b465cb282ded844e96dcc | {"branch":"master","commit_count":6,"repo_created_at":"2020-02-10T19:27:58.000Z","is_fork":false,"is(...TRUNCATED) | 85 | [{"content_id":"c47e8e92ea304b0a09dcf7b7237d239ddedc2d0f","content":"from .idiap_dataset import *\nf(...TRUNCATED) | 52,535.038512 | {"input_num_files":87,"input_estimated_tokens":52702.3813185016,"source_file_count":29,"source_token(...TRUNCATED) | [[-0.027305999770760536,-0.003457947401329875,0.019024290144443512,0.022768739610910416,-0.055669203(...TRUNCATED) | [{"token_start":0,"token_end":8176,"new_token_start":0,"new_tokens":8176,"overlap_tokens":0,"input_t(...TRUNCATED) | 65,939 | true | [-0.04997943714261055,-0.004276904743164778,0.025573253631591797,0.015092287212610245,-0.05467481166(...TRUNCATED) | 63,747 | 9 | data/train-00000-of-00512.parquet | 26 | 26 | 378 | 0.908736 | 74,461 |
pythonanywhere/helper_scripts | 78,631,916 | 48fbd74bd6c1962086c9b1e223259f06f0a3a7d4 | {"branch":"master","commit_count":577,"repo_created_at":"2017-01-11T11:19:11.000Z","is_fork":false,"(...TRUNCATED) | 80 | [{"content_id":"c4ab822441102e42a77f413e7a103ab7f37e86f5","content":"import logging\nfrom typing imp(...TRUNCATED) | 64,665.54604 | {"input_num_files":81,"input_estimated_tokens":64713.44306506439,"source_file_count":74,"source_toke(...TRUNCATED) | [[-0.037519052624702454,0.024187719449400902,0.02880856767296791,-0.053772974759340286,-0.0250053219(...TRUNCATED) | [{"token_start":0,"token_end":8178,"new_token_start":0,"new_tokens":8178,"overlap_tokens":0,"input_t(...TRUNCATED) | 76,064 | true | [-0.043068062514066696,0.03562595322728157,0.035480204969644547,-0.037380512803792953,-0.01226496882(...TRUNCATED) | 73,620 | 10 | data/train-00000-of-00512.parquet | 37 | 37 | 883 | 0.870824 | 78,040 |
shaoanlu/faceswap-GAN | 115,182,783 | 17219d082e1071963afb5ee13393a4bd79715b6c | {"branch":"master","commit_count":279,"repo_created_at":"2017-12-23T08:40:32.000Z","is_fork":false,"(...TRUNCATED) | 40 | [{"content_id":"0d018eb10e2a6ab2ea8c3d34de41fc96e3e4fcd7","content":"{\"cells\": [{\"cell_type\": \"(...TRUNCATED) | 168,962.73927 | {"input_num_files":40,"input_estimated_tokens":168962.73926951352,"source_file_count":36,"source_tok(...TRUNCATED) | [[-0.027938436716794968,-0.003380349837243557,0.05041651055216789,-0.019897039979696274,-0.055434301(...TRUNCATED) | [{"token_start":0,"token_end":8176,"new_token_start":0,"new_tokens":8176,"overlap_tokens":0,"input_t(...TRUNCATED) | 203,869 | true | [-0.025600653141736984,-0.0020163170993328094,0.04329986125230789,-0.013743247836828232,-0.066746480(...TRUNCATED) | 196,237 | 29 | data/train-00000-of-00512.parquet | 41 | 41 | 40 | 0.926312 | 105,340 |
wickedest/Mergely | 3,640,908 | b9aed167f3afacbe8045985d360ba1bec61f92a5 | {"branch":"master","commit_count":235,"repo_created_at":"2012-03-06T18:06:46.000Z","is_fork":false,"(...TRUNCATED) | 28 | [{"content_id":"3cd04fad5435fbc3571fc910ef1081f9eacc77d8","content":"const simple = require('simple-(...TRUNCATED) | 70,210.773847 | {"input_num_files":30,"input_estimated_tokens":70346.40966605755,"source_file_count":20,"source_toke(...TRUNCATED) | [[-0.04158865287899971,0.015082303434610367,0.05419572442770004,-0.009933022782206535,-0.08256682008(...TRUNCATED) | [{"token_start":0,"token_end":8179,"new_token_start":0,"new_tokens":8179,"overlap_tokens":0,"input_t(...TRUNCATED) | 93,375 | true | [-0.04010048508644104,-9.512651558907237e-6,0.03941093385219574,-0.006232469342648983,-0.05962117388(...TRUNCATED) | 90,134 | 13 | data/train-00000-of-00512.parquet | 52 | 52 | 159 | 0.88477 | 142,621 |
google/squires | 37,888,399 | f1e69e7fa022e464e50e4fa450f160d10c4c2c7f | {"branch":"master","commit_count":20,"repo_created_at":"2015-06-23T00:40:42.000Z","is_fork":false,"i(...TRUNCATED) | 8 | [{"content_id":"cf6423f027be9f3689f04cb21ccff0414093a944","content":"# Copyright 2011 Google Inc. Al(...TRUNCATED) | 34,271.971098 | {"input_num_files":8,"input_estimated_tokens":34271.971097526846,"source_file_count":8,"source_token(...TRUNCATED) | [[-0.002736769849434495,0.028797751292586327,0.02187168225646019,-0.04396075755357742,-0.00362442643(...TRUNCATED) | [{"token_start":0,"token_end":8181,"new_token_start":0,"new_tokens":8181,"overlap_tokens":0,"input_t(...TRUNCATED) | 38,446 | true | [-0.00635020574554801,0.027745530009269714,0.023131953552365303,-0.03167808800935745,0.0033543312456(...TRUNCATED) | 37,367 | 5 | data/train-00000-of-00512.parquet | 77 | 77 | 754 | 0.892808 | 22,726 |
tools4j/elara | 243,245,824 | 24754158632b97378f460768b4441587f284b1f5 | {"branch":"master","commit_count":298,"repo_created_at":"2020-02-26T11:25:03.000Z","is_fork":false,"(...TRUNCATED) | 365 | [{"content_id":"e2f2e14fa7e0dbce1ddfd1b407ab18d8b8bb4ce5","content":"/*\n * The MIT License (MIT)\n (...TRUNCATED) | 391,064.884355 | {"input_num_files":366,"input_estimated_tokens":391105.3306468145,"source_file_count":361,"source_to(...TRUNCATED) | [[-0.03581476956605911,-0.0002750192361418158,0.025521067902445793,-0.010538887232542038,-0.02234193(...TRUNCATED) | [{"token_start":0,"token_end":8179,"new_token_start":0,"new_tokens":8179,"overlap_tokens":0,"input_t(...TRUNCATED) | 447,090 | true | [-0.02893158234655857,0.0070247589610517025,0.020879577845335007,-0.006741099059581757,-0.0337403714(...TRUNCATED) | 432,282 | 56 | data/train-00000-of-00512.parquet | 92 | 92 | 214 | 0.897877 | 195,872 |
yui/phploader | 107,391 | d3196a6b18ac17d8894473aba07c26fd6698744b | {"branch":"master","commit_count":79,"repo_created_at":"2009-01-14T16:30:48.000Z","is_fork":false,"i(...TRUNCATED) | 47 | [{"content_id":"9f77254b207a4e2d4ac84c6ebc0ac8f36a0c7125","content":"\t<h2 id=\"support\">Support &a(...TRUNCATED) | 522,901.01416 | {"input_num_files":48,"input_estimated_tokens":522917.6685150654,"source_file_count":43,"source_toke(...TRUNCATED) | [[-0.05651760473847389,0.029302043840289116,0.049483735114336014,-0.05136142298579216,-0.00738127948(...TRUNCATED) | [{"token_start":0,"token_end":8180,"new_token_start":0,"new_tokens":8180,"overlap_tokens":0,"input_t(...TRUNCATED) | 611,220 | true | [-0.05640115961432457,0.0288161002099514,0.038015738129615784,-0.03689295053482056,0.004964636638760(...TRUNCATED) | 590,036 | 80 | data/train-00000-of-00512.parquet | 96 | 96 | 997 | 0.914241 | 13,213 |
benc-uk/rayscale | 135,030,207 | 8050e7ebfc2e6e1424a7a5db036bc47737235758 | {"branch":"master","commit_count":272,"repo_created_at":"2018-05-27T08:48:59.000Z","is_fork":false,"(...TRUNCATED) | 99 | [{"content_id":"147553fa643fd2cd5bc58d6d98c7388bab52250c","content":"//\n// Rayscale - Base raytraci(...TRUNCATED) | 78,071.609277 | {"input_num_files":99,"input_estimated_tokens":78071.6092767432,"source_file_count":59,"source_token(...TRUNCATED) | [[-0.03592664748430252,0.012745080515742302,0.027588864788413048,-0.04011962562799454,-0.01637565717(...TRUNCATED) | [{"token_start":0,"token_end":8179,"new_token_start":0,"new_tokens":8179,"overlap_tokens":0,"input_t(...TRUNCATED) | 97,318 | true | [-0.04017248377203941,0.018427368253469467,0.01662340760231018,-0.02242795191705227,-0.0345296822488(...TRUNCATED) | 94,346 | 12 | data/train-00000-of-00512.parquet | 104 | 104 | 72 | 0.913513 | 160,097 |
dhaumont/visilib | 324,582,821 | d83cdb31d7eb1f4cd8c93b41bd2eb8428759d2b7 | {"branch":"main","commit_count":164,"repo_created_at":"2020-12-26T15:28:57.000Z","is_fork":false,"is(...TRUNCATED) | 173 | [{"content_id":"c3f41ab1c2f31192b8ffaf62e0225a59e98f7fb9","content":"var searchData=\n[\n ['facecou(...TRUNCATED) | 810,914.253439 | {"input_num_files":174,"input_estimated_tokens":816399.8808567994,"source_file_count":148,"source_to(...TRUNCATED) | [[-0.029124537482857704,-0.02314630337059498,0.035360537469387054,0.020130999386310577,-0.0536156222(...TRUNCATED) | [{"token_start":0,"token_end":8180,"new_token_start":0,"new_tokens":8180,"overlap_tokens":0,"input_t(...TRUNCATED) | 922,458 | true | [-0.01994476094841957,-0.01368603203445673,0.02587714232504368,-0.005832676310092211,-0.050721194595(...TRUNCATED) | 888,142 | 129 | data/train-00000-of-00512.parquet | 106 | 106 | 137 | 0.908432 | 192,188 |
Stack v3.1: semantic diversity and length selection
Status: complete. Selected 19,594 repositories, containing 3,027,545,995 stored canonical content tokens.
Source: storagestuffnobody/stack-v3.1-subsampled-embeddings. All original fields, including text, nested metadata, embeddings and provenance, are preserved for retained rows.
Normalized existing 768-dimensional aggregate embeddings were grouped into 1,024 spherical k-means buckets. Within each bucket, overlap is the maximum FP32 cosine similarity to any other member, excluding self, evaluated exhaustively. Keep the 30% with lowest overlap, then the longest 30% of those survivors by embedding_tokens, separately within every bucket. Both quotas round upward; source row IDs and overlap scores break ties deterministically.
Selection is global across the source's default splits; every retained row keeps its original split when split preservation is enabled. There is no additional per-split quota. A source split may have zero retained rows.
| Source split | Input rows | Selected rows | Selected content tokens |
|---|---|---|---|
| train | 210,532 | 19,594 | 3,027,545,995 |
This is fixed-rate semantic redundancy selection. It does not guarantee elimination of every duplicate or measure literal passage overlap. Similarity is assessed within buckets. No additional topic, language, NSFW or content-quality filters were introduced.
The selection_* columns identify the source row, bucket, closest-neighbour score and neighbour source row. Full decisions, bucket counts, code, pinned inputs and verification are under selection/ and job-inputs/. Source licensing and attribution remain applicable.
- Downloads last month
- 560