State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
9.82k
stars
578
forks
source link
Xenova/bert-base-multilingual-uncased-sentiment crashes on nextJS #729
Open
janwirth opened 2 months ago
System Info
Latest version of nextJS as per the tutorial: https://huggingface.co/docs/transformers.js/en/tutorials/next#server-side-inference
Environment/Platform
Description
It does not seem to be the API timeout, I set the limit to 60s using
export const maxDuration = 60;
Reproduction
Follow the tutorial: https://huggingface.co/docs/transformers.js/en/tutorials/next#server-side-inference
change the model to Xenova/bert-base-multilingual-uncased-sentiment