vukbatanovic commited on
Commit
9f085cc
·
verified ·
1 Parent(s): 8e30864

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -1
README.md CHANGED
@@ -9,4 +9,38 @@ base_model:
9
  library_name: transformers
10
  tags:
11
  - legal
12
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  library_name: transformers
10
  tags:
11
  - legal
12
+ ---
13
+
14
+ # BERTić-COMtext-SR-legal-lemma-ekavica
15
+
16
+ **BERTić-COMtext-SR-legal-lemma-ekavica** is a variant of the [BERTić](https://huggingface.co/classla/bcms-bertic) model, fine-tuned on the task of lemmatization tag prediction in Serbian legal texts written in the Ekavian pronunciation.
17
+ The model was fine-tuned for 20 epochs on the Ekavian variant of the [COMtext.SR.legal](https://github.com/ICEF-NLP/COMtext.SR) dataset.
18
+
19
+ # Benchmarking
20
+
21
+ This model was evaluated on the task of lemmatizing Serbian legal texts.
22
+ Lemmatization was performed using the predicted string edit tags, as described in this JTDH 2024 paper:
23
+ * [Lemmatizing Serbian and Croatian via String Edit Prediction](https://zenodo.org/records/13937204)
24
+
25
+ The model was compared to previous lemmatization approaches that relied on the [srLex](http://hdl.handle.net/11356/1233) inflectional lexicon:
26
+ - The [CLASSLA](http://pypi.org/project/classla/) library
27
+ - A variant of [BERTić](https://huggingface.co/classla/bcms-bertic) fine-tuned for MSD prediction using the [SETimes.SR 2.0](http://hdl.handle.net/11356/1843) corpus of newswire texts
28
+ - A [variant](https://huggingface.co/ICEF-NLP/bcms-bertic-comtext-sr-legal-msd-ekavica) of [BERTić](https://huggingface.co/classla/bcms-bertic) fine-tuned for MSD prediction using the [COMtext.SR.legal](https://github.com/ICEF-NLP/COMtext.SR) corpus of legal texts
29
+ - [SrBERTa](http://huggingface.co/nemanjaPetrovic/SrBERTa), a model specially trained on Serbian legal texts, fine-tuned for MSD prediction using the [COMtext.SR.legal](https://github.com/ICEF-NLP/COMtext.SR) corpus of legal texts
30
+
31
+ Accuracy was used as the evaluation metric and gold tokenized text was taken as input.
32
+ All of the previous large language models were fine-tuned for 15 epochs.
33
+ CLASSLA and BERTić-SETimes were directly tested on the entire COMtext.SR.legal.ekavica corpus.
34
+ BERTić-COMtext-SR-legal-MSD-ekavica, BERTić-COMtext-SR-legal-lemma-ekavica, and SrBERTa were fine-tuned and evaluated on the COMtext.SR.legal.ekavica corpus using 10-fold CV.
35
+
36
+ The code and data to run these experiments is available on the [COMtext.SR GitHub repository](https://github.com/ICEF-NLP/COMtext.SR).
37
+
38
+ ## Results
39
+
40
+ | Model | Lemma ACC |
41
+ | ----------------------------------------- | ---------- |
42
+ | CLASSLA-SR | 0.9432 |
43
+ | BERTić-SETimes | 0.9649 |
44
+ | BERTić-COMtext-SR-legal-MSD-ekavica | 0.9666 |
45
+ | SrBERTa | 0.9391 |
46
+ | **BERTić-COMtext-SR-legal-lemma-ekavica** | **0.9850** |