Skip to content

Commit 07cc1ed

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
More experimentation on example text prompts.
1 parent 52ac35b commit 07cc1ed

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

generative-proof-of-concept-CPU-preprocessing-in-memory.py

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,12 +1190,19 @@ def test_text(test_prompt: str, max_new_tokens: int, sample_number: int, result:
11901190
# Sample prompts to test:
11911191

11921192
prompt_samples = [
1193-
"I saw the sun and it was as shining on the",
1194-
"And God said to Moses:",
1195-
"In the beginning God created the ",
1196-
"And the earth was without form, and",
1197-
"And God said, Let there be light: and there ",
1198-
"Shall we all go to the river and"
1193+
# "I saw the sun and it was as shining on the",
1194+
# "And God said to Moses:",
1195+
# "In the beginning God created the ",
1196+
# "And the earth was without form, and",
1197+
# "And God said, Let there be light: and there ",
1198+
# "Shall we all go to the river and"
1199+
"Try to",
1200+
"You must go and",
1201+
"In the beginning God created the heavens",
1202+
"The earth was formless and empty, with darkness over",
1203+
"God called the light 'day' and the darkness 'night,' marking evening and morning",
1204+
"God called the expanse 'sky,' and there was",
1205+
"The earth brought forth grass, seed-bearing"
11991206
]
12001207

12011208

0 commit comments

Comments
 (0)