Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -19,7 +19,7 @@ configs:
|
|
| 19 |
- config_name: default
|
| 20 |
data_files:
|
| 21 |
- split: train
|
| 22 |
-
path: data/arxiv_citations_valid.
|
| 23 |
---
|
| 24 |
|
| 25 |
# Crossref arXiv Citations
|
|
@@ -55,7 +55,7 @@ Each citation object in `cited_by` contains:
|
|
| 55 |
|-------|------|-------------|
|
| 56 |
| `doi` | string | DOI of the citing work |
|
| 57 |
| `raw_match` | string | The original text that matched the arXiv reference |
|
| 58 |
-
| `reference` |
|
| 59 |
|
| 60 |
### Example Record
|
| 61 |
|
|
@@ -68,15 +68,18 @@ Each citation object in `cited_by` contains:
|
|
| 68 |
{
|
| 69 |
"doi": "10.1016/j.jhydrol.2025.134709",
|
| 70 |
"raw_match": "arXiv.1412.6980",
|
| 71 |
-
"reference": {
|
| 72 |
-
"key": "10.1016/j.jhydrol.2025.134709_b0175",
|
| 73 |
-
"unstructured": "Kingma, D.P., & Ba, J. (2014), Adam: A Method for Stochastic Optimization..."
|
| 74 |
-
}
|
| 75 |
}
|
| 76 |
]
|
| 77 |
}
|
| 78 |
```
|
| 79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
## Extraction Process
|
| 81 |
|
| 82 |
### 1. Reference Extraction
|
|
|
|
| 19 |
- config_name: default
|
| 20 |
data_files:
|
| 21 |
- split: train
|
| 22 |
+
path: data/arxiv_citations_valid.parquet
|
| 23 |
---
|
| 24 |
|
| 25 |
# Crossref arXiv Citations
|
|
|
|
| 55 |
|-------|------|-------------|
|
| 56 |
| `doi` | string | DOI of the citing work |
|
| 57 |
| `raw_match` | string | The original text that matched the arXiv reference |
|
| 58 |
+
| `reference` | string | The full reference object from the citing work's metadata (JSON-encoded) |
|
| 59 |
|
| 60 |
### Example Record
|
| 61 |
|
|
|
|
| 68 |
{
|
| 69 |
"doi": "10.1016/j.jhydrol.2025.134709",
|
| 70 |
"raw_match": "arXiv.1412.6980",
|
| 71 |
+
"reference": "{\"key\": \"10.1016/j.jhydrol.2025.134709_b0175\", \"unstructured\": \"Kingma, D.P., & Ba, J. (2014), Adam: A Method for Stochastic Optimization...\"}"
|
|
|
|
|
|
|
|
|
|
| 72 |
}
|
| 73 |
]
|
| 74 |
}
|
| 75 |
```
|
| 76 |
|
| 77 |
+
To parse the reference field in Python:
|
| 78 |
+
```python
|
| 79 |
+
import json
|
| 80 |
+
reference = json.loads(record['cited_by'][0]['reference'])
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
## Extraction Process
|
| 84 |
|
| 85 |
### 1. Reference Extraction
|
data/{arxiv_citations_valid.jsonl → arxiv_citations_valid.parquet}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a585b3818eef324918e238004fbd4b9efc7d5ff3f4e7e9d8d4809e89fd4a2fb
|
| 3 |
+
size 464962508
|