aifeifei798
commited on
Commit
•
e6c21d1
1
Parent(s):
dfa995c
Upload harmful_behaviors.py
Browse files
Uncensored_Test/harmful_behaviors.py
CHANGED
@@ -15,6 +15,7 @@ train_dataset = dataset['train']
|
|
15 |
num_rows = train_dataset.num_rows
|
16 |
|
17 |
# Point to the local server
|
|
|
18 |
client = OpenAI(base_url="http://localhost:1234/v1", api_key="lm-studio")
|
19 |
|
20 |
while True:
|
|
|
15 |
num_rows = train_dataset.num_rows
|
16 |
|
17 |
# Point to the local server
|
18 |
+
# change Uncensored_Test/harmful_behaviors.py client to you Openai Server address and api_key
|
19 |
client = OpenAI(base_url="http://localhost:1234/v1", api_key="lm-studio")
|
20 |
|
21 |
while True:
|