Spaces:
Running
Running
daydayup1225
commited on
Commit
·
0b7aaec
1
Parent(s):
0932029
Update app.py
Browse files
app.py
CHANGED
@@ -21,10 +21,11 @@ logging.basicConfig(
|
|
21 |
# base_model = "decapoda-research/llama-7b-hf"
|
22 |
# adapter_model = "project-baize/baize-lora-7B"
|
23 |
|
24 |
-
base_model = "facebook/opt-1.3b"
|
25 |
# adapter_model = "msuhail97/opt-1.3b-lora"
|
26 |
# tokenizer, model, device = load_tokenizer_and_model(base_model, adapter_model)
|
27 |
|
|
|
28 |
# finetune_model_path = "/home2/xqchang/Chat-web/ft_models/ft-opt-1.3b"
|
29 |
tokenizer, model, device = load_finetune_tokenizer_and_model(base_model)
|
30 |
|
|
|
21 |
# base_model = "decapoda-research/llama-7b-hf"
|
22 |
# adapter_model = "project-baize/baize-lora-7B"
|
23 |
|
24 |
+
# base_model = "facebook/opt-1.3b"
|
25 |
# adapter_model = "msuhail97/opt-1.3b-lora"
|
26 |
# tokenizer, model, device = load_tokenizer_and_model(base_model, adapter_model)
|
27 |
|
28 |
+
base_model = "facebook/opt-350m"
|
29 |
# finetune_model_path = "/home2/xqchang/Chat-web/ft_models/ft-opt-1.3b"
|
30 |
tokenizer, model, device = load_finetune_tokenizer_and_model(base_model)
|
31 |
|