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