sol-r commited on
Commit
5a16063
·
verified ·
1 Parent(s): 8b71b55

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -58,3 +58,5 @@ 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
+ historica_instruct.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ instruct_mix.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - la
4
+ - grc
5
+ - en
6
+ - he
7
+ - cop
8
+ - non
9
+ - ang
10
+ - enm
11
+ - got
12
+ - cu
13
+ - xcl
14
+ - de
15
+ - fr
16
+ - it
17
+ - es
18
+ - ru
19
+ license: cc-by-sa-4.0
20
+ task_categories:
21
+ - text-generation
22
+ - translation
23
+ tags:
24
+ - instruction-tuning
25
+ - ancient-languages
26
+ - historical-languages
27
+ - translation
28
+ - multilingual
29
+ - latin
30
+ - ancient-greek
31
+ - coptic
32
+ - old-norse
33
+ - old-english
34
+ - gothic
35
+ size_categories:
36
+ - 10K<n<100K
37
+ ---
38
+
39
+ # historica-instruct
40
+
41
+ instruction-response pairs for fine-tuning language models on ancient and historical language tasks. 50k examples with multilingual instructions in 8 languages.
42
+
43
+ ## overview
44
+
45
+ | | count |
46
+ |---|---:|
47
+ | total examples | 50,000 |
48
+ | translation instructions | 25,000 (50%) |
49
+ | continuation instructions | 25,000 (50%) |
50
+ | source languages | 15 |
51
+ | instruction languages | 8 |
52
+
53
+ ## composition
54
+
55
+ **translation instructions (50%):** source text in an ancient language paired with its translation. the instruction asks the model to translate, in one of 8 instruction languages.
56
+
57
+ **continuation instructions (50%):** a passage is split into prefix (instruction) and suffix (response). the instruction asks the model to continue writing in the source language.
58
+
59
+ **church content deprioritized:** christian/patristic texts sampled at 15-30% of their natural rate. pagan mythology, secular literature, law, philosophy, poetry are proportionally overrepresented.
60
+
61
+ ## schema
62
+
63
+ | column | type | description |
64
+ |---|---|---|
65
+ | `instruction` | string | the instruction prompt (in one of 8 languages) |
66
+ | `response` | string | the expected response |
67
+ | `source` | string | `historica_translate` or `historica_continue` |
68
+ | `src_lang` | string | source text language (ISO 639) |
69
+ | `tgt_lang` | string | target/response language |
70
+ | `instr_lang` | string | language of the instruction itself |
71
+
72
+ ## source languages
73
+
74
+ | language | code | examples |
75
+ |---|---|---:|
76
+ | Latin | lat | 23,136 |
77
+ | Ancient Greek | grc | 11,699 |
78
+ | English | eng | 3,646 |
79
+ | Middle English | enm | 2,598 |
80
+ | Coptic | cop | 2,517 |
81
+ | Hebrew | heb | 2,435 |
82
+ | Old Norse | non | 2,229 |
83
+ | Old English | ang | 1,499 |
84
+ | Gothic | got | 58 |
85
+ | + others | deu, nob, xcl, fra, sme, chu | < 100 each |
86
+
87
+ ## instruction languages
88
+
89
+ instructions are given in 8 languages with correct grammar and declension:
90
+
91
+ | language | examples |
92
+ |---|---:|
93
+ | English | ~17k |
94
+ | Russian | ~8k |
95
+ | Italian | ~4k |
96
+ | French | ~4k |
97
+ | Latin | ~4k |
98
+ | Modern Greek | ~4k |
99
+ | Spanish | ~4k |
100
+ | German | ~4k |
101
+
102
+ ## data sources
103
+
104
+ built from [sol-r/historica-pairs](https://huggingface.co/datasets/sol-r/historica-pairs) (translation) and [sol-r/historica-corpus](https://huggingface.co/datasets/sol-r/historica-corpus) (continuation).
105
+
106
+ ## intended use
107
+
108
+ instruction fine-tuning of encoder-decoder or decoder-only models for ancient language tasks: translation, text continuation, analysis. designed to be mixed with general instruction datasets (e.g. OpenHermes, tulu-3) for step 1.5 fine-tuning.
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c73f969c86257a43c11e9a55101feb92238e38183de7c07f81f42569b222c39c
3
+ size 76314111
historica_instruct.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b397b1fb824b820007590abaf77fdf5f346bf03b7aa6cae6a94d71cc4b0a026
3
+ size 119544424
instruct_mix.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5684916d578c2c6637da48a256d4195824ed9c7580e1a35391953282aebb1c47
3
+ size 159346982