def __init__(self,
                 html_path,
                 input_ids,
                 token_type_ids,
                 attention_mask,
                 xpath_tags_seq,
                 xpath_subs_seq,
                 labels,
                 involved_first_tokens_pos,
                 involved_first_tokens_xpaths,
                 involved_first_tokens_types,
                 involved_first_tokens_text,
                 ):
        """
        html_path: indicate which page the feature belongs to
        input_ids: RT
        token_type_ids: RT
        attention_mask: RT
        xpath_tags_seq: RT
        xpath_subs_seq: RT
        labels: RT
        involved_first_tokens_pos: a list, indicate the positions of the first-tokens in this feature
        involved_first_tokens_xpaths: the xpaths of the first-tokens, used to build dict
        involved_first_tokens_types: the types of the first-tokens
        involved_first_tokens_text: the text of the first tokens

        Note that `involved_xxx` are not fixed-length array, so they shouldn't be sent into our model
        They are just used for evaluation
        """
        self.html_path = html_path
        self.input_ids = input_ids
        self.token_type_ids = token_type_ids
        self.attention_mask = attention_mask
        self.xpath_tags_seq = xpath_tags_seq
        self.xpath_subs_seq = xpath_subs_seq
        self.labels = labels
        self.involved_first_tokens_pos = involved_first_tokens_pos
        self.involved_first_tokens_xpaths = involved_first_tokens_xpaths
        self.involved_first_tokens_types = involved_first_tokens_types
        self.involved_first_tokens_text = involved_first_tokens_text

        html_path: indicate which page the feature belongs to
        input_ids: RT
        token_type_ids: RT
        attention_mask: RT
        xpath_tags_seq: RT
        xpath_subs_seq: RT
        labels: RT
        involved_first_tokens_pos: a list, indicate the positions of the first-tokens in this feature
        involved_first_tokens_xpaths: the xpaths of the first-tokens, used to build dict
        involved_first_tokens_types: the types of the first-tokens
        involved_first_tokens_text: the text of the first tokens

        Note that `involved_xxx` are not fixed-length array, so they shouldn't be sent into our model
        They are just used for evaluation
        
markuplm/examples/fine_tuning/run_swde/utils.py