KoichiYasuoka commited on
Commit
95088ee
1 Parent(s): 87ad6ed

initial release

Browse files
README.md CHANGED
@@ -1,3 +1,25 @@
1
  ---
2
- license: cc-by-sa-4.0
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - "sr"
4
+ tags:
5
+ - "serbian"
6
+ - "masked-lm"
7
+ license: "cc-by-sa-4.0"
8
+ pipeline_tag: "fill-mask"
9
+ mask_token: "[MASK]"
10
  ---
11
+
12
+ # roberta-base-serbian
13
+
14
+ ## Model Description
15
+
16
+ This is a RoBERTa model in Serbian (Cyrillic and Latin) pre-trained on [srWaC](http://hdl.handle.net/11356/1063). You can fine-tune `roberta-base-serbian` for downstream tasks, such as [POS-tagging](https://huggingface.co/KoichiYasuoka/roberta-base-serbian-upos), dependency-parsing, and so on.
17
+
18
+ ## How to Use
19
+
20
+ ```py
21
+ from transformers import AutoTokenizer,AutoModelForMaskedLM
22
+ tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-base-serbian")
23
+ model=AutoModelForMaskedLM.from_pretrained("KoichiYasuoka/roberta-base-serbian")
24
+ ```
25
+
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForMaskedLM"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "roberta",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 1,
20
+ "position_embedding_type": "absolute",
21
+ "tokenizer_class": "BertTokenizerFast",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.18.0",
24
+ "type_vocab_size": 2,
25
+ "use_cache": true,
26
+ "vocab_size": 14438
27
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:512d094a9c1b421e8084dc9a4ac11b78513599ba30430ac8ee4e0571b836d66f
3
+ size 388651883
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": false, "do_lowercase": true, "never_split": ["[UNK]", "[SEP]", "[PAD]", "[CLS]", "[MASK]"], "model_max_length": 512, "do_basic_tokenize": true, "tokenizer_class": "BertTokenizerFast"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff