How to use ychenNLP/arabic-relation-extraction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ychenNLP/arabic-relation-extraction")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ychenNLP/arabic-relation-extraction") model = AutoModelForSequenceClassification.from_pretrained("ychenNLP/arabic-relation-extraction")
HelloI have some Arabic datasets.How can I annotate this data and fine tune the model ?
· Sign up or log in to comment