11
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import BertTokenizer, BertModel
|
|
4 |
import torch.nn.functional as F
|
5 |
|
6 |
# Load model and tokenizer from Hugging Face
|
7 |
-
model_name = "
|
8 |
tokenizer = BertTokenizer.from_pretrained(model_name)
|
9 |
|
10 |
class IndoBERTMultiTaskClassifier(torch.nn.Module):
|
|
|
4 |
import torch.nn.functional as F
|
5 |
|
6 |
# Load model and tokenizer from Hugging Face
|
7 |
+
model_name = "indobenchmark/indobert-base-p1"
|
8 |
tokenizer = BertTokenizer.from_pretrained(model_name)
|
9 |
|
10 |
class IndoBERTMultiTaskClassifier(torch.nn.Module):
|