Skip to content

'NoneType' object is not iterable, "Local Models & Custom Datasets" notebook #523

@arian-askari

Description

@arian-askari

Hi,

Thanks for the nice framework!
I tried to use it for the first time and get familiar with it in practice. I used the Local Models & Custom Datasets notebook provided in the Tutorials section, but I got an error with running all cells (without any modification).

Here is my notebook so you can see the error: https://colab.research.google.com/drive/1QdqAJIT3gR0KdsRk373GWoZFk1XossD8?usp=sharing

Apparently, the error is related to a TODO in the code:

# TODO: Replace `None` with a call to self.retrieve to retrieve passages. Append them to the list `passages`.

Bests,
Arian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions