asafaya19 commited on
Commit
65d9294
1 Parent(s): f6c6164

update model card

Browse files
Files changed (1) hide show
  1. README.md +13 -16
README.md CHANGED
@@ -12,23 +12,20 @@ Pretrained BERT Large language model for Arabic
12
 
13
  _If you use this model in your work, please cite this paper:_
14
 
15
- <!--```
16
- @inproceedings{
17
- title={KUISAIL at SemEval-2020 Task 12: BERT-CNN for Offensive Speech Identification in Social Media},
18
- author={Safaya, Ali and Abdullatif, Moutasem and Yuret, Deniz},
19
- booktitle={Proceedings of the International Workshop on Semantic Evaluation (SemEval)},
20
- year={2020}
21
- }
22
- ```-->
23
 
24
  ```
25
- @misc{safaya2020kuisail,
26
- title={KUISAIL at SemEval-2020 Task 12: BERT-CNN for Offensive Speech Identification in Social Media},
27
- author={Ali Safaya and Moutasem Abdullatif and Deniz Yuret},
28
- year={2020},
29
- eprint={2007.13184},
30
- archivePrefix={arXiv},
31
- primaryClass={cs.CL}
 
 
 
 
 
32
  }
33
  ```
34
 
@@ -60,7 +57,7 @@ You can use this model by installing `torch` or `tensorflow` and Huggingface lib
60
  from transformers import AutoTokenizer, AutoModel
61
 
62
  tokenizer = AutoTokenizer.from_pretrained("asafaya/bert-large-arabic")
63
- model = AutoModel.from_pretrained("asafaya/bert-large-arabic")
64
  ```
65
 
66
  ## Results
12
 
13
  _If you use this model in your work, please cite this paper:_
14
 
 
 
 
 
 
 
 
 
15
 
16
  ```
17
+ @inproceedings{safaya-etal-2020-kuisail,
18
+ title = "{KUISAIL} at {S}em{E}val-2020 Task 12: {BERT}-{CNN} for Offensive Speech Identification in Social Media",
19
+ author = "Safaya, Ali and
20
+ Abdullatif, Moutasem and
21
+ Yuret, Deniz",
22
+ booktitle = "Proceedings of the Fourteenth Workshop on Semantic Evaluation",
23
+ month = dec,
24
+ year = "2020",
25
+ address = "Barcelona (online)",
26
+ publisher = "International Committee for Computational Linguistics",
27
+ url = "https://www.aclweb.org/anthology/2020.semeval-1.271",
28
+ pages = "2054--2059",
29
  }
30
  ```
31
 
57
  from transformers import AutoTokenizer, AutoModel
58
 
59
  tokenizer = AutoTokenizer.from_pretrained("asafaya/bert-large-arabic")
60
+ model = AutoModelForMaskedLM.from_pretrained("asafaya/bert-large-arabic")
61
  ```
62
 
63
  ## Results