TriviaAnsweringMachine3 / QBModelConfig.py
Backedman's picture
Upload model
e6a7c75 verified
raw
history blame contribute delete
No virus
236 Bytes
from transformers import PretrainedConfig
import torch
class QBModelConfig(PretrainedConfig):
model_type = 'TFIDF-QA'
def __init__(self, **kwargs):
super().__init__( **kwargs)
self.torch_dtype = "torch.float16"