cognitivess
commited on
Commit
•
b4e2fae
1
Parent(s):
ed980e5
Update cognitivess_model/modeling_cognitivess.py
Browse files
cognitivess_model/modeling_cognitivess.py
CHANGED
@@ -3,3 +3,8 @@ from .configuration_cognitivess import CognitivessConfig
|
|
3 |
|
4 |
class CognitivessForCausalLM(LlamaForCausalLM):
|
5 |
config_class = 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)
|