Fix and improve CTRL doctests #16573
Improve CTRL doctests
93629f4b
Fix `CTRLForSequenceClassification` flakiness with inconsistent losses
892bf2ce
Remove unused
f26b6f61
Fixup
578e07a7
Add CTRL to documentation_tests.txt
933d939b
Fix control code not being first
6c3bef44
Add output assertions
c2ea83bf
Change from sshleifer/tiny-ctrl -> ctrl
08acd24b
Run `make fixup`
86866565
apply `list` to output logits shape for clarity
3841fd7d
Reduce output loss precision to make assertion more robust
cd8989ea
Add assertion of control code being first
e7b14ad6
Fix docstyle
a6e773e3
upper case sentence following control code
17554b0d
Weird bug fixes
c82f0e31
Add a better generation example
dddc87c9
ydshieh
approved these changes
on 2022-04-12
Merge branch 'main' into fix-ctrl-doctest-failures
5d3ca24a
ydshieh
merged
0235bc57
into main 4 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub