napsternxg's picture
Fixed tokenization and added test eval
2a6c12f
raw
history blame
1.38 kB
{
"_name_or_path": "/home/jupyter/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": "O",
"1": "B-corporation",
"2": "I-corporation",
"3": "B-creative-work",
"4": "I-creative-work",
"5": "B-group",
"6": "I-group",
"7": "B-location",
"8": "I-location",
"9": "B-person",
"10": "I-person",
"11": "B-product",
"12": "I-product"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-corporation": 1,
"B-creative-work": 3,
"B-group": 5,
"B-location": 7,
"B-person": 9,
"B-product": 11,
"I-corporation": 2,
"I-creative-work": 4,
"I-group": 6,
"I-location": 8,
"I-person": 10,
"I-product": 12,
"O": 0
},
"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.17.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 64001
}