"vscode:/vscode.git/clone" did not exist on "1a5c500f1232f5fd21caeab918b1534622926029"
Unverified Commit 494e96d8 authored by Joao Gante's avatar Joao Gante Committed by GitHub
Browse files

Generate: logits processors are doctested and fix broken doctests (#25692)



* shorter example

* add logits processors to doctests

* remove file from conflict?

* tmp commit

* Fix broken tests; Shorter sampling tests

* Apply suggestions from code review
Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>

---------
Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
parent c6a84b72
......@@ -371,7 +371,6 @@ src/transformers/generation/beam_constraints.py
src/transformers/generation/beam_search.py
src/transformers/generation/flax_logits_process.py
src/transformers/generation/flax_utils.py
src/transformers/generation/logits_process.py
src/transformers/generation/stopping_criteria.py
src/transformers/generation/streamers.py
src/transformers/generation/tf_logits_process.py
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment