Xenova's picture
Xenova HF Staff
Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#1)
9cc67b2 verified
metadata
language: eo
thumbnail: https://huggingface.co/blog/assets/01_how-to-train/EsperBERTo-thumbnail-v2.png
widget:
  - text: Mi estas viro kej estas tago varma.
duplicated_from: julien-c/EsperBERTo-small-pos
library_name: transformers.js
tags:
  - transformers

Duplicate of https://huggingface.co/julien-c/EsperBERTo-small-pos

Usage (Transformers.js)

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

npm i @huggingface/transformers

Example: Perform part-of-speech tagging.

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

const classifier = await pipeline('token-classification', 'Xenova/EsperBERTo-small-pos');
const output = await classifier('Mi estas viro kej estas tago varma.');