Token Classification
GLiNER
PyTorch
multilingual
tomaarsen HF staff commited on
Commit
33ab3b5
1 Parent(s): e858e30

Add model in new format

Browse files

Hello!

## Pull Request overview
* Introduce new model format

## Details
See https://github.com/urchade/GLiNER/pull/4 for more details.

Edit: The new `pytorch_model.bin` file is stuck in "uploading"...

- Tom Aarsen

Files changed (3) hide show
  1. .gitattributes +1 -0
  2. gliner_config.json +28 -0
  3. pytorch_model.bin +3 -0
.gitattributes CHANGED
@@ -1,2 +1,3 @@
1
  mgliner.pt filter=lfs diff=lfs merge=lfs -text
2
  gliner_multi.pt filter=lfs diff=lfs merge=lfs -text
 
 
1
  mgliner.pt filter=lfs diff=lfs merge=lfs -text
2
  gliner_multi.pt filter=lfs diff=lfs merge=lfs -text
3
+ pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
gliner_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "size_sup": -1,
3
+ "max_types": 25,
4
+ "shuffle_types": true,
5
+ "random_drop": true,
6
+ "max_neg_type_ratio": 1,
7
+ "max_len": 384,
8
+ "lr_encoder": "1e-5",
9
+ "lr_others": "5e-5",
10
+ "num_steps": 30000,
11
+ "warmup_ratio": 0.1,
12
+ "train_batch_size": 8,
13
+ "eval_every": 5000,
14
+ "max_width": 12,
15
+ "model_name": "microsoft/mdeberta-v3-base",
16
+ "fine_tune": true,
17
+ "subtoken_pooling": "first",
18
+ "hidden_size": 768,
19
+ "span_mode": "marker",
20
+ "dropout": 0.4,
21
+ "name": "abl",
22
+ "root_dir": "log_main",
23
+ "train_data": "/gpfswork/rech/ohy/upa43yu/instruct_ner/train_instruct.json",
24
+ "prev_path": "none",
25
+ "gpu": "ohy@a100",
26
+ "run_time": "05:30:00",
27
+ "log_dir": "/gpfsdswork/projects/rech/bwq/upa43yu/GLiNER/log_main/mdeberta-v3-base_1"
28
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3351ae4cdfd929e2bc91f667ad1478717f85e37990917cb21aa83908557a1f97
3
+ size 1166909406