hast2 commited on
Commit
033454f
·
verified ·
1 Parent(s): e9e572f

Hurdle v2 (binary) + CORN cross-encoder on hast2/influenceFTv1

Browse files
Files changed (6) hide show
  1. config.json +35 -0
  2. heads.pt +3 -0
  3. hurdle_config.json +15 -0
  4. model.safetensors +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +19 -0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "RobertaModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "LABEL_0"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "is_decoder": false,
21
+ "label2id": {
22
+ "LABEL_0": 0
23
+ },
24
+ "layer_norm_eps": 1e-05,
25
+ "max_position_embeddings": 514,
26
+ "model_type": "roberta",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 1,
30
+ "tie_word_embeddings": true,
31
+ "transformers_version": "5.16.1",
32
+ "type_vocab_size": 1,
33
+ "use_cache": true,
34
+ "vocab_size": 50265
35
+ }
heads.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee09d734808781f4dc2b6405a39468588c8c2c1587863d0e220947e442594be2
3
+ size 11529
hurdle_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base": "cross-encoder/stsb-roberta-base",
3
+ "stage1": "binary",
4
+ "threshold": 3,
5
+ "corn_k": 2,
6
+ "max_len": 256,
7
+ "low_value": 1.0,
8
+ "tau": 0.05,
9
+ "pi_train": [
10
+ 0.5,
11
+ 0.5
12
+ ],
13
+ "best_epoch": 5,
14
+ "tau_metric": "f1"
15
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7e49aba7a91f6dd33e0c00e8b5ae330dc754d931b9f610798de5b3daeeea198
3
+ size 498604904
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "cls_token": "<s>",
7
+ "eos_token": "</s>",
8
+ "errors": "replace",
9
+ "full_tokenizer_file": null,
10
+ "is_local": false,
11
+ "local_files_only": false,
12
+ "mask_token": "<mask>",
13
+ "model_max_length": 512,
14
+ "pad_token": "<pad>",
15
+ "sep_token": "</s>",
16
+ "tokenizer_class": "RobertaTokenizer",
17
+ "trim_offsets": true,
18
+ "unk_token": "<unk>"
19
+ }