Skip to content

Fixing improper Initialization of the target_embedding variable#36

Open
AshTal-IP wants to merge 2 commits into
facebookresearch:mainfrom
AshTal-IP:main
Open

Fixing improper Initialization of the target_embedding variable#36
AshTal-IP wants to merge 2 commits into
facebookresearch:mainfrom
AshTal-IP:main

Conversation

@AshTal-IP
Copy link
Copy Markdown

It should have been target_id instead of token_id in line 153 of run.py to properly initialize embeddings of new tokens with that of "<<"

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 1, 2025
@AshTal-IP AshTal-IP closed this Jun 1, 2025
@AshTal-IP AshTal-IP reopened this Jun 1, 2025
@AshTal-IP AshTal-IP closed this Jun 1, 2025
@AshTal-IP AshTal-IP reopened this Jun 2, 2025
@AshTal-IP
Copy link
Copy Markdown
Author

I apologize for the continuous opening and closing of this pull requests.
There was issue with my laptop that I was facing.

Please still consider this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants