example-re-textclf-tacred / taskmodule_config.json
christophalt's picture
Add model
eebed73
raw
history blame
2.56 kB
{"tokenizer_name_or_path": "bert-base-uncased", "entity_annotation": "entities", "relation_annotation": "relations", "padding": true, "truncation": true, "max_length": null, "pad_to_multiple_of": null, "multi_label": false, "add_type_to_marker": false, "single_argument_pair": true, "append_markers": false, "entity_labels": {"no_relation": 0, "per:schools_attended": 1, "per:country_of_birth": 2, "org:dissolved": 3, "org:founded": 4, "per:origin": 5, "org:alternate_names": 6, "per:employee_of": 7, "org:parents": 8, "per:stateorprovince_of_death": 9, "per:country_of_death": 10, "per:parents": 11, "org:member_of": 12, "per:siblings": 13, "per:city_of_birth": 14, "org:subsidiaries": 15, "per:stateorprovince_of_birth": 16, "per:children": 17, "per:religion": 18, "per:alternate_names": 19, "per:age": 20, "per:cause_of_death": 21, "per:date_of_death": 22, "org:shareholders": 23, "org:country_of_headquarters": 24, "org:top_members/employees": 25, "per:spouse": 26, "org:city_of_headquarters": 27, "per:countries_of_residence": 28, "per:other_family": 29, "org:website": 30, "per:charges": 31, "per:date_of_birth": 32, "per:cities_of_residence": 33, "org:political/religious_affiliation": 34, "per:stateorprovinces_of_residence": 35, "org:number_of_employees/members": 36, "org:stateorprovince_of_headquarters": 37, "per:city_of_death": 38, "per:title": 39, "org:members": 40, "org:founded_by": 41}, "taskmodule_type": "TransformerRETextClassificationTaskModule", "label_to_id": {"no_relation": 0, "per:schools_attended": 1, "per:country_of_birth": 2, "org:dissolved": 3, "org:founded": 4, "per:origin": 5, "org:alternate_names": 6, "per:employee_of": 7, "org:parents": 8, "per:stateorprovince_of_death": 9, "per:country_of_death": 10, "per:parents": 11, "org:member_of": 12, "per:siblings": 13, "per:city_of_birth": 14, "org:subsidiaries": 15, "per:stateorprovince_of_birth": 16, "per:children": 17, "per:religion": 18, "per:alternate_names": 19, "per:age": 20, "per:cause_of_death": 21, "per:date_of_death": 22, "org:shareholders": 23, "org:country_of_headquarters": 24, "org:top_members/employees": 25, "per:spouse": 26, "org:city_of_headquarters": 27, "per:countries_of_residence": 28, "per:other_family": 29, "org:website": 30, "per:charges": 31, "per:date_of_birth": 32, "per:cities_of_residence": 33, "org:political/religious_affiliation": 34, "per:stateorprovinces_of_residence": 35, "org:number_of_employees/members": 36, "org:stateorprovince_of_headquarters": 37, "per:city_of_death": 38, "per:title": 39, "org:members": 40, "org:founded_by": 41}}