Ihor commited on
Commit
f40557b
1 Parent(s): 7477f0d

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. gliner_config.json +19 -2
  2. pytorch_model.bin +1 -1
gliner_config.json CHANGED
@@ -7,12 +7,29 @@
7
  "fine_tune": true,
8
  "subtoken_pooling": "first",
9
  "span_mode": "token_level",
 
 
 
 
 
10
  "loss_alpha": 0.75,
11
- "loss_gamma": 2,
12
  "loss_reduction": "sum",
 
 
 
 
 
 
 
 
 
 
13
  "max_types": 30,
14
  "shuffle_types": true,
15
  "random_drop": true,
16
  "max_neg_type_ratio": 1,
17
- "max_len": 768
 
 
18
  }
 
7
  "fine_tune": true,
8
  "subtoken_pooling": "first",
9
  "span_mode": "token_level",
10
+ "num_steps": 6000,
11
+ "train_batch_size": 8,
12
+ "eval_every": 1000,
13
+ "warmup_ratio": 0.1,
14
+ "scheduler_type": "linear",
15
  "loss_alpha": 0.75,
16
+ "loss_gamma": 0,
17
  "loss_reduction": "sum",
18
+ "lr_encoder": "5e-6",
19
+ "lr_others": "7e-6",
20
+ "weight_decay_encoder": 0.01,
21
+ "weight_decay_other": 0.01,
22
+ "root_dir": "gliner_logs",
23
+ "train_data": "../../data/unie_ner1.json",
24
+ "val_data_dir": "none",
25
+ "prev_path": "logs_large/model_120000",
26
+ "save_total_limit": 10,
27
+ "size_sup": -1,
28
  "max_types": 30,
29
  "shuffle_types": true,
30
  "random_drop": true,
31
  "max_neg_type_ratio": 1,
32
+ "max_len": 768,
33
+ "freeze_token_rep": false,
34
+ "log_dir": "logs_final"
35
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b50f5ab565dfdda438544093bc276828df3964802515b1e3e899bba60dc28aad
3
  size 1761073550
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c525ec47bac7dd49a0fef14a7d79c55247fe468e1e13ac0050d3b7136507a1f4
3
  size 1761073550