runtime error
Exit code: 1. Reason: t the same type as the class this function is called from. It may result in unexpected tokenization. The tokenizer class you load from this checkpoint is 'RagTokenizer'. The class this function is called from is 'BartTokenizerFast'. README.md: 0%| | 0.00/14.9k [00:00<?, ?B/s][A README.md: 100%|██████████| 14.9k/14.9k [00:00<00:00, 82.8MB/s] wiki_dpr.py: 0%| | 0.00/8.63k [00:00<?, ?B/s][A wiki_dpr.py: 100%|██████████| 8.63k/8.63k [00:00<00:00, 42.3MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 12, in <module> retriever = RagRetriever.from_pretrained(model_name, index_name="exact", use_dummy_dataset=True) File "/usr/local/lib/python3.10/site-packages/transformers/models/rag/retrieval_rag.py", line 451, in from_pretrained index = cls._build_index(config) File "/usr/local/lib/python3.10/site-packages/transformers/models/rag/retrieval_rag.py", line 430, in _build_index return CanonicalHFIndex( File "/usr/local/lib/python3.10/site-packages/transformers/models/rag/retrieval_rag.py", line 280, in __init__ dataset = load_dataset( File "/usr/local/lib/python3.10/site-packages/datasets/load.py", line 2129, in load_dataset builder_instance = load_dataset_builder( File "/usr/local/lib/python3.10/site-packages/datasets/load.py", line 1849, in load_dataset_builder dataset_module = dataset_module_factory( File "/usr/local/lib/python3.10/site-packages/datasets/load.py", line 1731, in dataset_module_factory raise e1 from None File "/usr/local/lib/python3.10/site-packages/datasets/load.py", line 1681, in dataset_module_factory ).get_module() File "/usr/local/lib/python3.10/site-packages/datasets/load.py", line 1344, in get_module raise ValueError( ValueError: Loading wiki_dpr requires you to execute the dataset script in that repo on your local machine. Make sure you have read the code there to avoid malicious use, then set the option `trust_remote_code=True` to remove this error.
Container logs:
Fetching error logs...