runtime error
s 'BartTokenizerFast'. The tokenizer class you load from this checkpoint is not 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 'DPRQuestionEncoderTokenizer'. The tokenizer class you load from this checkpoint is not 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 'DPRQuestionEncoderTokenizerFast'. The tokenizer class you load from this checkpoint is not 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 'BartTokenizer'. The tokenizer class you load from this checkpoint is not 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'. Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> retriever = RagRetriever.from_pretrained("facebook/rag-sequence-nq", index_name="custom", passages_path="my_knowledge_base.faiss") 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 424, in _build_index return CustomHFIndex.load_from_disk( File "/usr/local/lib/python3.10/site-packages/transformers/models/rag/retrieval_rag.py", line 330, in load_from_disk raise ValueError( ValueError: Please provide `dataset_path` and `index_path` after calling `dataset.save_to_disk(dataset_path)` and `dataset.get_index('embeddings').save(index_path)`.
Container logs:
Fetching error logs...