Instructions to use JohnDoe70/embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use JohnDoe70/embed with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('sentence-similarity', 'JohnDoe70/embed');
https://huggingface.co/sentence-transformers/all-mpnet-base-v2 with ONNX weights to be compatible with Transformers.js.
- Downloads last month
- 3
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('sentence-similarity', 'JohnDoe70/embed');