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

set gpt_j_tied to true so that 20B inference works again #756

Merged
merged 1 commit into from
Dec 26, 2022

Conversation

chuanli11
Copy link
Contributor

gpt_j_tied=false will cause 20B model generate gibberish results. This is reported here and here.

The source of the problem is this commit.

To reproduce, run ./deepy.py generate.py ./configs/20B.yml

"gpt_j_tied": false

{"context": "", "text": " de de general de general de2a1a\u00ada\u00ada\u00ada\u00ada\u00ada\u00ada\u00ado\u00ado\u00ado\u00ado\u00ado\u00ado\u00ado\u00ado\u00ado\u00ado3\u00ado\u00ado3\u00ado3\u00ado3\u00ado\u00ado\u00ado\u00ado\u00ado", "length": 64, "finished": false, "message": null, "duration_seconds": 4.648434400558472}

"gpt_j_tied": true

{"context": "", "text": "Q:\n\nHow to get the value of a variable in a function in a different file?\n\nI have a file called \"main.py\" and a file called \"functions.py\".\nIn \"main.py\" I have:\nfrom functions import *\n\ndef main():\n    print", "length": 64, "finished": false, "message": null, "duration_seconds": 4.764044523239136}

Copy link
Member

@StellaAthena StellaAthena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, what an incredibly silly oversight. Thank you for chasing this down.

@StellaAthena StellaAthena merged commit 4afbaeb into EleutherAI:main Dec 26, 2022
@chuanli11
Copy link
Contributor Author

Thanks for merging it. @StellaAthena

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

2 participants