Thanks, Ziqiao. I tried the plain-text version, and on the general model, it does get past the refusal. I've filed FB25615990 with a self-contained repro.
Results on a MacBook Pro (M3 Max), macOS 27.2.1, AFM 3 Core Advanced, with a fresh session per request. "7 of 7" means 2 greedy runs and 5 with default sampling.
Grief sentence, guided (generating: SafetyLabel.self): refused in every run:
with your instructions: 7 of 7
with my original instructions: 7 of 7
with my classifier's calibrated label descriptions: 7 of 7
with permissiveContentTransformations guardrails: 2 of 2, greedy
on .contentTagging: 2 of 2, greedy
Grief sentence, plain text:
Your instructions: safe, 7 of 7
Same, with permissiveContentTransformations: safe, 7 of 7
My calibrated label descriptions, where sensitive reads "Topic is sensitive (health, grief, money, identity) but content is appropriate": sensitive, 7 of 7
.contentTagging: still refused, 7 of 7
Little Women review (Book Tracker sample): tagging into the @Generable tag array was refused on both .general and .contentTagging. In plain text, it got tags on both models in every run, for example "literary-fiction, coming-of-age, emotional-arc, family-drama, bittersweet".
So on the general model, the refusal comes from the guided request, not from the text: the same instructions get an answer once the schema is gone. Plain text works as a fallback, but then the app has to parse the reply and check that it's one of the labels, which is what guided generation was doing.
Two follow-up questions, if you know:
Is guided generation expected to make the model more likely to refuse, or is this a problem in how the refusal is decided?
Should .contentTagging refuse this sentence even in plain text, given that classification is the use case it's for?
Topic:
Machine Learning & AI
SubTopic:
Foundation Models