xenova / transformers.js

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
https://huggingface.co/docs/transformers.js
Apache License 2.0
9.82k stars 579 forks source link

Request to this.path failed with status code 403 #733

Open narayan-khanna opened 1 month ago

narayan-khanna commented 1 month ago

System Info

throw new Error("Request to " + this.path + " failed with status code " + ^

Error: Request to https://tfhub.dev/tensorflow/tfjs-model/universal-sentence-encoder-lite/1/default/1/model.json?tfjs-format=file failed with status code 403. Please verify this URL points to the model JSON of the model to load.

Environment/Platform

Description

throw new Error("Request to " + this.path + " failed with status code " + ^

Error: Request to https://tfhub.dev/tensorflow/tfjs-model/universal-sentence-encoder-lite/1/default/1/model.json?tfjs-format=file failed with status code 403. Please verify this URL points to the model JSON of the model to load.

Reproduction

@tensorflow-models/universal-sentence-encoder": "^1.3.3",

import * as sentenceEncoder from "@tensorflow-models/universal-sentence-encoder";

const modelPromise = sentenceEncoder.load()