projects
/
culture.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update.
[culture.git]
/
quiz_machine.py
diff --git
a/quiz_machine.py
b/quiz_machine.py
index
9f4fe96
..
f0fb408
100755
(executable)
--- a/
quiz_machine.py
+++ b/
quiz_machine.py
@@
-27,8
+27,8
@@
def one_batch_masked_inplace_autoregression(
input,
ar_mask,
seq_logproba,
- temperature
=1.0
,
- deterministic_synthesis
=False
,
+ temperature,
+ deterministic_synthesis,
):
to_generate = (ar_mask.sum(0) > 0).nonzero()