Datasets:

Modalities:
Text
Formats:
json
Languages:
English
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
License:

In line 84 of pred.py, it says'retrieved = item["retrieved_context"][:args.rag]'. But where does this'retrieved_context' come from? item->data->data_all

#2
by AmamiSora - opened

In line 84 of pred.py, it says'retrieved = item["retrieved_context"][:args.rag]'. But where does this'retrieved_context' come from? item->data->data_all

I'm also curious about the "retrieved_context" field comes from. Could you clarify this?

Knowledge Engineering Group (KEG) & Data Mining at Tsinghua University org
edited 5 days ago

Hi, the key is used to load the ordered list of retrieved chunks, which should first be pre-computed by your retriever model.

Sign up or log in to comment