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
not that you need to install the transformers library beforehand`
how to use the model :
text="[insert text here]"inputs=tokenizer(text,return_tensors='pt') # make sure you are using the `return_tensors='pt'` parameteroutput=model(**inputs)
print(output.logits)
sadly the original implementation they are using a head with 2 neurons and the bias is on, so the model is showing 4 categories instead of 2, (or maybe i misunderstood how they labeled the data) in all cases, i would love to get an update around this .
picture for reference
how test it after installation ?
The text was updated successfully, but these errors were encountered: