Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,47 +1,51 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
dtype: int64
|
| 12 |
-
- name: likes
|
| 13 |
-
dtype: int64
|
| 14 |
-
- name: library_name
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: tags
|
| 17 |
-
list: string
|
| 18 |
-
- name: pipeline_tag
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: createdAt
|
| 21 |
-
dtype: timestamp[us, tz=UTC]
|
| 22 |
-
- name: card
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: entities
|
| 25 |
-
list:
|
| 26 |
-
- name: start
|
| 27 |
-
dtype: int64
|
| 28 |
-
- name: end
|
| 29 |
-
dtype: int64
|
| 30 |
-
- name: text
|
| 31 |
-
dtype: string
|
| 32 |
-
- name: label
|
| 33 |
-
dtype: string
|
| 34 |
-
- name: score
|
| 35 |
-
dtype: float64
|
| 36 |
-
splits:
|
| 37 |
-
- name: train
|
| 38 |
-
num_bytes: 48380945
|
| 39 |
-
num_examples: 10000
|
| 40 |
-
download_size: 22960238
|
| 41 |
-
dataset_size: 48380945
|
| 42 |
-
configs:
|
| 43 |
-
- config_name: default
|
| 44 |
-
data_files:
|
| 45 |
-
- split: train
|
| 46 |
-
path: data/train-*
|
| 47 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- ner
|
| 5 |
+
- gliner
|
| 6 |
+
- zero-shot
|
| 7 |
+
- bootstrap
|
| 8 |
+
- uv-script
|
| 9 |
+
size_categories:
|
| 10 |
+
- n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
+
|
| 13 |
+
# davanstrien/training-methods-bootstrap
|
| 14 |
+
|
| 15 |
+
Bootstrap NER dataset produced by [`urchade/gliner_multi-v2.1`](https://huggingface.co/urchade/gliner_multi-v2.1) over [`/input/cleaned-cards.parquet`](https://huggingface.co/datasets//input/cleaned-cards.parquet).
|
| 16 |
+
|
| 17 |
+
Generated using [`uv-scripts/gliner/extract-entities.py`](https://huggingface.co/datasets/uv-scripts/gliner).
|
| 18 |
+
|
| 19 |
+
## Provenance
|
| 20 |
+
|
| 21 |
+
| | |
|
| 22 |
+
|---|---|
|
| 23 |
+
| Source dataset | `/input/cleaned-cards.parquet` (split `train`) |
|
| 24 |
+
| Text column | `card` |
|
| 25 |
+
| Bootstrap model | `urchade/gliner_multi-v2.1` |
|
| 26 |
+
| Entity types | `training method` |
|
| 27 |
+
| Confidence threshold | 0.7 |
|
| 28 |
+
| Samples processed | 10000 |
|
| 29 |
+
| Total entities extracted | 4278 |
|
| 30 |
+
| Inference device | `cuda` |
|
| 31 |
+
| Wall clock | 949.8s (10.53 samples/s) |
|
| 32 |
+
|
| 33 |
+
## Schema
|
| 34 |
+
|
| 35 |
+
Original `/input/cleaned-cards.parquet` columns plus an `entities` column:
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
entities: list of {
|
| 39 |
+
"start": int, # character offset, inclusive
|
| 40 |
+
"end": int, # character offset, exclusive
|
| 41 |
+
"text": str, # the matched span
|
| 42 |
+
"label": str, # one of ['training method']
|
| 43 |
+
"score": float, # GLiNER confidence in [0, 1]
|
| 44 |
+
}
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
## Caveats
|
| 48 |
+
|
| 49 |
+
- These are **bootstrap labels**, not human-reviewed. Treat low-confidence (< 0.7) entities as candidates for review.
|
| 50 |
+
- GLiNER is zero-shot: changing `--entity-types` changes what it extracts, but quality varies by entity type.
|
| 51 |
+
- Long texts were truncated at 8000 characters before inference.
|