Instructions to use renjithks/distilbert-cord-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use renjithks/distilbert-cord-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="renjithks/distilbert-cord-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("renjithks/distilbert-cord-ner") model = AutoModelForTokenClassification.from_pretrained("renjithks/distilbert-cord-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
dcaf8e8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ad3f4b2fba2b0d47d04f279ee3977ba591654ef406d3a9c4b00bb5a499f163e4
size 3055
|