Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,19 +1,72 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
- config_name: default
|
| 16 |
-
data_files:
|
| 17 |
-
- split: train
|
| 18 |
-
path: data/train-*
|
| 19 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
- information-extraction
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- synthetic
|
| 10 |
+
- dates
|
| 11 |
+
- cultural-heritage
|
| 12 |
+
- museum
|
| 13 |
+
size_categories:
|
| 14 |
+
- n<1K
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# synth-creation-date
|
| 18 |
+
|
| 19 |
+
## Dataset Description
|
| 20 |
+
|
| 21 |
+
This is a synthetic dataset for training date extraction models on cultural heritage and museum object descriptions. The dataset contains 792 samples of text descriptions paired with structured date information.
|
| 22 |
+
|
| 23 |
+
## Dataset Structure
|
| 24 |
+
|
| 25 |
+
### Data Fields
|
| 26 |
+
|
| 27 |
+
- `prompt`: Input text containing date information (string)
|
| 28 |
+
- `completion`: JSON string containing extracted dates with the following structure:
|
| 29 |
+
```json
|
| 30 |
+
{
|
| 31 |
+
"dates": [
|
| 32 |
+
{
|
| 33 |
+
"type": "creation_start|creation_end|destruction_start|destruction_end|other",
|
| 34 |
+
"year": integer or null,
|
| 35 |
+
"month": integer or null,
|
| 36 |
+
"day": integer or null,
|
| 37 |
+
"reasoning": "brief explanation",
|
| 38 |
+
"date_text": "exact phrase from text"
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
### Date Types
|
| 45 |
+
|
| 46 |
+
- `creation_start`: When production/creation began
|
| 47 |
+
- `creation_end`: When production/creation was completed
|
| 48 |
+
- `destruction_start`: When destruction/damage began
|
| 49 |
+
- `destruction_end`: When destruction/damage was complete
|
| 50 |
+
- `other`: Other dates (acquisition, discovery, exhibition, etc.)
|
| 51 |
+
|
| 52 |
+
## Usage
|
| 53 |
+
|
| 54 |
+
This dataset is designed for training models to extract structured date information from cultural object descriptions.
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
from datasets import load_dataset
|
| 58 |
+
|
| 59 |
+
dataset = load_dataset("yale-cultural-heritage/synth-creation-date")
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
## Generation Details
|
| 63 |
+
|
| 64 |
+
- Generated using Faker for structured date data
|
| 65 |
+
- Object types: 50+ different museum objects (paintings, sculptures, vases, etc.)
|
| 66 |
+
- Countries: Randomized using Faker
|
| 67 |
+
- Formats: HTML, JSON, and natural language descriptions
|
| 68 |
+
- Date ranges: 1300-2024 (with 10% generic centuries/decades)
|
| 69 |
+
|
| 70 |
+
## License
|
| 71 |
+
|
| 72 |
+
MIT License
|