Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

63 set right temp #65

Merged
merged 21 commits into from
Jun 30, 2023
Merged

63 set right temp #65

merged 21 commits into from
Jun 30, 2023

Conversation

moneill0
Copy link
Contributor


Status

READY

Description

When the decoding mode is set to sampling, it isn't compatible with temperature=0. Set the temperature to 0.05 instead so it is compatible while still close to 0. I checked all other examples to confirm this is only the case in these 2 files, and confirmed that the greedy method is not paired with the parameters of top_k , top_p , seed , and temperature. When temperature is not set for a sample method parameter, the default is 1.

Impacted Areas in Library

User examples

Which issue(s) does this pull-request fix?

Closes: #63

Any special notes for your reviewer?


Checklist

  • Automated tests exist
  • Updated Package Requirements (if required, and with maintainers' approval)
  • Local unit tests performed
  • Documentation exists link
  • Local pre-commit hooks performed
  • Desired commit message set as PR title and description set above
  • Link to relevant GitHub issue provided

vedem1192 and others added 6 commits June 21, 2023 12:10
* Informative error messages in async generator and type change in GenAI exception (IBM#57)

* update greedy examples removing incompatible params (IBM#59)

* Fix/setup cfg (IBM#49)

* fix: including README in pypi deployment

* fix: adding build dependency and changing workflow to use it


Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
Co-authored-by: Mírian Silva <mirianfrsilva@ibm.com>
Co-authored-by: James Sutton <1068763+jpwsutton@users.noreply.github.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
@coveralls
Copy link

coveralls commented Jun 29, 2023

Pull Request Test Coverage Report for Build 5424041787

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.659%

Totals Coverage Status
Change from base Build 5379768299: 0.0%
Covered Lines: 1223
Relevant Lines: 1292

💛 - Coveralls

jpwsutton and others added 15 commits June 29, 2023 15:08
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: Mairead O'Neill <moneill@ibm.com>
Signed-off-by: James Sutton <jsutton@li-dcf9314c-2cb7-11b2-a85c-ee3a6b9d026b.ibm.com>
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
- Fixed spellings on examples
- Added API_URL examples to README

Contributes to: IBM#24

Signed-off-by: Ja Young Lee <younglee@ibm.com>
- fixed wrong link on the documentation

Contributes to: IBM#24

Signed-off-by: Ja Young Lee <younglee@ibm.com>
- Fixed wrong links on documentations

Contributes to: IBM#24

Signed-off-by: Ja Young Lee <younglee@ibm.com>
Co-authored-by: Ja Young Lee <younglee@ibm.com>
* Informative error messages in async generator and type change in GenAI exception (IBM#57)

* update greedy examples removing incompatible params (IBM#59)

* Fix/setup cfg (IBM#49)

* fix: including README in pypi deployment

* fix: adding build dependency and changing workflow to use it


Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
Co-authored-by: Mírian Silva <mirianfrsilva@ibm.com>
Co-authored-by: James Sutton <1068763+jpwsutton@users.noreply.github.com>
@vedem1192 vedem1192 merged commit 65835f2 into IBM:develop Jun 30, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants