Upload modeling_tiny_greek_news_bert.py
Browse files
modeling_tiny_greek_news_bert.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import torch.nn as nn
|
| 2 |
from transformers import BertModel, BertPreTrainedModel
|
| 3 |
from transformers import BertConfig, AutoTokenizer
|
| 4 |
-
from configuration_tiny_greek_news_bert import TinyGreekNewsBertConfig
|
| 5 |
|
| 6 |
class TinyGreekNewsBert(BertPreTrainedModel):
|
| 7 |
config_class = TinyGreekNewsBertConfig
|
|
|
|
| 1 |
import torch.nn as nn
|
| 2 |
from transformers import BertModel, BertPreTrainedModel
|
| 3 |
from transformers import BertConfig, AutoTokenizer
|
| 4 |
+
from .configuration_tiny_greek_news_bert import TinyGreekNewsBertConfig
|
| 5 |
|
| 6 |
class TinyGreekNewsBert(BertPreTrainedModel):
|
| 7 |
config_class = TinyGreekNewsBertConfig
|