We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example files: https://huggingface.co/Xenova/modnet/tree/main/onnx
The text was updated successfully, but these errors were encountered:
This requires the experimental v3 branch: #545 where you can specify dtype:
dtype
import { pipeline } from '@xenova/transformers'; // Create feature extraction pipeline const extractor = await pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2', { // device: 'webgpu', (Optional) dtype: 'fp32', // or 'fp16' });
Sorry, something went wrong.
step:
npm install xenova/transformers.js#v3
Top await error
vite build
No branches or pull requests
Question
example files: https://huggingface.co/Xenova/modnet/tree/main/onnx
The text was updated successfully, but these errors were encountered: