add model

This commit is contained in:
Patrick von Platen 2022-05-11 18:14:33 +02:00
parent 06c87055cc
commit 4c77920691
2 changed files with 29 additions and 0 deletions

26
config.json Normal file
View File

@ -0,0 +1,26 @@
{
"activation_dropout": 0.0,
"activation_function": "relu",
"architectures": [
"OPTModel"
],
"attention_dropout": 0.0,
"bos_token_id": 0,
"d_model": 2048,
"do_layer_norm_before": true,
"dropout": 0.1,
"eos_token_id": 2,
"ffn_dim": 8192,
"init_std": 0.02,
"layerdrop": 0.0,
"max_position_embeddings": 2048,
"model_type": "opt",
"num_attention_heads": 32,
"num_hidden_layers": 24,
"pad_token_id": 1,
"torch_dtype": "float16",
"transformers_version": "4.19.0.dev0",
"use_cache": true,
"vocab_size": 50272,
"word_embed_proj_dim": 2048
}

3
pytorch_model.bin Normal file
View File

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