mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-29 07:34:18 +01:00
remove redundant changes
This commit is contained in:
parent
5c06625f58
commit
fdd886f7b4
@ -220,8 +220,6 @@ class Model:
|
|||||||
return NomicBertModel
|
return NomicBertModel
|
||||||
if model_architecture == "GemmaForCausalLM":
|
if model_architecture == "GemmaForCausalLM":
|
||||||
return GemmaModel
|
return GemmaModel
|
||||||
if model_architecture == "Starcoder2ForCausalLM":
|
|
||||||
return StarCoderModel2
|
|
||||||
return Model
|
return Model
|
||||||
|
|
||||||
def _is_model_safetensors(self) -> bool:
|
def _is_model_safetensors(self) -> bool:
|
||||||
@ -928,10 +926,6 @@ class StarCoderModel(Model):
|
|||||||
self.gguf_writer.add_layer_norm_eps(self.hparams["layer_norm_epsilon"])
|
self.gguf_writer.add_layer_norm_eps(self.hparams["layer_norm_epsilon"])
|
||||||
self.gguf_writer.add_file_type(self.ftype)
|
self.gguf_writer.add_file_type(self.ftype)
|
||||||
|
|
||||||
class StarCoderModel2(Model):
|
|
||||||
def set_vocab(self):
|
|
||||||
self._set_vocab_gpt2()
|
|
||||||
|
|
||||||
|
|
||||||
class RefactModel(Model):
|
class RefactModel(Model):
|
||||||
def set_gguf_parameters(self):
|
def set_gguf_parameters(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user