File size: 1,684 Bytes
ad617c0
 
 
 
 
 
 
3fb2361
 
 
 
 
 
 
 
 
 
 
 
ad617c0
3fb2361
 
 
 
 
 
 
 
 
 
 
 
 
ad617c0
 
 
 
 
 
 
 
 
 
3fb2361
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ad617c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
  "_name_or_path": "xlm-roberta-base",
  "architectures": [
    "XLMRobertaForSequenceClassification"
  ],
  "model_type": "xlm-roberta",
  "tokenizer_class": "XLMRobertaTokenizer",
  "task_specific_params": {
    "text-classification": {
      "num_labels": 2,
      "id2label": {
        "0": "HUMAN",
        "1": "AI"
      },
      "label2id": {
        "HUMAN": 0,
        "AI": 1
      }
    }
  },
  "text_config": {
    "max_length": 512,
    "padding": "max_length",
    "truncation": true,
    "return_tensors": "pt"
  },
  "preprocessing": {
    "do_lower_case": false,
    "strip_accents": false,
    "add_special_tokens": true,
    "padding": true,
    "truncation": true,
    "max_length": 512
  },
  "special_tokens": {
    "bos_token": "<s>",
    "eos_token": "</s>",
    "unk_token": "<unk>",
    "sep_token": "</s>",
    "pad_token": "<pad>",
    "cls_token": "<s>",
    "mask_token": "<mask>"
  },
  "tokenizer_settings": {
    "clean_up_tokenization_spaces": true,
    "model_max_length": 512,
    "padding_side": "right",
    "truncation_side": "right",
    "return_attention_mask": true,
    "return_token_type_ids": false
  },
  "inference_config": {
    "return_all_scores": true,
    "output_hidden_states": false,
    "output_attentions": false,
    "return_dict": true,
    "problem_type": "single_label_classification"
  },
  "model_params": {
    "attention_probs_dropout_prob": 0.1,
    "hidden_dropout_prob": 0.1,
    "hidden_size": 768,
    "intermediate_size": 3072,
    "max_position_embeddings": 514,
    "num_attention_heads": 12,
    "num_hidden_layers": 12,
    "type_vocab_size": 1,
    "vocab_size": 250002,
    "layer_norm_eps": 1e-05
  }
}