W1:Ex2: Constrained Decoding

Hi,

I used the instructions about the outlines libraries but success rate was 0%.

I had a look at the outlines libraries but could not yet find any usable hint.

The loop in the code suggest there is an exception but I can’t edit it to look at it.

hi @jdelfosse

the constraint decoding does fail in the assignment I worked just the way it shows in your result.

this result is more of listing of issue_type the tokens cannnot produce it as error o bug report.

I did point to this error during testing, but nothing was responded to my GitHub! ticket during testing. Let me notify the staff to include atleast instructions on why the constraint decoder only produced failed.

Update:as @Tetiana_Lytvyn mentioned found the issue in the code where issue type was returning incorrect type than the constraint decoder result codes were working. Kindly wait for the team to update about the fix.

Regards
Dr. Deepti

Hello @jdelfosse , good catch and thank you for reporting this! The issue has been forwarded to the course team, the root cause has been already identified, so, I believe, we are now waiting for the fix to be applied :slightly_smiling_face: