rafmacalaba commited on
Commit
aa46ca7
·
verified ·
1 Parent(s): eb38022

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +35 -0
  2. adapter_config.json +60 -0
  3. adapter_model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: gliner
3
+ pipeline_tag: token-classification
4
+ license: mit
5
+ tags:
6
+ - gliner
7
+ - classification
8
+ - data-use
9
+ - v0
10
+ - alpha
11
+ ---
12
+
13
+ # datause-impact-v0
14
+
15
+ Fine-tuned GLiNER2 adapter for multi-task classification in Data Use impact assessment pipeline.
16
+
17
+ **Architecture:** LoRA adapter for `fastino/gliner2-large-v1`
18
+ **Tasks:** usage, typology, purpose_action
19
+ **Status:** v0 alpha — initial fine-tuning.
20
+
21
+ ## Usage
22
+
23
+ ```python
24
+ from gliner import GLiNER2
25
+
26
+ model = GLiNER2.from_pretrained("fastino/gliner2-large-v1")
27
+ model.load_adapter("ai4data/datause-impact-v0")
28
+ ```
29
+
30
+ ## Pipeline Integration
31
+
32
+ Call 2 in 3-model swarm:
33
+ - Call 1: Entity extraction (`ai4data/datause-extraction`)
34
+ - Call 1b: Relation extraction (`ai4data/datause-relation-v0`)
35
+ - **Call 2: Classification (this model)**
adapter_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "GLiNER2",
7
+ "parent_library": "gliner2.inference.engine"
8
+ },
9
+ "base_model_name_or_path": "fastino/gliner2-large-v1",
10
+ "bias": "none",
11
+ "corda_config": null,
12
+ "ensure_weight_tying": false,
13
+ "eva_config": null,
14
+ "exclude_modules": null,
15
+ "fan_in_fan_out": false,
16
+ "inference_mode": true,
17
+ "init_lora_weights": true,
18
+ "layer_replication": null,
19
+ "layers_pattern": null,
20
+ "layers_to_transform": null,
21
+ "loftq_config": {},
22
+ "lora_alpha": 32.0,
23
+ "lora_bias": false,
24
+ "lora_dropout": 0.0,
25
+ "lora_ga_config": null,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.19.1",
31
+ "qalora_group_size": 16,
32
+ "r": 16,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "project_start.0",
37
+ "count_pred.0",
38
+ "out_project.3",
39
+ "project_start.3",
40
+ "projector.2",
41
+ "dense",
42
+ "project_end.0",
43
+ "project_end.3",
44
+ "out_project.0",
45
+ "query_proj",
46
+ "classifier.2",
47
+ "value_proj",
48
+ "classifier.0",
49
+ "count_pred.2",
50
+ "key_proj",
51
+ "projector.0"
52
+ ],
53
+ "target_parameters": null,
54
+ "task_type": null,
55
+ "trainable_token_indices": null,
56
+ "use_bdlora": null,
57
+ "use_dora": false,
58
+ "use_qalora": false,
59
+ "use_rslora": false
60
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c71e43624ee0a30eac70c49316172bfb0b51ca92e04ad4f5c2a174a876717651
3
+ size 31766440