|
Download README.md from nekear/anki-language-learning: direct link, hf CLI and curl.
- Browser
- Download file 4.84 kB
-
https://huggingface.co/datasets/nekear/anki-language-learning/resolve/main/README.md
- Command line
-
hf download hf://datasets/nekear/anki-language-learning/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/nekear/anki-language-learning/resolve/main/README.md
4.84 kB
| # Anki: Language Learning dataset | |
| Anki collections from 8 language learners. Each learner uploaded their decks through a | |
| web survey and explicitly consented to the public release of their notes, cards and | |
| review logs. Releasing profile information (languages, interests) required a separate, | |
| optional consent, which all 8 learners gave. | |
| This release contains **everything that was submitted**, including every language and | |
| note type, every card and every review-log row. | |
| | learner | L1(s) | target language(s) | in the paper | | |
| |---------|-------------|--------------------|----------------------------------------| | |
| | L01 | fr, en | ja, nl | yes | | |
| | L02 | hi, en | ja | yes | | |
| | L03 | en | ja | yes | | |
| | L04 | id | ja, en | excluded (no within-learner variation) | | |
| | L05 | en, fr | ja | excluded (no within-learner variation) | | |
| | L06 | en | ja | train-only | | |
| | L07 | zh-Hant, en | it | no (not Japanese) | | |
| | L08 | en | es, pt | no (not Japanese) | | |
| The survey policy set a threshold of at least three participants per target language. | |
| The learners studying it, es/pt and nl agreed to waive it, so they are included here. | |
| ## What was changed before release | |
| - **IDs.** Anki's deck, note-type, note and card IDs are creation timestamps. Each is | |
| replaced by a per-learner counter (1..n, in the original ID order, so sorting by | |
| `note_id` still sorts by creation). IDs are only unique **within a learner**, so join | |
| on `(learner_id, id)`. No mapping to the original IDs was kept. | |
| - **Timestamps.** Every timestamp of a learner is moved back by one random whole-week | |
| constant, and the constant was not stored. All intervals, time of day, weekday and | |
| day boundaries are preserved. Absolute dates are not real. | |
| - **Media.** Audio and image filenames (`[sound:…]`, `src=`, `href=`, CSS `url()`) are | |
| replaced by salted hashes. Within a learner, the same file always gets the same hash. | |
| Media files themselves are not included. | |
| - **Dictionary version stamps** such as `Jitendex.org [2025-12-02]` were removed. | |
| - **Tags** that spell a date were dropped. Learners could also remove any tag before | |
| submitting. | |
| - Deck labels are neutral (`deck_NNN`). | |
| - Learners could exclude notes and fields before uploading. An excluded field is `null`. | |
| ## Tables (JSON Lines, one object per line) | |
| All tables carry `learner_id`. Within each learner, rows are in the original export order. | |
| - `learners.jsonl`: `native_languages`, `target_languages` (`lang`, self-rated | |
| `proficiency`), `domain_interests` (all `null` without profile consent), and | |
| `collections[]` (`collection_created_at_ms`, Anki `schema_version`, `scheduler_version`). | |
| - `decks.jsonl`: `deck_id`, `parent_id` (deck hierarchy), `label`, `scheduler` (`FSRS` | |
| or null), `desired_retention`, `fsrs_weights`, and `target_language` as tagged by the | |
| learner (null for container decks). | |
| - `note_types.jsonl`: `model_id`, `field_names`, `excluded_field_indexes`. | |
| - `notes.jsonl`: `note_id`, `model_id`, `fields` (aligned with the note type's | |
| `field_names`; raw Anki HTML), `tags`, `created_at_ms`. | |
| - `cards.jsonl`: `card_id`, `note_id`, `deck_id`, `template_ord`, `state`, `queue`, | |
| `interval`, `factor`, `reps_total`, `lapses_total`, `fsrs_stability` (days), | |
| `fsrs_difficulty` (1–10), `due`, `created_at_ms`. | |
| - `reviews.jsonl`: `card_id`, `timestamp_ms`, `rating`, `interval_before`, | |
| `interval_after`, `factor_after`, `time_taken_ms`, `review_type`. | |
| ## Anki conventions | |
| - `rating`: 1 Again, 2 Hard, 3 Good, 4 Easy; 0 is a manual reschedule, not a grade. | |
| - `review_type`: 0 learning, 1 review, 2 relearning, 3 filtered/cram, 4 manual, 5 rescheduled. | |
| - `interval_*`: positive values are days, negative values are seconds (learning steps). | |
| - `state` (card type): 0 new, 1 learning, 2 review, 3 relearning. | |
| - `queue`: −3/−2 buried, −1 suspended, 0 new, 1 learning, 2 review, 3 day-learning, 4 preview. | |
| - `due`: depends on `queue`. For new cards it is the position. For review and | |
| day-learning cards it is the day number counted from `collection_created_at_ms`. For | |
| learning cards it is epoch **seconds**, shifted like every other timestamp. | |
| ## Limitations | |
| In addition to the dataset being too small to train our models effectively, as demonstrated in our study, we did not | |
| collect card template definitions. | |
| Consequently, for notes that generate multiple cards, it is not possible to clearly determine which fields appear on the | |
| front and back of each card. | |