Pragformer commited on
Commit
abe9f5e
1 Parent(s): ed321d4

Upload BERT_Arch

Browse files
Files changed (3) hide show
  1. config.json +4 -0
  2. model_config.py +1 -1
  3. pytorch_model.bin +1 -1
config.json CHANGED
@@ -2,6 +2,10 @@
2
  "architectures": [
3
  "BERT_Arch"
4
  ],
 
 
 
 
5
  "bert": {
6
  "_commit_hash": "43cf2d48e8c75d255dccab2a19e40d4774fd8853",
7
  "_name_or_path": "NTUYG/DeepSCC-RoBERTa",
 
2
  "architectures": [
3
  "BERT_Arch"
4
  ],
5
+ "auto_map": {
6
+ "AutoConfig": "model_config.PragFormerConfig",
7
+ "AutoModel": "model.BERT_Arch"
8
+ },
9
  "bert": {
10
  "_commit_hash": "43cf2d48e8c75d255dccab2a19e40d4774fd8853",
11
  "_name_or_path": "NTUYG/DeepSCC-RoBERTa",
model_config.py CHANGED
@@ -2,7 +2,7 @@ from transformers import PretrainedConfig
2
 
3
 
4
  class PragFormerConfig(PretrainedConfig):
5
- model_type = "pragformer"
6
 
7
  def __init__(self, bert=None, dropout=0.2, fc1=512, fc2=2, softmax_dim=1, **kwargs):
8
  self.bert = bert
 
2
 
3
 
4
  class PragFormerConfig(PretrainedConfig):
5
+ model_type = "pragformer_private"
6
 
7
  def __init__(self, bert=None, dropout=0.2, fc1=512, fc2=2, softmax_dim=1, **kwargs):
8
  self.bert = bert
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:816862e8a2fc62fac62de92357c9394c6649e27b134f3da267e4dbfedad0e544
3
  size 500230377
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef9510040ca771c413337db84448bf249343c3d546acb7ff74fcb91ec805b3c6
3
  size 500230377