Request addition of transformers 'hallucinations' filter as per description here:
huggingface/transformers#18354
Coder provides best explanation.
Merged Jan. 23 and confirm it's included in required 'https://github.com/zphang/transformers/tree/llama_push' and 4.27.dev
Currently being used outside of text-generation-webui
Requires addition of ' encoder_repetition_penalty ' with slider value 0.8 to 2.0.
Works best with 'do_sample': True, and 'repetition_penalty': 1.03 - 1.05.
Prefer setting 1.0. A slight change to 0.98 or 1.02 will drastically change the output.
Request addition of transformers 'hallucinations' filter as per description here:
huggingface/transformers#18354
Coder provides best explanation.
Merged Jan. 23 and confirm it's included in required 'https://github.com/zphang/transformers/tree/llama_push' and 4.27.dev
Currently being used outside of text-generation-webui
Requires addition of ' encoder_repetition_penalty ' with slider value 0.8 to 2.0.
Works best with 'do_sample': True, and 'repetition_penalty': 1.03 - 1.05.
Prefer setting 1.0. A slight change to 0.98 or 1.02 will drastically change the output.