Spaces:
Sleeping
Sleeping
Remove BERT import
Browse files- customFunctions.py +0 -1
customFunctions.py
CHANGED
|
@@ -4,7 +4,6 @@ import random
|
|
| 4 |
import torch
|
| 5 |
import torch.nn as nn
|
| 6 |
import torch.optim as optim
|
| 7 |
-
from transformers import BertTokenizer, BertModel
|
| 8 |
from seqeval.metrics import accuracy_score, f1_score, classification_report
|
| 9 |
from seqeval.scheme import IOB2
|
| 10 |
import sklearn_crfsuite
|
|
|
|
| 4 |
import torch
|
| 5 |
import torch.nn as nn
|
| 6 |
import torch.optim as optim
|
|
|
|
| 7 |
from seqeval.metrics import accuracy_score, f1_score, classification_report
|
| 8 |
from seqeval.scheme import IOB2
|
| 9 |
import sklearn_crfsuite
|