| 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.'); | |
| ``` |