Upload tiny models for LayoutLMForQuestionAnswering
This commit is contained in:
parent
58c63bbeac
commit
0d6a4bc614
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
"_name_or_path": "temp/dummy/layoutlm/LayoutLMForQuestionAnswering",
|
||||||
|
"architectures": [
|
||||||
|
"LayoutLMForQuestionAnswering"
|
||||||
|
],
|
||||||
|
"attention_probs_dropout_prob": 0.1,
|
||||||
|
"classifier_dropout": null,
|
||||||
|
"hidden_act": "gelu",
|
||||||
|
"hidden_dropout_prob": 0.1,
|
||||||
|
"hidden_size": 32,
|
||||||
|
"initializer_range": 0.02,
|
||||||
|
"intermediate_size": 37,
|
||||||
|
"layer_norm_eps": 1e-12,
|
||||||
|
"max_2d_position_embeddings": 1024,
|
||||||
|
"max_position_embeddings": 512,
|
||||||
|
"model_type": "layoutlm",
|
||||||
|
"num_attention_heads": 4,
|
||||||
|
"num_hidden_layers": 5,
|
||||||
|
"pad_token_id": 0,
|
||||||
|
"position_embedding_type": "absolute",
|
||||||
|
"torch_dtype": "float32",
|
||||||
|
"transformers_version": "4.25.0.dev0",
|
||||||
|
"type_vocab_size": 16,
|
||||||
|
"use_cache": true,
|
||||||
|
"vocab_size": 1124
|
||||||
|
}
|
Binary file not shown.
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"cls_token": "[CLS]",
|
||||||
|
"mask_token": "[MASK]",
|
||||||
|
"pad_token": "[PAD]",
|
||||||
|
"sep_token": "[SEP]",
|
||||||
|
"unk_token": "[UNK]"
|
||||||
|
}
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"cls_token": "[CLS]",
|
||||||
|
"do_basic_tokenize": true,
|
||||||
|
"do_lower_case": true,
|
||||||
|
"mask_token": "[MASK]",
|
||||||
|
"max_len": 512,
|
||||||
|
"model_max_length": 512,
|
||||||
|
"name_or_path": "temp/dummy/layoutlm/processors",
|
||||||
|
"never_split": null,
|
||||||
|
"pad_token": "[PAD]",
|
||||||
|
"sep_token": "[SEP]",
|
||||||
|
"special_tokens_map_file": "/home/huggingface/.cache/huggingface/hub/models--microsoft--layoutlm-base-uncased/snapshots/ca841ce8d2f46b13b0ac3f635b8eb7d2e1d758d5/special_tokens_map.json",
|
||||||
|
"strip_accents": null,
|
||||||
|
"tokenize_chinese_chars": true,
|
||||||
|
"tokenizer_class": "LayoutLMTokenizer",
|
||||||
|
"unk_token": "[UNK]"
|
||||||
|
}
|
Loading…
Reference in New Issue