add TF model
This commit is contained in:
parent
a2044a6925
commit
918ad37636
14
config.json
14
config.json
|
@ -13,24 +13,28 @@
|
||||||
"model_type": "gptj",
|
"model_type": "gptj",
|
||||||
"n_embd": 4096,
|
"n_embd": 4096,
|
||||||
"n_head": 16,
|
"n_head": 16,
|
||||||
|
"n_inner": null,
|
||||||
"n_layer": 28,
|
"n_layer": 28,
|
||||||
"n_positions": 2048,
|
"n_positions": 2048,
|
||||||
|
"resid_pdrop": 0.0,
|
||||||
"rotary": true,
|
"rotary": true,
|
||||||
"rotary_dim": 64,
|
"rotary_dim": 64,
|
||||||
|
"scale_attn_weights": true,
|
||||||
"summary_activation": null,
|
"summary_activation": null,
|
||||||
"summary_first_dropout": 0.1,
|
"summary_first_dropout": 0.1,
|
||||||
"summary_proj_to_labels": true,
|
"summary_proj_to_labels": true,
|
||||||
"summary_type": "cls_index",
|
"summary_type": "cls_index",
|
||||||
"summary_use_proj": true,
|
"summary_use_proj": true,
|
||||||
"transformers_version": "4.10.0.dev0",
|
|
||||||
"tokenizer_class": "GPT2Tokenizer",
|
|
||||||
"task_specific_params": {
|
"task_specific_params": {
|
||||||
"text-generation": {
|
"text-generation": {
|
||||||
"do_sample": true,
|
"do_sample": true,
|
||||||
"temperature": 1.0,
|
"max_length": 50,
|
||||||
"max_length": 50
|
"temperature": 1.0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tie_word_embeddings": false,
|
||||||
|
"tokenizer_class": "GPT2Tokenizer",
|
||||||
|
"transformers_version": "4.18.0.dev0",
|
||||||
"use_cache": true,
|
"use_cache": true,
|
||||||
"vocab_size": 50400
|
"vocab_size": 50400
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue