Datasets:
Add files using upload-large-folder tool
Browse files- .gitattributes +12 -0
- README.md +49 -0
- author/test.jsonl +3 -0
- author/test_meta.jsonl +3 -0
- author/train.jsonl +3 -0
- author/train_meta.jsonl +3 -0
- author/val.jsonl +3 -0
- author/val_meta.jsonl +3 -0
- dataset_info.json +18 -0
- logs/hf_upload.log +0 -0
- logs/title_pilot_train.log +0 -0
- logs/title_train.log +0 -0
- reports/crop_stats.json +42 -0
- title/test.jsonl +3 -0
- title/test_meta.jsonl +3 -0
- title/train.jsonl +3 -0
- title/train_meta.jsonl +3 -0
- title/val.jsonl +3 -0
- title/val_meta.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
title/test.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
title/val_meta.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
title/test_meta.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
author/val_meta.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
author/val.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
author/test.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
author/test_meta.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
title/val.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
title/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
author/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
author/train_meta.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
title/train_meta.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- bo
|
| 7 |
+
tags:
|
| 8 |
+
- tibetan
|
| 9 |
+
- metadata
|
| 10 |
+
- title
|
| 11 |
+
- author
|
| 12 |
+
- llm-sft
|
| 13 |
+
- tilamb
|
| 14 |
+
size_categories:
|
| 15 |
+
- 100K<n<1M
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Tibetan metadata LLM SFT dataset
|
| 19 |
+
|
| 20 |
+
Supervised fine-tuning data for **title** and **author** span extraction from BDRC outliner segments, built for [TiLamb-7B](https://huggingface.co/YoLo2000/TiLamb-7B).
|
| 21 |
+
|
| 22 |
+
## Layout
|
| 23 |
+
|
| 24 |
+
```
|
| 25 |
+
title/{train,val,test}.jsonl # Alpaca format for LLaMA-Factory
|
| 26 |
+
title/{train,val,test}_meta.jsonl
|
| 27 |
+
author/{train,val,test}.jsonl
|
| 28 |
+
author/{train,val,test}_meta.jsonl
|
| 29 |
+
dataset_info.json # LLaMA-Factory registry snippet
|
| 30 |
+
reports/crop_stats.json
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
Each training row:
|
| 34 |
+
|
| 35 |
+
- `instruction` — fixed task prompt (title or author)
|
| 36 |
+
- `input` — cropped segment text (token-budget ≤3584 via TiLamb tokenizer)
|
| 37 |
+
- `output` — JSON `{"spans":[{"text","start","end"}]}` (crop-relative offsets)
|
| 38 |
+
|
| 39 |
+
## Cropping
|
| 40 |
+
|
| 41 |
+
| Kind | When |
|
| 42 |
+
|------|------|
|
| 43 |
+
| `full` | Whole segment fits token budget |
|
| 44 |
+
| `positive` | Random window containing gold span (anti position-bias) |
|
| 45 |
+
| `negative` | Random window, empty spans for that task |
|
| 46 |
+
|
| 47 |
+
Source: [ganga4364/tibetan-metadata-extracted](https://huggingface.co/datasets/ganga4364/tibetan-metadata-extracted) (3794 docs).
|
| 48 |
+
|
| 49 |
+
Built with [OpenPecha/tibetan-text-meta-detection](https://github.com/OpenPecha/tibetan-text-meta-detection) `llm_sft` package.
|
author/test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:918e346aa9398aa6c6cd54cc974e77c152ef4d4f9da9567d3f3204a0836e9659
|
| 3 |
+
size 151104227
|
author/test_meta.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db207ffdd2075a3ef970d05166902a8fa531ddfa7d4833b7a044a17def0bbfa3
|
| 3 |
+
size 153496285
|
author/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:329873390fe98b2fa02e0589988a237ecf739352741d5fefbba1da24e29cac98
|
| 3 |
+
size 1295318184
|
author/train_meta.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a5ec3be22db69b2e99de328dfab3e2545cf5165e6ea548c97af1fa7bf0786c9
|
| 3 |
+
size 1315581432
|
author/val.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a89147285e8764701ef8c6a3726a751da9371e86071719294bd3852db81beb22
|
| 3 |
+
size 15351707
|
author/val_meta.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6bf857492a4564601e534b64eb6f0ddc3e88e6f09c74fd0965299c0f414b564
|
| 3 |
+
size 15569501
|
dataset_info.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tibetan_title_sft": {
|
| 3 |
+
"file_name": "title/train.jsonl",
|
| 4 |
+
"columns": {
|
| 5 |
+
"prompt": "instruction",
|
| 6 |
+
"query": "input",
|
| 7 |
+
"response": "output"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"tibetan_author_sft": {
|
| 11 |
+
"file_name": "author/train.jsonl",
|
| 12 |
+
"columns": {
|
| 13 |
+
"prompt": "instruction",
|
| 14 |
+
"query": "input",
|
| 15 |
+
"response": "output"
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
}
|
logs/hf_upload.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
logs/title_pilot_train.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
logs/title_train.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reports/crop_stats.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": 134835,
|
| 3 |
+
"segments": 57091,
|
| 4 |
+
"errors": 29037,
|
| 5 |
+
"crop_kind": {
|
| 6 |
+
"negative": 14635,
|
| 7 |
+
"positive": 74535,
|
| 8 |
+
"full": 45665
|
| 9 |
+
},
|
| 10 |
+
"task": {
|
| 11 |
+
"title": 69058,
|
| 12 |
+
"author": 65777
|
| 13 |
+
},
|
| 14 |
+
"split": {
|
| 15 |
+
"train:title": 60359,
|
| 16 |
+
"train:author": 58268,
|
| 17 |
+
"val:title": 1006,
|
| 18 |
+
"val:author": 626,
|
| 19 |
+
"test:title": 7693,
|
| 20 |
+
"test:author": 6883
|
| 21 |
+
},
|
| 22 |
+
"span_position_ratio_histogram": {
|
| 23 |
+
"0.0-0.1": 55956,
|
| 24 |
+
"0.1-0.2": 1651,
|
| 25 |
+
"0.2-0.3": 826,
|
| 26 |
+
"0.3-0.4": 463,
|
| 27 |
+
"0.4-0.5": 342,
|
| 28 |
+
"0.5-0.6": 336,
|
| 29 |
+
"0.6-0.7": 526,
|
| 30 |
+
"0.7-0.8": 1173,
|
| 31 |
+
"0.8-0.9": 4224,
|
| 32 |
+
"0.9-1.0": 54703
|
| 33 |
+
},
|
| 34 |
+
"span_position_ratio_median": 0.7,
|
| 35 |
+
"config": {
|
| 36 |
+
"tokenizer": "YoLo2000/TiLamb-7B",
|
| 37 |
+
"max_context_tokens": 3584,
|
| 38 |
+
"crops_per_positive": 3,
|
| 39 |
+
"crops_per_negative": 1,
|
| 40 |
+
"seed": 42
|
| 41 |
+
}
|
| 42 |
+
}
|
title/test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdd0f1c9034bd73e5992b54c0f95220fda5a2ed980e3be806a21dc8efbaff439
|
| 3 |
+
size 154468940
|
title/test_meta.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54e0250326460f792c096a2df65830fc0224ead1414fd33df499756e9950c379
|
| 3 |
+
size 157120121
|
title/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5419aa2b58c3c1762dd4120e07600214c7d6f028d0be9224865f3290e431d6e2
|
| 3 |
+
size 1233059814
|
title/train_meta.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f392475cb061d5ec07628347438240c48ddefb40deb4537a8568787e0a71dda4
|
| 3 |
+
size 1253854094
|
title/val.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:004c2e02e79d4a285ab0df9cd0795943ef959d822f5d2406683ab30dbe914f93
|
| 3 |
+
size 18447356
|
title/val_meta.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8179529ba0ff754f33557d237ebf37e6d5320037177d1fd635e8723d2cb72232
|
| 3 |
+
size 18794088
|