Datasets:
Tasks:
Text Generation
Formats:
parquet
Sub-tasks:
language-modeling
Languages:
Danish
Size:
10M - 100M
ArXiv:
DOI:
License:
Kenneth Enevoldsen
commited on
add test logs, format and bumped version
Browse files- CHANGELOG.md +1 -1
- README.md +1 -2
- pyproject.toml +1 -1
- src/tests/test_quality/test_duplicates.py +1 -0
- test_results.log +18 -9
CHANGELOG.md
CHANGED
|
@@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
| 9 |
|
| 10 |
### Fixed
|
| 11 |
|
| 12 |
-
- Updated the memo dataset, this second version fixed previous issues with the download and processing of the Danish Memo which cut off the text leading to notably smaller documents.
|
| 13 |
|
| 14 |
## [v1.1.1] - 2025-06-16
|
| 15 |
|
|
|
|
| 9 |
|
| 10 |
### Fixed
|
| 11 |
|
| 12 |
+
- Updated the memo dataset, this second version fixed previous [issues](https://huggingface.co/datasets/danish-foundation-models/danish-dynaword/discussions/67) with the download and processing of the Danish Memo which cut off the text leading to notably smaller documents.
|
| 13 |
|
| 14 |
## [v1.1.1] - 2025-06-16
|
| 15 |
|
README.md
CHANGED
|
@@ -174,7 +174,7 @@ https://github.com/huggingface/datasets/blob/main/templates/README_guide.md
|
|
| 174 |
<!-- START README TABLE -->
|
| 175 |
| | |
|
| 176 |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 177 |
-
| **Version** | 1.
|
| 178 |
| **Language** | dan, dansk, Danish |
|
| 179 |
| **License** | Openly Licensed, See the respective dataset |
|
| 180 |
| **Models** | For model trained used this data see [danish-foundation-models](https://huggingface.co/danish-foundation-models) |
|
|
@@ -206,7 +206,6 @@ https://github.com/huggingface/datasets/blob/main/templates/README_guide.md
|
|
| 206 |
- [License information](#license-information)
|
| 207 |
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 208 |
- [Notice and takedown policy](#notice-and-takedown-policy)
|
| 209 |
-
- [We will comply with legitimate requests by removing the affected sources from the next release of the corpus](#we-will-comply-with-legitimate-requests-by-removing-the-affected-sources-from-the-next-release-of-the-corpus)
|
| 210 |
|
| 211 |
## Dataset Description
|
| 212 |
|
|
|
|
| 174 |
<!-- START README TABLE -->
|
| 175 |
| | |
|
| 176 |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 177 |
+
| **Version** | 1.2.0 ([Changelog](/CHANGELOG.md)) |
|
| 178 |
| **Language** | dan, dansk, Danish |
|
| 179 |
| **License** | Openly Licensed, See the respective dataset |
|
| 180 |
| **Models** | For model trained used this data see [danish-foundation-models](https://huggingface.co/danish-foundation-models) |
|
|
|
|
| 206 |
- [License information](#license-information)
|
| 207 |
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 208 |
- [Notice and takedown policy](#notice-and-takedown-policy)
|
|
|
|
| 209 |
|
| 210 |
## Dataset Description
|
| 211 |
|
pyproject.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
[project]
|
| 2 |
name = "dynaword"
|
| 3 |
-
version = "1.
|
| 4 |
description = "project code for the danish dynaword project"
|
| 5 |
readme = "README.md"
|
| 6 |
requires-python = ">=3.12,<3.13" # 3.13 have issues with spacy and pytorch
|
|
|
|
| 1 |
[project]
|
| 2 |
name = "dynaword"
|
| 3 |
+
version = "1.2.0"
|
| 4 |
description = "project code for the danish dynaword project"
|
| 5 |
readme = "README.md"
|
| 6 |
requires-python = ">=3.12,<3.13" # 3.13 have issues with spacy and pytorch
|
src/tests/test_quality/test_duplicates.py
CHANGED
|
@@ -6,6 +6,7 @@ from datasets import Dataset, load_dataset
|
|
| 6 |
from dynaword.paths import repo_path
|
| 7 |
from ..conftest import DATASET_NAMES
|
| 8 |
|
|
|
|
| 9 |
@pytest.mark.parametrize("dataset_name", DATASET_NAMES)
|
| 10 |
def test_no_within_data_duplicates(dataset_name: str):
|
| 11 |
ds = load_dataset(str(repo_path.resolve()), dataset_name, split="train")
|
|
|
|
| 6 |
from dynaword.paths import repo_path
|
| 7 |
from ..conftest import DATASET_NAMES
|
| 8 |
|
| 9 |
+
|
| 10 |
@pytest.mark.parametrize("dataset_name", DATASET_NAMES)
|
| 11 |
def test_no_within_data_duplicates(dataset_name: str):
|
| 12 |
ds = load_dataset(str(repo_path.resolve()), dataset_name, split="train")
|
test_results.log
CHANGED
|
@@ -2,15 +2,24 @@
|
|
| 2 |
platform darwin -- Python 3.12.0, pytest-8.3.4, pluggy-1.5.0
|
| 3 |
rootdir: /Users/au561649/Github/danish-dynaword
|
| 4 |
configfile: pyproject.toml
|
| 5 |
-
|
|
|
|
| 6 |
|
| 7 |
-
src/tests/test_dataset_schema.py ....................................... [
|
| 8 |
-
............................. [
|
| 9 |
-
src/tests/test_datasheets.py ........................................... [
|
| 10 |
-
........................................................................ [
|
| 11 |
-
....................................................... [
|
| 12 |
-
src/tests/
|
| 13 |
-
src/tests/
|
|
|
|
|
|
|
|
|
|
| 14 |
src/tests/test_unique_ids.py . [100%]
|
| 15 |
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
platform darwin -- Python 3.12.0, pytest-8.3.4, pluggy-1.5.0
|
| 3 |
rootdir: /Users/au561649/Github/danish-dynaword
|
| 4 |
configfile: pyproject.toml
|
| 5 |
+
plugins: anyio-4.9.0
|
| 6 |
+
collected 310 items
|
| 7 |
|
| 8 |
+
src/tests/test_dataset_schema.py ....................................... [ 12%]
|
| 9 |
+
............................. [ 21%]
|
| 10 |
+
src/tests/test_datasheets.py ........................................... [ 35%]
|
| 11 |
+
........................................................................ [ 59%]
|
| 12 |
+
....................................................... [ 76%]
|
| 13 |
+
src/tests/test_load.py .. [ 77%]
|
| 14 |
+
src/tests/test_quality/test_duplicates.py .............................. [ 87%]
|
| 15 |
+
....s [ 88%]
|
| 16 |
+
src/tests/test_quality/test_short_texts.py ............................. [ 98%]
|
| 17 |
+
..... [ 99%]
|
| 18 |
src/tests/test_unique_ids.py . [100%]
|
| 19 |
|
| 20 |
+
=============================== warnings summary ===============================
|
| 21 |
+
src/tests/test_quality/test_short_texts.py: 34 warnings
|
| 22 |
+
/Users/au561649/Github/danish-dynaword/.venv/lib/python3.12/site-packages/datasets/utils/_dill.py:385: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
|
| 23 |
+
|
| 24 |
+
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
| 25 |
+
============ 309 passed, 1 skipped, 34 warnings in 77.84s (0:01:17) ============
|