Skip to content

Need "bert_table_tokenized.pkl" to evaluate retriever #4

@km9mn

Description

@km9mn

Hi

I want to evaluate trained retriever.
I got this error message running retriever_eval.py.

Traceback (most recent call last):
  File "./src/retriever_eval.py", line 210, in <module>
    main()
  File "./src/retriever_eval.py", line 200, in main
    index = build_faiss_index(config, args, accelerator)
  File "./src/retriever_eval.py", line 57, in build_faiss_index
    table_dataloader = get_table_dataloader(config)
  File "/home/kyumin/project/table/Open_WikiTable/src/dataloader.py", line 320, in get_table_dataloader
    data = tokenized_table(config)
  File "/home/kyumin/project/table/Open_WikiTable/src/dataloader.py", line 305, in __init__
    self.tokenized = torch.load(path)
  File "/home/kyumin/anaconda3/envs/openwiki/lib/python3.8/site-packages/torch/serialization.py", line 699, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "/home/kyumin/anaconda3/envs/openwiki/lib/python3.8/site-packages/torch/serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "/home/kyumin/anaconda3/envs/openwiki/lib/python3.8/site-packages/torch/serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './data/augmented/bert_table_tokenized.pkl'

Where can I get it?

Thank you in advance.

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