Skip to content

Requirement to set Huggingface access token in env #124

@steve-earley-BP0288928-bpp

Description

When running scripts/embed_db.sh I get an error:

OSError: There was a specific connection error when trying to load thenlper/gte-large:
401 Client Error: Unauthorized for url: https://huggingface.co/thenlper/gte-large/resolve/main/config.json (Request ID: Root=1-6839f35e-7ceb1cef543288c2076b3407;aec4e8d0-d150-4656-b63b-666957ccd1aa)

Invalid credentials in Authorization header

To resolve this I needed to:

  • create a Huggingface account
  • obtain an access token
  • add this to the env file by setting HF_TOKEN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions