You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param num_labels: Number of labels of the classifier. If 1, the CrossEncoder is a regression model that outputs a continous score 0...1. If > 1, it output several scores that can be soft-maxed to get probability scores for the different classes.
28
28
:param max_length: Max length for input sequences. Longer sequences will be truncated. If None, max length of the model will be used
29
29
:param device: Device that should be used for the model. If None, it will use CUDA if available.
30
-
:param use_fast_tokenizer: Use fast tokenizer from hugging face.
30
+
:param tokenizer_args: Arguments passed to AutoTokenizer
0 commit comments