new-attempt-pipeline-2 / QBModelConfig.py
nes470's picture
Upload QApipeline
7339442 verified
raw
history blame contribute delete
No virus
252 Bytes
from transformers import PretrainedConfig
import torch
class QBModelConfig(PretrainedConfig):
model_type = 'QA-umd-quizbowl'
def __init__(self, **kwargs):
self.torch_dtype = torch.float16
super().__init__( **kwargs)