Update README.md
Browse files
README.md
CHANGED
@@ -33,7 +33,6 @@ import argparse
|
|
33 |
parser = argparse.ArgumentParser()
|
34 |
parser.add_argument('--temperature', type=float, default=0.5)
|
35 |
parser.add_argument('--repetition_penalty', type=float, default=1.1)
|
36 |
-
parser.add_argument('--split_num', type=int, default=0)
|
37 |
args = parser.parse_args()
|
38 |
args.bf16 = True
|
39 |
args.stream_chat = False
|
@@ -48,7 +47,7 @@ if not os.path.exists(predictions_dir):
|
|
48 |
except:
|
49 |
pass
|
50 |
|
51 |
-
filename_list = [filename for filename in os.listdir(test_data_dir) if filename.endswith(".png")
|
52 |
world_size = 1
|
53 |
model, model_args = FineTuneTestCogAgentModel.from_pretrained(
|
54 |
f"/path/to/design2code-18b-v0",
|
|
|
33 |
parser = argparse.ArgumentParser()
|
34 |
parser.add_argument('--temperature', type=float, default=0.5)
|
35 |
parser.add_argument('--repetition_penalty', type=float, default=1.1)
|
|
|
36 |
args = parser.parse_args()
|
37 |
args.bf16 = True
|
38 |
args.stream_chat = False
|
|
|
47 |
except:
|
48 |
pass
|
49 |
|
50 |
+
filename_list = [filename for filename in os.listdir(test_data_dir) if filename.endswith(".png")]
|
51 |
world_size = 1
|
52 |
model, model_args = FineTuneTestCogAgentModel.from_pretrained(
|
53 |
f"/path/to/design2code-18b-v0",
|