How to use KKrueger/relex_pre with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KKrueger/relex_pre")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KKrueger/relex_pre") model = AutoModelForSequenceClassification.from_pretrained("KKrueger/relex_pre")
The community tab is the place to discuss and collaborate with the HF community!