hf-transformers-bot commited on
Commit
4f0b4ff
·
verified ·
1 Parent(s): 1490705

Update tiny models for ModernBertForMultipleChoice

Browse files
Files changed (4) hide show
  1. config.json +55 -0
  2. model.safetensors +3 -0
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +17 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertForMultipleChoice"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 50281,
8
+ "classifier_activation": "gelu",
9
+ "classifier_bias": false,
10
+ "classifier_dropout": 0.0,
11
+ "classifier_pooling": "cls",
12
+ "cls_token_id": 50281,
13
+ "decoder_bias": true,
14
+ "deterministic_flash_attn": false,
15
+ "dtype": "float32",
16
+ "embedding_dropout": 0.0,
17
+ "eos_token_id": 50282,
18
+ "hidden_activation": "gelu",
19
+ "hidden_size": 32,
20
+ "initializer_cutoff_factor": 2.0,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 37,
23
+ "is_decoder": false,
24
+ "layer_types": [
25
+ "full_attention",
26
+ "sliding_attention"
27
+ ],
28
+ "local_attention": 128,
29
+ "max_position_embeddings": 512,
30
+ "mlp_bias": false,
31
+ "mlp_dropout": 0.0,
32
+ "model_type": "modernbert",
33
+ "norm_bias": false,
34
+ "norm_eps": 1e-05,
35
+ "num_attention_heads": 4,
36
+ "num_hidden_layers": 2,
37
+ "pad_token_id": 50283,
38
+ "rope_parameters": {
39
+ "full_attention": {
40
+ "rope_theta": 160000.0,
41
+ "rope_type": "default"
42
+ },
43
+ "sliding_attention": {
44
+ "rope_theta": 10000.0,
45
+ "rope_type": "default"
46
+ }
47
+ },
48
+ "sep_token_id": 50282,
49
+ "sparse_pred_ignore_index": -100,
50
+ "sparse_prediction": false,
51
+ "tie_word_embeddings": true,
52
+ "transformers_version": "5.16.0.dev0",
53
+ "type_vocab_size": 16,
54
+ "vocab_size": 50368
55
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47d3dbe54052bc6e75642fdee0620ba263854401a4d955110387f749ba84e2a3
3
+ size 6514964
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "[CLS]",
5
+ "is_local": true,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "model_input_names": [
9
+ "input_ids",
10
+ "attention_mask"
11
+ ],
12
+ "model_max_length": 512,
13
+ "pad_token": "[PAD]",
14
+ "sep_token": "[SEP]",
15
+ "tokenizer_class": "TokenizersBackend",
16
+ "unk_token": "[UNK]"
17
+ }