initial commit 9ee8da9
Yu Lu Liu commited on
How to use yliu337/noun_chunker with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="yliu337/noun_chunker") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("yliu337/noun_chunker")
model = AutoModelForTokenClassification.from_pretrained("yliu337/noun_chunker")