from transformers.models.llama.configuration_llama import LlamaConfig as LlamaConfigOriginal | |
class LlamaConfig(LlamaConfigOriginal): | |
def __init__(self, use_xpos=False, **kwargs): | |
self.use_xpos = use_xpos | |
super().__init__(**kwargs) | |
from transformers.models.llama.configuration_llama import LlamaConfig as LlamaConfigOriginal | |
class LlamaConfig(LlamaConfigOriginal): | |
def __init__(self, use_xpos=False, **kwargs): | |
self.use_xpos = use_xpos | |
super().__init__(**kwargs) | |