Instructions to use alvaroalon2/biobert_chemical_ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alvaroalon2/biobert_chemical_ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="alvaroalon2/biobert_chemical_ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("alvaroalon2/biobert_chemical_ner") model = AutoModelForTokenClassification.from_pretrained("alvaroalon2/biobert_chemical_ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Joao Gante commited on
Commit ·
ca83ce3
1
Parent(s): f34bbf1
Add TF weights
Browse filesModel converted by the [`transformers`' `pt_to_tf` CLI](https://github.com/huggingface/transformers/blob/main/src/transformers/commands/pt_to_tf.py).
All converted model outputs and hidden layers were validated against its Pytorch counterpart. Maximum crossload output difference=1.621e-05; Maximum converted output difference=1.621e-05.
- tf_model.h5 +3 -0
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e0d5981186ed7a5a464985d958db2c0fd938b042f5f91ce44cb461735deaf64
|
| 3 |
+
size 431161300
|