Rename dataset card text to cornstack-samples (keep metadata)
Browse files
README.md
CHANGED
|
@@ -280,9 +280,9 @@ configs:
|
|
| 280 |
license: apache-2.0
|
| 281 |
---
|
| 282 |
|
| 283 |
-
#
|
| 284 |
|
| 285 |
-
`
|
| 286 |
|
| 287 |
Source dataset and paper:
|
| 288 |
- CoRNStack collection: https://huggingface.co/collections/nomic-ai/cornstack
|
|
@@ -349,8 +349,8 @@ All subsets are published with split `train`.
|
|
| 349 |
```python
|
| 350 |
from datasets import load_dataset
|
| 351 |
|
| 352 |
-
pair_ds = load_dataset("hotchpotch/
|
| 353 |
-
hard_ds = load_dataset("hotchpotch/
|
| 354 |
|
| 355 |
print(pair_ds.column_names, len(pair_ds))
|
| 356 |
print(hard_ds.column_names, len(hard_ds))
|
|
@@ -378,4 +378,4 @@ This dataset follows CoRNStack and is released under **Apache-2.0**.
|
|
| 378 |
|
| 379 |
If you use this dataset, please cite and attribute CoRNStack:
|
| 380 |
- Paper: https://huggingface.co/papers/2412.01007
|
| 381 |
-
- Collection: https://huggingface.co/collections/nomic-ai/cornstack
|
|
|
|
| 280 |
license: apache-2.0
|
| 281 |
---
|
| 282 |
|
| 283 |
+
# cornstack-samples
|
| 284 |
|
| 285 |
+
`cornstack-samples` is a compact, sampled version of CoRNStack for code-focused embedding training, reranker training, and retrieval experiments.
|
| 286 |
|
| 287 |
Source dataset and paper:
|
| 288 |
- CoRNStack collection: https://huggingface.co/collections/nomic-ai/cornstack
|
|
|
|
| 349 |
```python
|
| 350 |
from datasets import load_dataset
|
| 351 |
|
| 352 |
+
pair_ds = load_dataset("hotchpotch/cornstack-samples", "python-v1-pair-2M", split="train")
|
| 353 |
+
hard_ds = load_dataset("hotchpotch/cornstack-samples", "python-v1-hard-negatives-100k", split="train")
|
| 354 |
|
| 355 |
print(pair_ds.column_names, len(pair_ds))
|
| 356 |
print(hard_ds.column_names, len(hard_ds))
|
|
|
|
| 378 |
|
| 379 |
If you use this dataset, please cite and attribute CoRNStack:
|
| 380 |
- Paper: https://huggingface.co/papers/2412.01007
|
| 381 |
+
- Collection: https://huggingface.co/collections/nomic-ai/cornstack
|