There is a issue with the example code not using pipeline. Calling start_scores, end_scores = model(input_ids, attention_mask=attention_mask) returns strings. Only the pipeline is working.
Your need to confirm your account before you can post a new comment.