shamotskyi commited on
Commit
dceed35
1 Parent(s): 116eea2

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: cc-by-nc-4.0
5
+ tags:
6
+ - news
7
+ ---
8
+
9
+ - Based on the ukr_pravda dataset: https://huggingface.co/datasets/shamotskyi/ukr_pravda_2y
10
+ - Sister dataset: https://huggingface.co/datasets/shamotskyi/ukr_pravda_titles_ukr (same but in Ukrainian)
11
+
12
+ For each article, its text and titles are given, as well as _masked_ text and title (with all digits replaced with "X").
13
+ The indexes of the similar articles refer to the ids in the ukr_pravda_2y dataset (TODO check if this is factually correct).
14
+
15
+ Then, as ML eval task, a choice of 10 masked titles from _similar_ articles are given (including the 'real' one). The `label` column points to the index of the correct masked title.
16
+
17
+ Similarity of articles is a dead-simple cosine distance over binary vectors of the articles tags:
18
+ - a vector is built using spacy CountVectorizer, with 0 if the tag is absent and 1 if present
19
+ - similarity is cosine distance between these vectors of two articles
20
+ - the 10 most similar articles' titles are taken
21
+
22
+ NB this simple similarity may be suboptimal, because there are MANY UP articles with the exact same tags (ergo all with similarity 1.0 to the source), and there may be more similar articles (by human intuition as well as by any more reasonable metric) than the ones actually chosen.
23
+
24
+ This is done in the context of my Master's thesis, better documentation will follow soon.