Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import torch
|
| 3 |
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
| 4 |
|
| 5 |
-
model_name = "
|
| 6 |
bnb_config = BitsAndBytesConfig(
|
| 7 |
load_in_4bit=True,
|
| 8 |
bnb_4bit_quant_type="nf4",
|
|
|
|
| 2 |
import torch
|
| 3 |
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
| 4 |
|
| 5 |
+
model_name = "microsoft/phi-2"
|
| 6 |
bnb_config = BitsAndBytesConfig(
|
| 7 |
load_in_4bit=True,
|
| 8 |
bnb_4bit_quant_type="nf4",
|