Skip to content

Suddenly encountered an OSError #24

@afly36-swordsman

Description

@afly36-swordsman

I followed your tutorial step by step but it reported an error.
Error message:

OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like bert-base-uncased is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

I followed the error and downloaded bert-base-uncased locally, but it still reports this error.
Could you please help me out?
Thank you very much!

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