Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: mit
|
| 5 |
+
size_categories:
|
| 6 |
+
- 100K<n<1M
|
| 7 |
+
task_categories:
|
| 8 |
+
- text-classification
|
| 9 |
+
tags:
|
| 10 |
+
- climate
|
| 11 |
+
- environment
|
| 12 |
+
- fasttext
|
| 13 |
+
- fineweb-edu
|
| 14 |
+
- filtered
|
| 15 |
+
dataset_info:
|
| 16 |
+
features:
|
| 17 |
+
- name: text
|
| 18 |
+
dtype: string
|
| 19 |
+
- name: id
|
| 20 |
+
dtype: string
|
| 21 |
+
- name: url
|
| 22 |
+
dtype: string
|
| 23 |
+
- name: climate_prob
|
| 24 |
+
dtype: float64
|
| 25 |
+
- name: source
|
| 26 |
+
dtype: string
|
| 27 |
+
pretty_name: FineWeb-Edu v2 Climate FastText Filtered
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
# FineWeb-Edu v2 - FastText Climate Filtered
|
| 31 |
+
|
| 32 |
+
A climate and environment-focused subset of [sraj/finewebedu-climate-v2](https://huggingface.co/datasets/sraj/finewebedu-climate-v2), further filtered using a trained **FastText binary classifier**.
|
| 33 |
+
|
| 34 |
+
## Overview
|
| 35 |
+
|
| 36 |
+
This dataset applies a supervised FastText climate classifier to the FineWeb-Edu climate v2 dataset. Each record includes a climate probability score from the classifier, providing a confidence measure for climate relevance.
|
| 37 |
+
|
| 38 |
+
## Pipeline
|
| 39 |
+
|
| 40 |
+
1. **Source**: [sraj/finewebedu-climate-v2](https://huggingface.co/datasets/sraj/finewebedu-climate-v2) (pre-filtered FineWeb-Edu)
|
| 41 |
+
2. **Classifier**: FastText supervised model trained on 10K GPT-labeled samples
|
| 42 |
+
3. **Threshold**: Records with climate_prob >= 0.5 are included
|
| 43 |
+
|
| 44 |
+
## Fields
|
| 45 |
+
|
| 46 |
+
| Field | Type | Description |
|
| 47 |
+
|-------|------|-------------|
|
| 48 |
+
| text | string | The document text |
|
| 49 |
+
| id | string | Original document ID |
|
| 50 |
+
| url | string | Source URL |
|
| 51 |
+
| climate_prob | float | FastText classifier probability (0-1) |
|
| 52 |
+
| source | string | Source dataset identifier |
|
| 53 |
+
|
| 54 |
+
## Usage
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
from datasets import load_dataset
|
| 58 |
+
|
| 59 |
+
dataset = load_dataset("Michaelyya/fineweb-edu-v2-FastT")
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
## Model Details
|
| 63 |
+
|
| 64 |
+
- **Architecture**: FastText supervised classifier
|
| 65 |
+
- **Training**: 10,000 samples labeled via GPT weak supervision
|
| 66 |
+
- **Labels**: Binary classification (climate vs. other)
|
| 67 |
+
- **Hyperparameters**: lr=0.5, epochs=25, wordNgrams=2, dim=100
|
| 68 |
+
|
| 69 |
+
## License
|
| 70 |
+
|
| 71 |
+
MIT
|