Instructions to use Andrija/SRoBERTa-base-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Andrija/SRoBERTa-base-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Andrija/SRoBERTa-base-NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Andrija/SRoBERTa-base-NER") model = AutoModelForTokenClassification.from_pretrained("Andrija/SRoBERTa-base-NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add "multilingual" to the language tag
#1
by lbourdois - opened
README.md
CHANGED
|
@@ -5,6 +5,7 @@ datasets:
|
|
| 5 |
language:
|
| 6 |
- hr
|
| 7 |
- sr
|
|
|
|
| 8 |
|
| 9 |
widget:
|
| 10 |
- text: "Moje ime je Aleksandar i zivim u Beogradu pored Vlade Republike Srbije"
|
|
|
|
| 5 |
language:
|
| 6 |
- hr
|
| 7 |
- sr
|
| 8 |
+
- multilingual
|
| 9 |
|
| 10 |
widget:
|
| 11 |
- text: "Moje ime je Aleksandar i zivim u Beogradu pored Vlade Republike Srbije"
|