Update ada_vocab_factory.py
#1
by
OrionZheng
- opened
- ada_vocab_factory.py +2 -2
ada_vocab_factory.py
CHANGED
@@ -17,8 +17,8 @@ from transformers.models.qwen2.modeling_qwen2 import Qwen2Model, Qwen2PreTrained
|
|
17 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
18 |
from transformers.cache_utils import Cache
|
19 |
|
20 |
-
from models.modeling_gemma import GemmaForCausalLM
|
21 |
-
from models.modeling_qwen2 import Qwen2ForCausalLM
|
22 |
|
23 |
|
24 |
def svd_with_cache(matrix, cache_dir, max_rank=1024):
|
|
|
17 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
18 |
from transformers.cache_utils import Cache
|
19 |
|
20 |
+
# from models.modeling_gemma import GemmaForCausalLM
|
21 |
+
# from models.modeling_qwen2 import Qwen2ForCausalLM
|
22 |
|
23 |
|
24 |
def svd_with_cache(matrix, cache_dir, max_rank=1024):
|