File size: 297 Bytes
0c69c37 9de3b35 8f27171 12ddf1e b20c5b6 |
1 2 3 4 5 6 7 8 9 10 11 |
from transformers import PretrainedConfig
import torch
class QBModelConfig(PretrainedConfig):
model_type = 'TFIDF-QA'
def __init__(self, **kwargs):
print(kwargs)
self.torch_dtype = torch.float32
super().__init__( **kwargs)
self.torch_dtype = torch.float32 |