Spaces:
Paused
Paused
Update utils.py
Browse files
utils.py
CHANGED
@@ -18,7 +18,8 @@ from pygments import highlight
|
|
18 |
from pygments.lexers import guess_lexer,get_lexer_by_name
|
19 |
from pygments.formatters import HtmlFormatter
|
20 |
import transformers
|
21 |
-
from transformers import AutoTokenizer, AutoModelForCausalLM, GPT2Tokenizer, GPT2LMHeadModel
|
|
|
22 |
|
23 |
|
24 |
def reset_state():
|
|
|
18 |
from pygments.lexers import guess_lexer,get_lexer_by_name
|
19 |
from pygments.formatters import HtmlFormatter
|
20 |
import transformers
|
21 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM, GPT2Tokenizer, GPT2LMHeadModel
|
22 |
+
from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
|
23 |
|
24 |
|
25 |
def reset_state():
|