Spaces:
Runtime error
Runtime error
FlawedLLM
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ from transformers import AutoTokenizer
|
|
6 |
@spaces.GPU(duration=300)
|
7 |
def chunk_it(input_command):
|
8 |
model = AutoPeftModelForCausalLM.from_pretrained(
|
9 |
-
|
10 |
-
|
11 |
)
|
12 |
tokenizer = AutoTokenizer.from_pretrained("FlawedLLM/BhashiniLLM")
|
13 |
inputs = tokenizer(
|
|
|
6 |
@spaces.GPU(duration=300)
|
7 |
def chunk_it(input_command):
|
8 |
model = AutoPeftModelForCausalLM.from_pretrained(
|
9 |
+
"FlawedLLM/BhashiniLLM", # YOUR MODEL YOU USED FOR TRAINING
|
10 |
+
load_in_4bit = True,
|
11 |
)
|
12 |
tokenizer = AutoTokenizer.from_pretrained("FlawedLLM/BhashiniLLM")
|
13 |
inputs = tokenizer(
|