Instructions to use cjvt/sloberta-word-case-classification-multilabel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cjvt/sloberta-word-case-classification-multilabel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="cjvt/sloberta-word-case-classification-multilabel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("cjvt/sloberta-word-case-classification-multilabel") model = AutoModelForTokenClassification.from_pretrained("cjvt/sloberta-word-case-classification-multilabel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 337 Bytes
40603e9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | {
"LOWER_OTHER": 0,
"LOWER_HYPERCORRECTION": 1,
"LOWER_ADJ_SKI": 2,
"LOWER_ENTITY_PART": 3,
"UPPER_OTHER": 4,
"UPPER_BEGIN": 5,
"UPPER_ENTITY": 6,
"UPPER_DIRECT_SPEECH": 7,
"UPPER_ADJ_OTHER": 8,
"UPPER_ALLUC_OTHER": 9,
"UPPER_ALLUC_BEGIN": 10,
"UPPER_ALLUC_ENTITY": 11,
"UNCAP": -100
} |