BERTweet-WNUT17 / config.json
emilys's picture
Upload
a34ae54
{
"_name_or_path": "vinai/bertweet-base",
"architectures": [
"RobertaForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-corporation",
"1": "B-creative-work",
"2": "B-group",
"3": "B-location",
"4": "B-person",
"5": "B-product",
"6": "I-corporation",
"7": "I-creative-work",
"8": "I-group",
"9": "I-location",
"10": "I-person",
"11": "I-product",
"12": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-corporation": 0,
"B-creative-work": 1,
"B-group": 2,
"B-location": 3,
"B-person": 4,
"B-product": 5,
"I-corporation": 6,
"I-creative-work": 7,
"I-group": 8,
"I-location": 9,
"I-person": 10,
"I-product": 11,
"O": 12
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 130,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"tokenizer_class": "BertweetTokenizer",
"torch_dtype": "float32",
"transformers_version": "4.19.4",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 64001
}