Skip to content

Not able to reproduce using the uploaded model #7

@codeboy5

Description

@codeboy5

Hey,

Can you please help on how to run the evaluation code using the model here?

I am using this command to run the evaluation.

python run_ddro_evaluation.py \ --epoch 10 \ --per_gpu_batch_size 4 \ --save_path "ddro_ms_tu_model_final.pkl" \ --log_path "final_result.log" \ --doc_file_path "resources/datasets/processed/msmarco-docs-sents.top.300k.json.gz" \ --pretrain_model_path resources/transformer_models/t5-base \ --docid_path resources/datasets/processed/msmarco-data/encoded_docid/url_docid.txt \ --test_file_path resources/datasets/processed/msmarco-data/eval_data_top_300k/query_dev.jsonl \ --dataset_script_dir resources/data/data_scripts \ --dataset_cache_dir resources/negs_tutorial_cache \ --num_beams 5 \ --add_doc_num 6144 \ --max_seq_length 64 \ --max_docid_length 100 \ --output_every_n_step 1000 \ --save_every_n_epoch 2 \ --operation "testing" \ --use_docid_rank True

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions