ppoitier commited on
Commit
64b0c11
·
0 Parent(s):

Super-squash branch 'main' using huggingface_hub

Browse files
.gitattributes ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ task_categories:
4
+ - token-classification
5
+ - translation
6
+ language:
7
+ - fr
8
+ tags:
9
+ - sign_language
10
+ - sign_language_processing
11
+ - sign_language_recognition
12
+ - sign_language_segmentation
13
+ - computer_vision
14
+ - natural_language_processing
15
+ pretty_name: French Belgian Sign Language (LSFB) Dataset
16
+ configs:
17
+ - config_name: annotated
18
+ data_files:
19
+ - split: train
20
+ path:
21
+ - "shards/annotated/shard_000002.tar"
22
+ - "shards/annotated/shard_000003.tar"
23
+ - "shards/annotated/shard_000004.tar"
24
+ - "shards/annotated/shard_000005.tar"
25
+ - "shards/annotated/shard_000006.tar"
26
+ - "shards/annotated/shard_000007.tar"
27
+ - split: validation
28
+ path: "shards/annotated/shard_000001.tar"
29
+ - split: test
30
+ path: "shards/annotated/shard_000000.tar"
31
+ - config_name: unannotated
32
+ data_files:
33
+ - split: train
34
+ path:
35
+ - "shards/unannotated/shard_000000.tar"
36
+ - "shards/unannotated/shard_000001.tar"
37
+ - "shards/unannotated/shard_000002.tar"
38
+ - "shards/unannotated/shard_000003.tar"
39
+ - "shards/unannotated/shard_000004.tar"
40
+ - "shards/unannotated/shard_000005.tar"
41
+ - "shards/unannotated/shard_000006.tar"
42
+ - "shards/unannotated/shard_000007.tar"
43
+ - "shards/unannotated/shard_000008.tar"
44
+ - split: validation
45
+ path:
46
+ - "shards/unannotated/shard_000009.tar"
47
+ - "shards/unannotated/shard_000010.tar"
48
+ - split: test
49
+ path: "shards/unannotated/shard_000011.tar"
50
+ ---
51
+
52
+ # LSFB-CONT: Continuous French Belgian Sign Language Dataset
53
+
54
+ LSFB-CONT is the **continuous** (untrimmed) subset of the [LSFB corpus](https://www.corpus-lsfb.be/): full-length recordings of signers, with pose sequences and, for part of the data, temporal sign/translation annotations. It is built for **Continuous Sign Language Recognition (CSLR)**, **Sign Language Segmentation (SLS)**, and **Sign Language Translation (SLT)**.
55
+
56
+ The isolated, per-sign counterpart of this dataset is [lsfb-isol](https://huggingface.co/datasets/ppoitier/lsfb-isol), where each sample is a single pre-segmented sign clip extracted from these recordings.
57
+
58
+ ## Dataset structure
59
+
60
+ The dataset is distributed as [WebDataset](https://github.com/webdataset/webdataset) `.tar` shards, in two configs:
61
+
62
+ - **`annotated`** (8 shards) — recordings with temporal annotations (glosses, lemmas, translations).
63
+ - **`unannotated`** (12 shards) — additional recordings with pose only, no annotations. Useful for self-supervised / semi-supervised pretraining.
64
+
65
+ Each sample is keyed by a recording id (e.g. `CLSFBI0301A_S007_B`) and contains:
66
+
67
+ - `pose.<body_part>.npy` — keypoint sequence for the whole recording, for one body part (`upper_pose`, `left_hand`, `right_hand`, `lips`, `left_eye`, `right_eye`, `left_eyebrow`, `right_eyebrow`, `left_iris`, `right_iris`)
68
+ - `signer.txt` — anonymized signer id (e.g. `S007`)
69
+ - `language.txt` — always `lsfb`
70
+
71
+ `annotated` samples additionally contain:
72
+
73
+ - `annotations.left_hand.json` / `annotations.right_hand.json` / `annotations.both_hands.json` — lists of `{start_ms, end_ms, start_frame, end_frame, gloss, lemma, sign_type, specifier, variation}` segments, one list per annotated hand/tier
74
+ - `annotations.translation.json` — list of `{start_ms, end_ms, start_frame, end_frame, text}` French translation segments
75
+
76
+ This release does not include raw video; only pose sequences and annotations are provided.
77
+
78
+ ## Usage
79
+
80
+ This dataset is designed to be loaded with [sign-language-data-loading](https://github.com/ppoitier/sign-language-data-loading) (`sldl`, [PyPI](https://pypi.org/project/sign-language-data-loading/)), which reads the WebDataset shards directly and handles pose decoding, windowing and target encoding:
81
+
82
+ ```bash
83
+ pip install "sign-language-data-loading[torch]"
84
+ ```
85
+
86
+ ```python
87
+ from sldl import SignLanguageDataset
88
+ from sldl.configs import LSFBContConfig
89
+
90
+ dataset = SignLanguageDataset.from_config(
91
+ LSFBContConfig(
92
+ root="path/to/lsfb-cont", # local clone or download of this repo
93
+ split="training",
94
+ load_videos=False, # no video files in this release
95
+ )
96
+ )
97
+
98
+ sample = dataset[0]
99
+ print(sample["annotations"]["both_hands"].head())
100
+ print(sample["poses"]["upper_pose"].shape)
101
+ ```
102
+
103
+ Pose and annotation transforms (e.g. converting sign boundaries to frame labels for CSLR) are provided by [sign-language-tools](https://github.com/ppoitier/sign-language-tools) ([PyPI](https://pypi.org/project/sign-language-tools/)), which `sldl`'s built-in target encoders (e.g. `FrameLabelsTarget`) build on.
104
+
105
+ ## License
106
+
107
+ This dataset is distributed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).
108
+
109
+ ## Related projects
110
+
111
+ - [sign-language-data-loading](https://github.com/ppoitier/sign-language-data-loading) ([PyPI](https://pypi.org/project/sign-language-data-loading/)) — PyTorch-friendly data loading for sign language datasets stored as WebDataset shards; this dataset's intended loader.
112
+ - [sign-language-tools](https://github.com/ppoitier/sign-language-tools) ([PyPI](https://pypi.org/project/sign-language-tools/)) — pose and annotation transforms for sign language processing.
113
+ - [lsfb-isol](https://huggingface.co/datasets/ppoitier/lsfb-isol) — the isolated (single-sign) counterpart of this dataset, useful for Isolated Sign Language Recognition (ISLR).
shards/annotated/shard_000000.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baa23b2e723f3610dde3e6b0d4925c94ae4532b5aa6460d0c02256b5d4055316
3
+ size 1137255424
shards/annotated/shard_000001.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:982bcae249dbeead3a8bcc9e6cac5649ae24da914c9dde4081d03944e0a1845e
3
+ size 1403275776
shards/annotated/shard_000002.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73c701e337621d658eac90aa785c942c08f36945d5c452414891e801cf6d6c17
3
+ size 1146209792
shards/annotated/shard_000003.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75a7a161092b24f65a4843281cc9492661dac3f0ff62f5b4585c9b94d70c72a6
3
+ size 1033222144
shards/annotated/shard_000004.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0927bf56e40f925d92fd9e0f1cf72fc22dc1307b5cb5ec2368f61d03aeb04df
3
+ size 1039654400
shards/annotated/shard_000005.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea9dabc01697af2f85745b649358a10dfdb029a295dd92a6024176abf1dcd7dd
3
+ size 1189762048
shards/annotated/shard_000006.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d170a79b99894bc704d2d4f47729cad42a7821816652f15f2d9c5af7a080ee50
3
+ size 1159894016
shards/annotated/shard_000007.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fce5f742a402d0b848b66298f5f01457cb089672ca14b974175b01b2379d58c3
3
+ size 1167543296
shards/unannotated/shard_000000.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9db327ca68fd2ccca9531d3fed3328d10802bf568ef8f7531a5d0da2ad136994
3
+ size 2458432512
shards/unannotated/shard_000001.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66d1d9fcad307834313a828bd632e8829855aac0a8ee584ec500dde9085d4b00
3
+ size 2563975680
shards/unannotated/shard_000002.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67afc2d823b7f24f466da4fc8a469a9026fb0ac3d0c5d2f6c5bda242f07e514a
3
+ size 2765730816
shards/unannotated/shard_000003.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e6b64f33662c4e02570702159ee37a647f3a7189473857141b7346244a2c41b
3
+ size 2473615872
shards/unannotated/shard_000004.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8fc200d2b4525e80722c78ca6304fddbdf7b5762cbe1f2e3d2956bdb5e6919f
3
+ size 2263350784
shards/unannotated/shard_000005.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dca2f0b7b7749fdbde5b916a1062e5e2e3943e76802ab70f52b6e0b72bc1e061
3
+ size 2245520896
shards/unannotated/shard_000006.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8ab1d2047adfe01bc30f6723ff7312499897daa45abec6c16cda86bb9abf966
3
+ size 2261727232
shards/unannotated/shard_000007.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9c2410b4287a15304b0f66ad2a6a3eec9215625c55da321723dbc7d68da393c
3
+ size 2261993472
shards/unannotated/shard_000008.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ce675e8159643d66ec3193c82e2031a390a24dbdda75bd9fc57dba34ff811b4
3
+ size 2599110656
shards/unannotated/shard_000009.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d928289d5a61384f7444002fc064c199da98a8c58404303343b8124cf121a8d
3
+ size 2762372608
shards/unannotated/shard_000010.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88083346db8074362e50b7c1b65f88736746bec0e9773d359478fa5c133559a5
3
+ size 2478197760
shards/unannotated/shard_000011.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb7d0aa085d4bafa3a6ba54b89a1d6d201cae691c34c42c365c423b57c94433d
3
+ size 2544307200
videos.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11fd79fe1d5570e8e5c1db11877169651733e067c94e78bada3b317027a347d5
3
+ size 31533663744
videos.tar.index.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb00a5008d9d51d60217e77de6e40752b9edad62b8e1adfd02bde99cb832f4a8
3
+ size 104352