Felladrin's picture
Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#1)
a0e8102 verified
metadata
library_name: transformers.js
base_model:
  - PaDaS-Lab/privacy-policy-relation-extraction

privacy-policy-relation-extraction (ONNX)

This is an ONNX version of PaDaS-Lab/privacy-policy-relation-extraction. It was automatically converted and uploaded using this space.

Usage (Transformers.js)

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @huggingface/transformers

Example: Text Classification with Privacy Policy Relation Extraction.

import { pipeline } from '@huggingface/transformers';

const classifier = await pipeline('text-classification', 'onnx-community/privacy-policy-relation-extraction-ONNX');
const output = await classifier('I love transformers!');