bwang0911 commited on
Commit
a594cdd
1 Parent(s): 29ea283

Revert "Upload pytorch_model.bin"

Browse files

This reverts commit fc3d7f0e5c7096492a8e3b8ee8ca76c7db4aa06d.

config.json CHANGED
@@ -1,35 +1,36 @@
1
  {
2
- "_name_or_path": "jinaai/jina-bert-implementation",
3
- "model_max_length": 8192,
4
  "architectures": [
5
  "JinaBertForMaskedLM"
6
  ],
7
  "attention_probs_dropout_prob": 0.0,
 
8
  "auto_map": {
9
- "AutoConfig": "jinaai/jina-bert-implementation--configuration_bert.JinaBertConfig",
10
- "AutoModelForMaskedLM": "jinaai/jina-bert-implementation--modeling_bert.JinaBertForMaskedLM",
11
- "AutoModel": "jinaai/jina-bert-implementation--modeling_bert.JinaBertModel",
12
- "AutoModelForSequenceClassification": "jinaai/jina-bert-implementation--modeling_bert.JinaBertForSequenceClassification"
13
  },
14
  "classifier_dropout": null,
 
 
15
  "gradient_checkpointing": false,
16
  "hidden_act": "gelu",
17
- "hidden_dropout_prob": 0.1,
18
  "hidden_size": 768,
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "layer_norm_eps": 1e-12,
22
  "max_position_embeddings": 8192,
 
23
  "model_type": "bert",
24
  "num_attention_heads": 12,
25
  "num_hidden_layers": 12,
26
  "pad_token_id": 0,
27
  "position_embedding_type": "alibi",
28
- "torch_dtype": "float32",
29
- "transformers_version": "4.26.0",
30
  "type_vocab_size": 2,
31
  "use_cache": true,
32
- "vocab_size": 30528,
33
- "feed_forward_type": "geglu",
34
- "emb_pooler": "mean"
35
- }
 
1
  {
2
+ "_name_or_path": "jinaai/jina-bert-v2-qk-post-norm",
 
3
  "architectures": [
4
  "JinaBertForMaskedLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
+ "attn_implementation": "torch",
8
  "auto_map": {
9
+ "AutoConfig": "jinaai/jina-bert-v2-qk-post-norm--configuration_bert.JinaBertConfig",
10
+ "AutoModel": "jinaai/jina-bert-v2-qk-post-norm--modeling_bert.JinaBertModel",
11
+ "AutoModelForMaskedLM": "jinaai/jina-bert-v2-qk-post-norm--modeling_bert.JinaBertForMaskedLM",
12
+ "AutoModelForSequenceClassification": "jinaai/jina-bert-v2-qk-post-norm--modeling_bert.JinaBertForSequenceClassification"
13
  },
14
  "classifier_dropout": null,
15
+ "emb_pooler": "mean",
16
+ "feed_forward_type": "geglu",
17
  "gradient_checkpointing": false,
18
  "hidden_act": "gelu",
19
+ "hidden_dropout_prob": 0.0,
20
  "hidden_size": 768,
21
  "initializer_range": 0.02,
22
  "intermediate_size": 3072,
23
  "layer_norm_eps": 1e-12,
24
  "max_position_embeddings": 8192,
25
+ "model_max_length": 8192,
26
  "model_type": "bert",
27
  "num_attention_heads": 12,
28
  "num_hidden_layers": 12,
29
  "pad_token_id": 0,
30
  "position_embedding_type": "alibi",
31
+ "torch_dtype": "float16",
32
+ "transformers_version": "4.35.2",
33
  "type_vocab_size": 2,
34
  "use_cache": true,
35
+ "vocab_size": 61056
36
+ }
 
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ba0500574381615fddd725196787c59d69c39da1a4992573168949e57193814
3
- size 274773562
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c28fb0a8bc930d79b2b29091674a8a0ce0e983489e88b0e863efb1ad4444b01
3
+ size 321787514
special_tokens_map.json CHANGED
@@ -1,7 +1,15 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,15 +1,22 @@
1
  {
 
 
2
  "clean_up_tokenization_spaces": true,
3
- "cls_token": "[CLS]",
4
- "do_basic_tokenize": true,
5
- "do_lower_case": true,
6
- "mask_token": "[MASK]",
7
- "model_max_length": 2147483648,
8
- "never_split": null,
9
- "pad_token": "[PAD]",
10
- "sep_token": "[SEP]",
11
- "strip_accents": null,
12
- "tokenize_chinese_chars": true,
13
- "tokenizer_class": "BertTokenizer",
14
- "unk_token": "[UNK]"
 
 
 
 
 
15
  }
 
1
  {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<s>",
4
  "clean_up_tokenization_spaces": true,
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "errors": "replace",
8
+ "mask_token": {
9
+ "__type": "AddedToken",
10
+ "content": "<mask>",
11
+ "lstrip": true,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "model_max_length": 8192,
17
+ "pad_token": "<pad>",
18
+ "sep_token": "</s>",
19
+ "tokenizer_class": "RobertaTokenizer",
20
+ "trim_offsets": true,
21
+ "unk_token": "<unk>"
22
  }
vocab.txt DELETED
The diff for this file is too large to render. See raw diff