Kemsekov commited on
Commit
3e5f549
·
verified ·
1 Parent(s): aa36cb1

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -0
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - ru
7
+ ---
8
+ This is synthetic text-corruption dataset, based on Russian open official/government documents text.
9
+
10
+ This dataset is intended to be used to train LLM to perform text-recovery task.
11
+
12
+ All the errors in text is made solely in Russian sentences, hence ignoring any English sentence.
13
+ Texts contains complex formatting, which is common for documents.
14
+
15
+ Each line contains json object that have array `messages` value, which consists of role-based conversation.
16
+ Each first message is randomly chosen `system` prompt, that describes task.
17
+
18
+ Each such object describes content of a single document, so each next message contains text that is relevant to previous one.
19
+
20
+ Each `user` message begins from `%% grammar_fix` or `%% grammar_fix_table`, and contains corrupted text/markdown table, and each `assistant` response is original correct text.
21
+
22
+ I advice you to train model on each document(message object) in a single pass(if you have enough memory), because by doing so model will learn better to connect previous corrected text with next one, and so it will be more stable in reconstructing abbreviations and objects/persons names.
23
+
24
+ Also I advice you to train first 1/5 of dataset with provided prompts, and later on 4/5 of dataset train without prompt.
25
+ Prompt provided is just a hint I made for base LLM, so it could start learning from higher accuracy, and later on when it have learnt what it need to do, I advice you to drop prompt altogether to speed up training and better let it learn how to actually reconstruct original text from corrupted one.
26
+
27
+ `concat_*.json` files is separated train and test files with just `text` or `table` contents.
28
+
29
+ `test.json` and `train.json` is combined text and table datasets