sgugger commited on
Commit
a15f3fc
·
unverified ·
1 Parent(s): a1f17bd

Add model and config

Browse files
Files changed (2) hide show
  1. config.json +30 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/test_dynamic_model",
3
+ "architectures": [
4
+ "NewModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "auto_map": {
8
+ "AutoConfig": "hf-internal-testing/test_dynamic_model--configuration.NewModelConfig",
9
+ "AutoModel": "hf-internal-testing/test_dynamic_model--modeling.NewModel"
10
+ },
11
+ "classifier_dropout": null,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 128,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 512,
17
+ "layer_norm_eps": 1e-12,
18
+ "max_position_embeddings": 512,
19
+ "model_type": "new-model",
20
+ "new_hidden_size": 12,
21
+ "num_attention_heads": 2,
22
+ "num_hidden_layers": 2,
23
+ "pad_token_id": 0,
24
+ "position_embedding_type": "absolute",
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.28.0.dev0",
27
+ "type_vocab_size": 2,
28
+ "use_cache": true,
29
+ "vocab_size": 30522
30
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a0d629b81a81d9926193e87db6ff0b85745ff63e8b4f6b3629f89af2af35e27
3
+ size 17566959