Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

About the prediction file #1

Open
WildLight opened this issue Jan 3, 2023 · 0 comments
Open

About the prediction file #1

WildLight opened this issue Jan 3, 2023 · 0 comments

Comments

@WildLight
Copy link

Hello, I use the checkpoint model and prediction file you provided. The following instructions are executed:
--do_predict
--output_dir
./output
--predict_file
"./data/paraphrase_selection_dev.nq.bbase.qp_mp.nopp.title.json"
--checkpoint
"./checkpoint/nq-base.PT"
--predict_batch_size
72
--threads
80
--n_paragraphs
100
--verbose
--prefix
test_
--pad_question
--max_question_length
0
--max_passage_length
240
--predict_batch_size
72
--test_M
5
--bert_name
bert-base-uncased

But I get the following error.
image

This is because in the feature's file the 'positive_input_ids' is 'None'.
image

Could you tell me how I can solve this mistake?
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant