Spaces:
Sleeping
Sleeping
Update evo_model.py
Browse files- evo_model.py +2 -1
evo_model.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import torch.nn as nn
|
2 |
import torch.nn.functional as F
|
3 |
|
@@ -33,4 +34,4 @@ class EvoTransformer(nn.Module):
|
|
33 |
|
34 |
def forward(self, input_ids):
|
35 |
x = self.encoder(input_ids)
|
36 |
-
return self.classifier(x)
|
|
|
1 |
+
import torch
|
2 |
import torch.nn as nn
|
3 |
import torch.nn.functional as F
|
4 |
|
|
|
34 |
|
35 |
def forward(self, input_ids):
|
36 |
x = self.encoder(input_ids)
|
37 |
+
return self.classifier(x)
|