Transformers How to use AlonCohen/social_groups_second_try with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="AlonCohen/social_groups_second_try") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("AlonCohen/social_groups_second_try")
model = AutoModelForTokenClassification.from_pretrained("AlonCohen/social_groups_second_try")