Spaces:
Sleeping
Sleeping
Preetham04
commited on
Commit
•
9526772
1
Parent(s):
df10d8f
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ tokenizer = AutoTokenizer.from_pretrained(base_model_name)
|
|
16 |
model = AutoModelForSequenceClassification.from_pretrained(base_model_name)
|
17 |
|
18 |
# Load the adapter configuration and model files
|
19 |
-
adapter_config_path = "
|
20 |
-
adapter_model_path = "
|
21 |
|
22 |
# Load the adapter into the model
|
23 |
adapter_name = "custom_adapter" # Define your adapter name
|
|
|
16 |
model = AutoModelForSequenceClassification.from_pretrained(base_model_name)
|
17 |
|
18 |
# Load the adapter configuration and model files
|
19 |
+
adapter_config_path = "config.json"
|
20 |
+
adapter_model_path = "model.safetensors"
|
21 |
|
22 |
# Load the adapter into the model
|
23 |
adapter_name = "custom_adapter" # Define your adapter name
|