LuuNgoc2k2
commited on
Commit
•
dafb33c
1
Parent(s):
a4d7c7f
Upload folder using huggingface_hub
Browse files- gliner_config.json +37 -0
- pytorch_model.bin +3 -0
gliner_config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_name": "FacebookAI/xlm-roberta-large",
|
3 |
+
"name": "token level gliner",
|
4 |
+
"max_width": 100,
|
5 |
+
"hidden_size": 768,
|
6 |
+
"dropout": 0.1,
|
7 |
+
"fine_tune": true,
|
8 |
+
"subtoken_pooling": "first",
|
9 |
+
"span_mode": "token_level",
|
10 |
+
"num_steps": 120000,
|
11 |
+
"train_batch_size": 2,
|
12 |
+
"eval_every": 500,
|
13 |
+
"warmup_ratio": 0.1,
|
14 |
+
"scheduler_type": "cosine",
|
15 |
+
"gradient_accumulation_steps": 2,
|
16 |
+
"loss_alpha": -1,
|
17 |
+
"loss_gamma": 0,
|
18 |
+
"label_smoothing": 0,
|
19 |
+
"loss_reduction": "sum",
|
20 |
+
"lr_encoder": "3e-5",
|
21 |
+
"lr_others": "3e-5",
|
22 |
+
"weight_decay_encoder": 0.01,
|
23 |
+
"weight_decay_other": 0.01,
|
24 |
+
"root_dir": "gliner_logs",
|
25 |
+
"train_data": "/home/ltngoc/ngoclt/OriGliner/GLiNER/data/pilener_train.json",
|
26 |
+
"val_data_dir": "/home/ltngoc/ngoclt/OriGliner/GLiNER/data/viner",
|
27 |
+
"log_dir": "xlm-roberta",
|
28 |
+
"prev_path": "/home/ltngoc/ngoclt/OriGliner/GLiNER/xlm-roberta/model_78000",
|
29 |
+
"save_total_limit": 10,
|
30 |
+
"size_sup": -1,
|
31 |
+
"max_types": 12000,
|
32 |
+
"shuffle_types": true,
|
33 |
+
"random_drop": true,
|
34 |
+
"max_neg_type_ratio": 1,
|
35 |
+
"max_len": 512,
|
36 |
+
"freeze_token_rep": false
|
37 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74b4fd67b7ecbdf43a9a2a15520d4e52eb9252eaaf175e014cc1e0a9db7e76b8
|
3 |
+
size 2294903378
|