Open leonhardhennig opened 2 years ago
In https://github.com/DFKI-NLP/sherlock/blob/23e7131eab21f83994dc85d4fbcb9bd5c682788f/scripts/run_binary_relation_clf.py#L770-L780, use AutoTokenizer / AutoModelForSequenceClassification instead of hard-coded classes from https://github.com/DFKI-NLP/sherlock/blob/23e7131eab21f83994dc85d4fbcb9bd5c682788f/scripts/run_binary_relation_clf.py#L74
In https://github.com/DFKI-NLP/sherlock/blob/23e7131eab21f83994dc85d4fbcb9bd5c682788f/scripts/run_binary_relation_clf.py#L770-L780, use AutoTokenizer / AutoModelForSequenceClassification instead of hard-coded classes from https://github.com/DFKI-NLP/sherlock/blob/23e7131eab21f83994dc85d4fbcb9bd5c682788f/scripts/run_binary_relation_clf.py#L74