Text Generation
PEFT
Safetensors
Arabic
arabic
relation-extraction
qlora
bitsandbytes
multiple-choice
conversational
Instructions to use U4RASD/DRU-RE-Yehia with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use U4RASD/DRU-RE-Yehia with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Navid-AI/Yehia-7B-preview") model = PeftModel.from_pretrained(base_model, "U4RASD/DRU-RE-Yehia") - Notebooks
- Google Colab
- Kaggle
| { | |
| "Administration.leader_of": { | |
| "relation_base": "leader_of", | |
| "relation_base_normalized": "leader_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "leader_of", | |
| "canonical_id": "leader_of" | |
| }, | |
| "Administration.manager_of": { | |
| "relation_base": "manager_of", | |
| "relation_base_normalized": "manager_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "manager_of", | |
| "canonical_id": "manager_of" | |
| }, | |
| "Administration.president_of": { | |
| "relation_base": "president_of", | |
| "relation_base_normalized": "president_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "president_of", | |
| "canonical_id": "president_of" | |
| }, | |
| "Affiliation.employee_of": { | |
| "relation_base": "employee_of", | |
| "relation_base_normalized": "employee_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "employee_of", | |
| "canonical_id": "employee_of" | |
| }, | |
| "Affiliation.member_of": { | |
| "relation_base": "member_of", | |
| "relation_base_normalized": "member_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "member_of", | |
| "canonical_id": "member_of" | |
| }, | |
| "Affiliation.owner_of": { | |
| "relation_base": "owner_of", | |
| "relation_base_normalized": "owner_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "owner_of", | |
| "canonical_id": "owner_of" | |
| }, | |
| "Affiliation.student_at": { | |
| "relation_base": "student_at", | |
| "relation_base_normalized": "student_at", | |
| "ontology_relation_found": true, | |
| "ontology_id": "student_at", | |
| "canonical_id": "student_at" | |
| }, | |
| "Business.has_competitor": { | |
| "relation_base": "has_competitor", | |
| "relation_base_normalized": "has_competitor", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_compititor", | |
| "canonical_id": "has_competitor" | |
| }, | |
| "Business.has_conflict_with": { | |
| "relation_base": "has_conflict_with", | |
| "relation_base_normalized": "has_conflict_with", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_conflict_with", | |
| "canonical_id": "has_conflict_with" | |
| }, | |
| "Business.has_partner_with": { | |
| "relation_base": "has_partner_with", | |
| "relation_base_normalized": "has_partner_with", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_partner_with", | |
| "canonical_id": "partner_with" | |
| }, | |
| "Family.has_parent": { | |
| "relation_base": "has_parent", | |
| "relation_base_normalized": "has_parent", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_parent", | |
| "canonical_id": "has_parent" | |
| }, | |
| "Family.has_relative": { | |
| "relation_base": "has_relative", | |
| "relation_base_normalized": "has_relative", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_relative", | |
| "canonical_id": "has_relative" | |
| }, | |
| "Family.has_sibling": { | |
| "relation_base": "has_sibling", | |
| "relation_base_normalized": "has_sibling", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_sibling", | |
| "canonical_id": "has_sibling" | |
| }, | |
| "Family.has_spouse": { | |
| "relation_base": "has_spouse", | |
| "relation_base_normalized": "has_spouse", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_spouse", | |
| "canonical_id": "has_spouse" | |
| }, | |
| "GPE.capital_of": { | |
| "relation_base": "capital_of", | |
| "relation_base_normalized": "capital_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "capital_of", | |
| "canonical_id": "capital_of" | |
| }, | |
| "GPE.has_area": { | |
| "relation_base": "has_area", | |
| "relation_base_normalized": "has_area", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_area", | |
| "canonical_id": "has_area" | |
| }, | |
| "GPE.has_currency": { | |
| "relation_base": "has_currency", | |
| "relation_base_normalized": "has_currency", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_currency", | |
| "canonical_id": "has_currency" | |
| }, | |
| "GPE.has_population": { | |
| "relation_base": "has_population", | |
| "relation_base_normalized": "has_population", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_population", | |
| "canonical_id": "has_population" | |
| }, | |
| "GPE.official_language": { | |
| "relation_base": "official_language", | |
| "relation_base_normalized": "official_language", | |
| "ontology_relation_found": true, | |
| "ontology_id": "official_language", | |
| "canonical_id": "official_language" | |
| }, | |
| "Location.has_border_with": { | |
| "relation_base": "has_border_with", | |
| "relation_base_normalized": "has_border_with", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_border_with", | |
| "canonical_id": "has_border_with" | |
| }, | |
| "Location.headquartered_in": { | |
| "relation_base": "headquartered_in", | |
| "relation_base_normalized": "headquartered_in", | |
| "ontology_relation_found": true, | |
| "ontology_id": "headquartered_in", | |
| "canonical_id": "headquartered_in" | |
| }, | |
| "Location.lives_in": { | |
| "relation_base": "lives_in", | |
| "relation_base_normalized": "lives_in", | |
| "ontology_relation_found": true, | |
| "ontology_id": "lives_in", | |
| "canonical_id": "lives_in" | |
| }, | |
| "Location.located_in": { | |
| "relation_base": "located_in", | |
| "relation_base_normalized": "located_in", | |
| "ontology_relation_found": true, | |
| "ontology_id": "located_in", | |
| "canonical_id": "located_in" | |
| }, | |
| "Location.nearby": { | |
| "relation_base": "nearby", | |
| "relation_base_normalized": "nearby", | |
| "ontology_relation_found": true, | |
| "ontology_id": "nearby", | |
| "canonical_id": "nearby" | |
| }, | |
| "Organization.branch_count": { | |
| "relation_base": "branch_count", | |
| "relation_base_normalized": "branch_count", | |
| "ontology_relation_found": true, | |
| "ontology_id": "branch_count", | |
| "canonical_id": "number_of_branches" | |
| }, | |
| "Organization.employs": { | |
| "relation_base": "employs", | |
| "relation_base_normalized": "employs", | |
| "ontology_relation_found": true, | |
| "ontology_id": "employs", | |
| "canonical_id": "number_of_employees" | |
| }, | |
| "Organization.found_on": { | |
| "relation_base": "found_on", | |
| "relation_base_normalized": "found_on", | |
| "ontology_relation_found": true, | |
| "ontology_id": "found_on", | |
| "canonical_id": "founding_date" | |
| }, | |
| "Organization.has_alternate_name": { | |
| "relation_base": "has_alternate_name", | |
| "relation_base_normalized": "has_alternate_name", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_alternate_name", | |
| "canonical_id": "has_alternate_name" | |
| }, | |
| "Organization.has_propoerty": { | |
| "relation_base": "has_propoerty", | |
| "relation_base_normalized": "has_property", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_property", | |
| "canonical_id": "has_property" | |
| }, | |
| "Organization.has_revenue": { | |
| "relation_base": "has_revenue", | |
| "relation_base_normalized": "has_revenue", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_revenue", | |
| "canonical_id": "has_revenue" | |
| }, | |
| "PartOf.geopolitical_division": { | |
| "relation_base": "geopolitical_division", | |
| "relation_base_normalized": "geopolitical_division", | |
| "ontology_relation_found": true, | |
| "ontology_id": "geopolitical_division", | |
| "canonical_id": "geopolitical_division" | |
| }, | |
| "PartOf.subsidiary": { | |
| "relation_base": "subsidiary", | |
| "relation_base_normalized": "subsidiary", | |
| "ontology_relation_found": true, | |
| "ontology_id": "subsidary", | |
| "canonical_id": "subsidiary" | |
| }, | |
| "Personal.birth_date": { | |
| "relation_base": "birth_date", | |
| "relation_base_normalized": "birth_date", | |
| "ontology_relation_found": true, | |
| "ontology_id": "birth_date", | |
| "canonical_id": "birth_date" | |
| }, | |
| "Personal.birth_place": { | |
| "relation_base": "birth_place", | |
| "relation_base_normalized": "birth_place", | |
| "ontology_relation_found": true, | |
| "ontology_id": "birth_place", | |
| "canonical_id": "birth_place" | |
| }, | |
| "Personal.death_date": { | |
| "relation_base": "death_date", | |
| "relation_base_normalized": "death_date", | |
| "ontology_relation_found": true, | |
| "ontology_id": "death_date", | |
| "canonical_id": "death_date" | |
| }, | |
| "Personal.has_occupation": { | |
| "relation_base": "has_occupation", | |
| "relation_base_normalized": "has_occupation", | |
| "ontology_relation_found": true, | |
| "ontology_id": "has_occupation", | |
| "canonical_id": "has_occupation" | |
| }, | |
| "Productivity.builder_of": { | |
| "relation_base": "builder_of", | |
| "relation_base_normalized": "builder_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "builder_of", | |
| "canonical_id": "builder_of" | |
| }, | |
| "Productivity.founder_of": { | |
| "relation_base": "founder_of", | |
| "relation_base_normalized": "founder_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "founder_of", | |
| "canonical_id": "founder_of" | |
| }, | |
| "Productivity.inventor_of": { | |
| "relation_base": "inventor_of", | |
| "relation_base_normalized": "inventor_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "inventor_of", | |
| "canonical_id": "inventor_of" | |
| }, | |
| "Productivity.manufacturer_of": { | |
| "relation_base": "manufacturer_of", | |
| "relation_base_normalized": "manufacturer_of", | |
| "ontology_relation_found": true, | |
| "ontology_id": "manufacturer_of", | |
| "canonical_id": "manufacturer_of" | |
| }, | |
| "no_relation": { | |
| "relation_base": "no_relation", | |
| "relation_base_normalized": "no_relation", | |
| "ontology_relation_found": false, | |
| "ontology_id": null, | |
| "canonical_id": null | |
| } | |
| } | |