Pooya-Fallah
commited on
Commit
•
af020ce
1
Parent(s):
66db36d
Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
26 |
class ParsbertHallu(nn.Module, PyTorchModelHubMixin):
|
27 |
def __init__(self):
|
28 |
super().__init__()
|
29 |
-
self.transformer_model = transformers.AutoModelForSequenceClassification.from_pretrained("
|
30 |
num_labels=3)
|
31 |
self.head = nn.Sequential(
|
32 |
nn.Linear(3,1),
|
|
|
26 |
class ParsbertHallu(nn.Module, PyTorchModelHubMixin):
|
27 |
def __init__(self):
|
28 |
super().__init__()
|
29 |
+
self.transformer_model = transformers.AutoModelForSequenceClassification.from_pretrained("parsi-ai-nlpclass/ParsBERT-nli-FarsTail-FarSick",
|
30 |
num_labels=3)
|
31 |
self.head = nn.Sequential(
|
32 |
nn.Linear(3,1),
|