add convbert base

This commit is contained in:
Abhishek Thakur 2021-01-21 09:48:38 +01:00
parent 64cda6d0cc
commit ea84191580
4 changed files with 30554 additions and 0 deletions

26
config.json Normal file
View File

@ -0,0 +1,26 @@
{
"_name_or_path": "/home/abhishek/huggingface/models/convbert_models/convbert_base",
"architectures": [
"ConvBertModel"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"conv_kernel_size": 9,
"embedding_size": 768,
"eos_token_id": 2,
"head_ratio": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "conv_bert",
"num_attention_heads": 12,
"num_groups": 1,
"num_hidden_layers": 12,
"pad_token_id": 0,
"type_vocab_size": 2,
"vocab_size": 30522
}

3
pytorch_model.bin Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7fa3d21f2838c4f9336c889fa3793c264328e5c647291dd3d1be495674bc2e1
size 422840281

3
tf_model.h5 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9ce4cada0f0fb7e3dd9b16f744c80324894f0f9235102b54e9bdd52629a8f44
size 423072720

30522
vocab.txt Normal file

File diff suppressed because it is too large Load Diff