Datasets:
upgrade to v3
Browse files- README.md +39 -18
- data/v1/lb_en.json +3 -0
- data/v1/lb_fr.json +3 -0
- data/v2/README.md +6 -0
- lb_en.json → data/v2/lb_en.json +0 -0
- lb_fr.json → data/v2/lb_fr.json +0 -0
- data/v3/lb_en.json +3 -0
- data/v3/lb_fr.json +3 -0
README.md
CHANGED
|
@@ -11,42 +11,63 @@ configs: # Optional. This can be used to pass additional parameters to the data
|
|
| 11 |
- config_name: lb-en
|
| 12 |
data_files:
|
| 13 |
- split: train
|
| 14 |
-
path: lb_en.json
|
|
|
|
|
|
|
| 15 |
- config_name: lb-fr
|
| 16 |
data_files:
|
| 17 |
- split: train
|
| 18 |
-
path: lb_fr.json
|
| 19 |
---
|
| 20 |
|
| 21 |
# Dataset Card for LuxAlign
|
| 22 |
|
| 23 |
-
##
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
## Dataset Summary
|
| 32 |
-
LuxAlign is a parallel dataset featuring Luxembourgish-English and Luxembourgish-French sentence pairs, introduced in [*LuxEmbedder: A Cross-Lingual Approach to Enhanced Luxembourgish Sentence Embeddings (Philippy et al.,
|
| 33 |
|
| 34 |
The sentence pairs in this dataset are not always exact translations but instead reflect high semantic similarity; hence, this dataset may not be suitable for training a machine translation model without caution.
|
| 35 |
|
| 36 |
## Dataset Description
|
| 37 |
- **Repository:** [fredxlpy/LuxEmbedder](https://github.com/fredxlpy/LuxEmbedder)
|
| 38 |
-
- **Paper:** [LuxEmbedder: A Cross-Lingual Approach to Enhanced Luxembourgish Sentence Embeddings (Philippy et al.,
|
| 39 |
|
| 40 |
## Citation Information
|
| 41 |
```bibtex
|
| 42 |
-
@
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
}
|
| 51 |
```
|
| 52 |
|
|
|
|
| 11 |
- config_name: lb-en
|
| 12 |
data_files:
|
| 13 |
- split: train
|
| 14 |
+
path: data/v3/lb_en.json
|
| 15 |
+
default: true # optional
|
| 16 |
+
|
| 17 |
- config_name: lb-fr
|
| 18 |
data_files:
|
| 19 |
- split: train
|
| 20 |
+
path: data/v3/lb_fr.json
|
| 21 |
---
|
| 22 |
|
| 23 |
# Dataset Card for LuxAlign
|
| 24 |
|
| 25 |
+
## Loading the Dataset
|
| 26 |
+
The dataset is currently at **version v3**, which can be loaded as:
|
| 27 |
+
|
| 28 |
+
```python
|
| 29 |
+
from datasets import load_dataset
|
| 30 |
+
|
| 31 |
+
ds = load_dataset("fredxlpy/LuxAlign", name="lb-en") # or "lb-fr"
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
If you want to reproduce the results from the paper (`v1`) or use any previous version, you can specify the version folder:
|
| 35 |
|
| 36 |
+
```python
|
| 37 |
+
# Load version v1 (as used in the paper)
|
| 38 |
+
ds_v1 = load_dataset("fredxlpy/LuxAlign", data_dir="data/v1", data_files={"train": "lb_en.json"})
|
| 39 |
+
```
|
| 40 |
|
| 41 |
## Dataset Summary
|
| 42 |
+
LuxAlign is a parallel dataset featuring Luxembourgish-English and Luxembourgish-French sentence pairs, introduced in [*LuxEmbedder: A Cross-Lingual Approach to Enhanced Luxembourgish Sentence Embeddings* (Philippy et al., 2025)](https://aclanthology.org/2025.coling-main.753/). Designed to align the Luxembourgish embedding space with those of other languages, it enables improved cross-lingual sentence representations for Luxemborgish. This dataset was used to train the Luxembourgish sentence embedding model [**LuxEmbedder**](https://huggingface.co/fredxlpy/LuxEmbedder). The data originates from news articles published by the Luxembourgish news platform [RTL.lu](https://www.rtl.lu).
|
| 43 |
|
| 44 |
The sentence pairs in this dataset are not always exact translations but instead reflect high semantic similarity; hence, this dataset may not be suitable for training a machine translation model without caution.
|
| 45 |
|
| 46 |
## Dataset Description
|
| 47 |
- **Repository:** [fredxlpy/LuxEmbedder](https://github.com/fredxlpy/LuxEmbedder)
|
| 48 |
+
- **Paper:** [LuxEmbedder: A Cross-Lingual Approach to Enhanced Luxembourgish Sentence Embeddings (Philippy et al., COLING 2025)](https://doi.org/10.48550/arXiv.2412.03331)
|
| 49 |
|
| 50 |
## Citation Information
|
| 51 |
```bibtex
|
| 52 |
+
@inproceedings{philippy-etal-2025-luxembedder,
|
| 53 |
+
title = "{L}ux{E}mbedder: A Cross-Lingual Approach to Enhanced {L}uxembourgish Sentence Embeddings",
|
| 54 |
+
author = "Philippy, Fred and
|
| 55 |
+
Guo, Siwen and
|
| 56 |
+
Klein, Jacques and
|
| 57 |
+
Bissyande, Tegawende",
|
| 58 |
+
editor = "Rambow, Owen and
|
| 59 |
+
Wanner, Leo and
|
| 60 |
+
Apidianaki, Marianna and
|
| 61 |
+
Al-Khalifa, Hend and
|
| 62 |
+
Eugenio, Barbara Di and
|
| 63 |
+
Schockaert, Steven",
|
| 64 |
+
booktitle = "Proceedings of the 31st International Conference on Computational Linguistics",
|
| 65 |
+
month = jan,
|
| 66 |
+
year = "2025",
|
| 67 |
+
address = "Abu Dhabi, UAE",
|
| 68 |
+
publisher = "Association for Computational Linguistics",
|
| 69 |
+
url = "https://aclanthology.org/2025.coling-main.753/",
|
| 70 |
+
pages = "11369--11379",
|
| 71 |
}
|
| 72 |
```
|
| 73 |
|
data/v1/lb_en.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13e37753d5078387e3abfb1af246b5fad244600e977539caf3ece5ec9bb564a3
|
| 3 |
+
size 6757718
|
data/v1/lb_fr.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4fc42c4a8ff862f7fcee3936d48fdd5e0ea02941fbf530fbf1e6ac891d4605eb
|
| 3 |
+
size 22962370
|
data/v2/README.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ⚠️ Update
|
| 2 |
+
We have updated the original dataset (`v1`) with the following improvements:
|
| 3 |
+
- **Data Coverage**: Extended to news articles published up to **2nd December 2024** (previously May 10, 2024).
|
| 4 |
+
- **Data Cleaning**: HTML tags that were previously undetected have now been removed.
|
| 5 |
+
- **Sentence Splitting**: Improved sentence tokenizer performance to fix previously incorrect splits.
|
| 6 |
+
- **Placeholder Tags**: Replaced phone numbers, email addresses, and URLs with `[phone]`, `[email]`, and `[url]` tags using regex patterns.
|
lb_en.json → data/v2/lb_en.json
RENAMED
|
File without changes
|
lb_fr.json → data/v2/lb_fr.json
RENAMED
|
File without changes
|
data/v3/lb_en.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecad076503c46599bebf55a1744031f6d8f34fffbd902f18840cebb9240de0b0
|
| 3 |
+
size 11299023
|
data/v3/lb_fr.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18b7739bab45a96c3640a100ad5925f95f0cedc1dc6de435c7ea481a18caf5ac
|
| 3 |
+
size 40386679
|