You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Not able to generate meaningful results on gsm8k_synthetic_cot #4
May I know what should be the correct configuration for training your model/setup (since you are using an entirely different model and eval dataset than the original paper)?
I tried your default configuration as well as increasing the training steps 10x to max_steps=10000, but the output_stage_3/checkpoint-10000 has an accuracy score of 0.006 on your gsm8k_synthetic_cot. Many of the output predictions are None such as the following. It also got the answer for your infer.py example wrong.
Input:
It was Trevor's job to collect fresh eggs from the family's 4 chickens every morning. He got 4 eggs from Gertrude and 3 eggs from Blanche. Nancy laid 2 eggs as did Martha. On the way, he dropped 2 eggs. How many eggs did Trevor have left?
Target: 9
Predicted: None
Hi @yongzx, I am aware of this issue. I simply implemented Coconut as it was described in the paper and shared this as an early version, hoping others would benefit. There may be some bugs that are not yet discovered in the modeling code
Activity
casper-hansen commentedon Jan 7, 2025
Hi @yongzx, I am aware of this issue. I simply implemented Coconut as it was described in the paper and shared this as an early version, hoping others would benefit. There may be some bugs that are not yet discovered in the modeling code
casper-hansen commentedon Jan 7, 2025
In particular, this parts right here is what I am most unsure about and is something I worked a lot on modifying.
The slicing of the last hidden state. Why not feed in the full hidden state?
OpenCoconut/opencoconut/models/qwen2.py
Line 45 in 5519bf4
Handling caching/masking in with batch size > 1 (I think this could be buggy)
OpenCoconut/opencoconut/models/qwen2.py
Lines 46 to 57 in 5519bf4
OpenCoconut/opencoconut/models/qwen2.py
Lines 257 to 290 in 5519bf4
yongzx commentedon Jan 7, 2025
Gotcha! thank you for being transparent – I will also look into this
thelongestusernameofall commentedon Jan 15, 2025
the same confusion。
Maybe we can modify and try.