Update configs.py
Browse files- configs.py +1 -0
configs.py
CHANGED
|
@@ -20,6 +20,7 @@ model_info = {
|
|
| 20 |
'LLAMA2-7B': dict(model_path='meta-llama/Llama-2-7b-chat-hf', token=os.environ['hf_token'],
|
| 21 |
original_prompt_template='<s>{prompt}',
|
| 22 |
interpretation_prompt_template='<s>[INST] [X] [/INST] {prompt}',
|
|
|
|
| 23 |
layers_format=llama_layers_format),
|
| 24 |
'LLAMA2-13B': dict(model_path='meta-llama/Llama-2-13b-chat-hf',
|
| 25 |
token=os.environ['hf_token'], torch_dtype=torch.float16,
|
|
|
|
| 20 |
'LLAMA2-7B': dict(model_path='meta-llama/Llama-2-7b-chat-hf', token=os.environ['hf_token'],
|
| 21 |
original_prompt_template='<s>{prompt}',
|
| 22 |
interpretation_prompt_template='<s>[INST] [X] [/INST] {prompt}',
|
| 23 |
+
load_in_8bit=True,
|
| 24 |
layers_format=llama_layers_format),
|
| 25 |
'LLAMA2-13B': dict(model_path='meta-llama/Llama-2-13b-chat-hf',
|
| 26 |
token=os.environ['hf_token'], torch_dtype=torch.float16,
|