Instructions to use tss-deposium/harrier-oss-v1-270m-onnx-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use tss-deposium/harrier-oss-v1-270m-onnx-int8 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('feature-extraction', 'tss-deposium/harrier-oss-v1-270m-onnx-int8');
| { | |
| "query_prefix": "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: ", | |
| "document_prefix": "", | |
| "note": "Queries MUST be prefixed with query_prefix. Documents must NOT be prefixed.", | |
| "pooling": "last_token", | |
| "normalize": "l2", | |
| "dimensions": 640 | |
| } |