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
File size: 134 Bytes
7c6b37e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fc59c5b16cfe0888c80bc8e4ef17b5feed02dacd32a22354abf860bf17cba85e
size 331463343
|