File size: 875 Bytes
7c6b37e e4fc795 7c6b37e 9cc67b2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
---
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](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using:
```bash
npm i @huggingface/transformers
```
**Example:** Perform part-of-speech tagging.
```js
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.');
``` |