Token Classification
Transformers
PyTorch
TensorBoard
Safetensors
English
distilbert
Generated from Trainer
Instructions to use vishnun/knowledge-graph-nlp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vishnun/knowledge-graph-nlp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="vishnun/knowledge-graph-nlp")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("vishnun/knowledge-graph-nlp") model = AutoModelForTokenClassification.from_pretrained("vishnun/knowledge-graph-nlp") - Notebooks
- Google Colab
- Kaggle
How to use this model
#2
by Jiayuuuu - opened
Hi there, I am new to hugging face, and I met difficulties on using this model. I do not know how to use model, its parameters, etc. Are there some instructions?
Hi,
You can try the below
Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="vishnun/knowledge-graph-nlp")
or
try this simple package
pip install huggingfaceinference
github: https://github.com/Vishnunkumar/huggingfaceinference
vishnun changed discussion status to closed