GLiNER2
Safetensors
ner
relation-extraction
data-mention-extraction
lora
development-economics
geography
Instructions to use ai4data/datause-extraction-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use ai4data/datause-extraction-v1 with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("ai4data/datause-extraction-v1") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - Notebooks
- Google Colab
- Kaggle
| { | |
| "alora_invocation_tokens": null, | |
| "alpha_pattern": {}, | |
| "arrow_config": null, | |
| "auto_mapping": { | |
| "base_model_class": "GLiNER2", | |
| "parent_library": "gliner2.inference.engine" | |
| }, | |
| "base_model_name_or_path": "fastino/gliner2-large-v1", | |
| "bias": "none", | |
| "corda_config": null, | |
| "ensure_weight_tying": false, | |
| "eva_config": null, | |
| "exclude_modules": null, | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 32.0, | |
| "lora_bias": false, | |
| "lora_dropout": 0.1, | |
| "lora_ga_config": null, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "peft_version": "0.19.1", | |
| "qalora_group_size": 16, | |
| "r": 16, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "out_project.0", | |
| "classifier.2", | |
| "project_start.0", | |
| "project_end.3", | |
| "out_project.3", | |
| "query_proj", | |
| "project_end.0", | |
| "project_start.3", | |
| "value_proj", | |
| "classifier.0", | |
| "dense", | |
| "key_proj" | |
| ], | |
| "target_parameters": null, | |
| "task_type": null, | |
| "trainable_token_indices": null, | |
| "use_bdlora": null, | |
| "use_dora": false, | |
| "use_qalora": false, | |
| "use_rslora": false | |
| } |