(self,
qas_id,
qry_tokens,
qry_input_ids,
qry_input_mask,
relation_input_ids,
relation_input_mask,
qry_entity_id,
answer_mention=None,
answer_entity=None,
bridge_entity=None,
bridge_mention=None)
| 64 | """A single set of features of data.""" |
| 65 | |
| 66 | def __init__(self, |
| 67 | qas_id, |
| 68 | qry_tokens, |
| 69 | qry_input_ids, |
| 70 | qry_input_mask, |
| 71 | relation_input_ids, |
| 72 | relation_input_mask, |
| 73 | qry_entity_id, |
| 74 | answer_mention=None, |
| 75 | answer_entity=None, |
| 76 | bridge_entity=None, |
| 77 | bridge_mention=None): |
| 78 | self.qas_id = qas_id |
| 79 | self.qry_tokens = qry_tokens |
| 80 | self.qry_input_ids = qry_input_ids |
| 81 | self.qry_input_mask = qry_input_mask |
| 82 | self.relation_input_ids = relation_input_ids |
| 83 | self.relation_input_mask = relation_input_mask |
| 84 | self.qry_entity_id = qry_entity_id |
| 85 | self.answer_mention = answer_mention |
| 86 | self.answer_entity = answer_entity |
| 87 | self.bridge_mention = bridge_mention |
| 88 | self.bridge_entity = bridge_entity |
| 89 | |
| 90 | |
| 91 | class FeatureWriter: |
nothing calls this directly
no outgoing calls
no test coverage detected