Instructions to use RJuro/SciNERTopic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RJuro/SciNERTopic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="RJuro/SciNERTopic")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("RJuro/SciNERTopic") model = AutoModelForTokenClassification.from_pretrained("RJuro/SciNERTopic") - Notebooks
- Google Colab
- Kaggle
Use of safetensors instead of pytorch
#2
by Anjali932007 - opened
I am trying to use safetensors instead of pytorch.bin to load my model, but it not happening as it is still searching for h5, .bin, etc . What is the correct way of using safetensors?