Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Top p bug fix and nice out of the box defaults#16

Merged
ilmarinen merged 3 commits into
devfrom
goode-defaults
May 25, 2021
Merged

Top p bug fix and nice out of the box defaults#16
ilmarinen merged 3 commits into
devfrom
goode-defaults

Conversation

@ilmarinen

Copy link
Copy Markdown
  1. Set temperature to be 1.0 as this prevents repetition in the generated text.
  2. Set top p to 0.8 and top k to 50 (based on experimentation and info from forums).
  3. Set max length to 70 (based on experimentation and info from forums. Nice compromise between speed and volume of text returned).

ilmarinen added 2 commits May 25, 2021 12:32
…weak the defaults to generate sentences with minimal repitition
@ilmarinen
ilmarinen requested review from jlema and nking-1 May 25, 2021 19:46
Comment thread frontend/components/TextGenerationControl.tsx Outdated
@ilmarinen
ilmarinen merged commit 56af419 into dev May 25, 2021
@jlema jlema added bug Something isn't working enhancement New feature or request labels May 25, 2021
@jlema jlema added this to the Eric Demo milestone May 25, 2021
@jlema jlema linked an issue May 25, 2021 that may be closed by this pull request
@ilmarinen
ilmarinen deleted the goode-defaults branch May 25, 2021 20:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValueError: top_p has to be a float > 0 and < 1, but is 0

3 participants