Instructions to use spyysalo/example-turku-ner-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use spyysalo/example-turku-ner-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="spyysalo/example-turku-ner-model")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("spyysalo/example-turku-ner-model") model = AutoModelForTokenClassification.from_pretrained("spyysalo/example-turku-ner-model") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("spyysalo/example-turku-ner-model")
model = AutoModelForTokenClassification.from_pretrained("spyysalo/example-turku-ner-model")Quick Links
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This is an example NER model created by fine-tuning TurkuNLP/bert-base-finnish-cased-v1 on turku_ner_corpus for teaching purposes. It is not highly optimized and not recommended for any serious use.
- Downloads last month
- 10
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="spyysalo/example-turku-ner-model")