We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I pack Bert into my textual data? I have query and document pairs, should I package only documents? I ask because of this definition:
SEQ_LENGTH = 64 context_feature_spec = {} example_feature_spec = { 'input_word_ids': tf.io.FixedLenFeature( shape=(SEQ_LENGTH,), dtype=tf.int64, default_value=[7] * SEQ_LENGTH), 'input_mask': tf.io.FixedLenFeature( shape=(SEQ_LENGTH,), dtype=tf.int64, default_value=[7] * SEQ_LENGTH), 'input_type_ids': tf.io.FixedLenFeature( shape=(SEQ_LENGTH,), dtype=tf.int64, default_value=[7] * SEQ_LENGTH)} label_spec = ( "relevance", tf.io.FixedLenFeature(shape=(1,), dtype=tf.int64, default_value=-1) )
Onde context_feature_spec = { }
The antique dataset already has the keys - input_ids, input_mask, relevance e segment_ids. How do I do this for my texts?
No model de ranking there is 'feature_name_mapping' which it shows what I should deliver and what the model expects.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How do I pack Bert into my textual data? I have query and document pairs, should I package only documents? I ask because of this definition:
Onde context_feature_spec = { }
The antique dataset already has the keys - input_ids, input_mask, relevance e segment_ids.
How do I do this for my texts?
No model de ranking there is 'feature_name_mapping' which it shows what I should deliver and what the model expects.
The text was updated successfully, but these errors were encountered: