projects
/
culture.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'dev'
[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,
input,
ar_mask,
seq_logproba,
- temperature
=1.0
,
- deterministic_synthesis
=False
,
+ temperature,
+ deterministic_synthesis,
):
to_generate = (ar_mask.sum(0) > 0).nonzero()
):
to_generate = (ar_mask.sum(0) > 0).nonzero()