cognitivess
commited on
Update cognitivess_model/modeling_cognitivess.py
Browse files
cognitivess_model/modeling_cognitivess.py
CHANGED
@@ -1,10 +1,2 @@
|
|
1 |
-
from transformers import LlamaForCausalLM
|
2 |
-
from .configuration_cognitivess import CognitivessConfig
|
3 |
-
|
4 |
class CognitivessForCausalLM(LlamaForCausalLM):
|
5 |
-
config_class = CognitivessConfig
|
6 |
-
|
7 |
-
def __init__(self, config):
|
8 |
-
super().__init__(config)
|
9 |
-
if config.quantization_config:
|
10 |
-
self.quantize(config.quantization_config)
|
|
|
|
|
|
|
|
|
1 |
class CognitivessForCausalLM(LlamaForCausalLM):
|
2 |
+
config_class = CognitivessConfig
|
|
|
|
|
|
|
|
|
|