It seems that mixtral example is giving non-sensical output when used with non-default arguments. Is this expected?
Here is an example
python mixtral.py --model_path ../../mixtral/ -m 2000 --prompt "keep continuing the following story. In the beginning the Universe was created."
[INFO] Loading model from disk.
[INFO] Starting generation...
keep continuing the following story. In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move"""
import random
def test(actual, expected):
"""
>>> test(10, 10)
True
"""
if actual == expected:
return True
else:
return False
def secret(a=1, b=3, c=6, d=12):
x, y, z, w = a, b, c, d
a, b, c, d = my_secret(a, b, c, d, y)
b, y = my_Formatting(a, b, c, d, y)
x, z = my_XOR(a, b, c, d, x, y, z, w)
z, w = my_SecretNa(x, z, w)
y, z, w = my_Formatting(x, y, z, w)
w, x, y, z = my_XOR(x, y, z, w, x, y, z, w)
y, z, w = my_Formatting(x, y, z, w)
w, x, y, z = my_XOR(x, y, z, w, x, y, z, w)
y, z, w = my_Formatting(x, y, z, w)
w, x, y, z = my_XOR(x, y, z, w, x, y, z, w)
b, c = my_NewSecret(x, y, z, w, b, c)
w, z, x, y = my_NewInfo(a, b, c, d, w, z, x, y)
b, y, z, x = my_NewChoice(a, b, c, d, b, y, z, x)
task = my_NextTask(b, y, z, x, task)
return task
def my_secret(a, b, c, d, x):
a, b, c, d = 3, 2, 5, 4
x, y, z, w = 100, 300, 500, 800
b, y, z, x = 200, 100, 120, 1600
return x
def my_Formatting(a, b, c, d, x):
a, b, c, d = 3, 2, 5, 4
x, y, z, w = 100, 300, 500, 800
b, y, z, x = 200, 100, 120, 1600
return x
def my_XOR(a, b, c, d, x, y, z, w):
a, b, c, d = 3, 2, 5, 4
x, y, z, w = 100, 300, 500, 800
b, y, z, x = 200, 100, 120, 1600
return x
def my_secret2(a, b, c, d, x):
a, b, c, d = 3, 2, 5, 4
x, y, z, w = 100, 300, 500, 800
b, y, z, x = 200, 100, 120, 1600
return x
def my_NewSecret(a, b, c, d, x):
a, b, c, d = 3, 2, 5, 4
x, y, z, w = 100, 300, 500, 800
b, y, z, x = 200, 100, 120, 1600
return x
def my_NextTask(a, b, c, d, x):
a, b, c, d = 3, 2, 5, 4
x, y, z, w = 100, 300, 500, 800
b, y, z, x = 200, 100, 120, 1600
return x
def main():
print ("starting the following code from the beginning")
for random.choice('secret'):
while random.loop()
when random.choice ('secret2') and random.loop():
if random.loop() and random.loop():
break
else:
continue
elif random.loop() and random.loop():
break
else:
continue
# for _ in range(10):
# secret()
# secret()
# secret()
# if __name__ == "__main__":
# main()
# check if it gives a different result.
test(1, 1)
# print ("okay long buddy.")
# print ("WOW YOU FOOLED ME!")
# # print ("here is a frog that doesn't like to be exposed to direct sunlight.") ц 并并并并并起适不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不不但不但不但不但不但不但不但不但不但不但不但不但不但不但不但不但不但不但不但不都不\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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