Datasets:
update README
Browse files
README.md
CHANGED
|
@@ -121,4 +121,55 @@ configs:
|
|
| 121 |
data_files:
|
| 122 |
- split: train
|
| 123 |
path: yolo/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
data_files:
|
| 122 |
- split: train
|
| 123 |
path: yolo/train-*
|
| 124 |
+
license: cc-by-4.0
|
| 125 |
+
task_categories:
|
| 126 |
+
- sentence-similarity
|
| 127 |
+
size_categories:
|
| 128 |
+
- 10K<n<100K
|
| 129 |
---
|
| 130 |
+
|
| 131 |
+
# Dataset Card for FreshStack (Corpus)
|
| 132 |
+
|
| 133 |
+
## Dataset Description
|
| 134 |
+
[Homepage](https://fresh-stack.github.io) |
|
| 135 |
+
[Repository](https://github.com/fresh-stack/freshstack) |
|
| 136 |
+
[ArXiv](https://arxiv.org/abs/2504.13128)
|
| 137 |
+
|
| 138 |
+
FreshStack is a holistic framework to construct challenging IR/RAG evaluation datasets that focuses on search across niche and recent topics.
|
| 139 |
+
|
| 140 |
+
This dataset (October 2024) contains the query, nuggets, answers and nugget-level relevance judgments of 5 niche topics focused on software engineering and machine learning.
|
| 141 |
+
|
| 142 |
+
The queries and answers (accepted) are taken from Stack Overflow, GPT-4o generates the nuggets and labels the relevance between each nugget and a given document list.
|
| 143 |
+
|
| 144 |
+
This repository contains the corpus of GitHub chunked documents of five niche topics in freshstack. The queries, answers and nuggets can be found [here](https://huggingface.co/datasets/freshstack/queries-oct-2024).
|
| 145 |
+
|
| 146 |
+
## Dataset Structure
|
| 147 |
+
|
| 148 |
+
To access the data using HuggingFace `datasets`:
|
| 149 |
+
```
|
| 150 |
+
topic='langchain' # or any of the 5 topics
|
| 151 |
+
freshstack = datasets.load_dataset('freshstack/corpus-oct-2024', topic, use_auth_token=True)
|
| 152 |
+
|
| 153 |
+
# train set
|
| 154 |
+
for data in freshstack['train']:
|
| 155 |
+
doc_id = data['_id']
|
| 156 |
+
doc_text = data['text']
|
| 157 |
+
```
|
| 158 |
+
|
| 159 |
+
## Dataset Statistics
|
| 160 |
+
The following table contains the number of documents (`#D`) and the number of repositories used (`#G`) in the FreshStack collection.
|
| 161 |
+
|
| 162 |
+
| Topic | Domain | Train | |
|
| 163 |
+
|:----:|:-----:|:-----:|:------:|
|
| 164 |
+
| | | **#D**| **#G** |
|
| 165 |
+
| langchain | Machine Learning | 49,514 | 10 |
|
| 166 |
+
| yolo | Computer Vision | 27,207 | 5 |
|
| 167 |
+
| laravel | Back-end Development | 52,351 | 9 |
|
| 168 |
+
| angualar | Front-end Development| 117,288 | 4 |
|
| 169 |
+
| godot4 | Game Development | 25,482 | 6 |
|
| 170 |
+
|
| 171 |
+
## Dataset Licenses
|
| 172 |
+
|
| 173 |
+
The FreshStack datasets are provided under the CC-BY-SA 4.0 license.
|
| 174 |
+
|
| 175 |
+
> The original GitHub repositories used for constructing the corpus may contain non-permissive licenses, we advise the reader to check the licenses for each repository carefully.
|