Instructions to use Xenova/EsperBERTo-small-pos with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/EsperBERTo-small-pos with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'Xenova/EsperBERTo-small-pos'); - Transformers
How to use Xenova/EsperBERTo-small-pos with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Xenova/EsperBERTo-small-pos")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Xenova/EsperBERTo-small-pos") model = AutoModelForTokenClassification.from_pretrained("Xenova/EsperBERTo-small-pos") - Notebooks
- Google Colab
- Kaggle
Ctrl+K