No attribute 'NomicBertConfig' today due to https://huggingface.co/nomic-ai/nomic-bert-2048/commit/ba22e9d89df6236d83c3daa26cc8dd78a130c3f2

#38
by lbwavebo-uber - opened

transformer version 4.46.3,
running ```
model = SentenceTransformer("nomic-ai/nomic-embed-text-v1", trust_remote_code=True)

gives error


i just had this error too, i fixed it by

  1. Deleted each nomic revision cache with the cli tool "huggingface-cli delete-cache --disable-tui"
  2. Specified it to use the main revision: model = SentenceTransformer("nomic-ai/nomic-embed-text-v1", trust_remote_code=True, revision="main")

Sign up or log in to comment