Open MRYingLEE opened 1 week ago
Deepspeed supports lm-format-enforcer(https://github.com/noamgat/lm-format-enforcer) through prefix_allowed_tokens_fn. An example is https://github.com/noamgat/lm-format-enforcer?tab=readme-ov-file#basic-tutorial. So, I am sure DeepSpeed supports structured output.
So far, I didn't find such a kind of example with DeepSpeed-MII.
Can someone clarify whether DeepSpeed-MII has structured output support built-in?
Thank you in advance,
Deepspeed supports lm-format-enforcer(https://github.com/noamgat/lm-format-enforcer) through prefix_allowed_tokens_fn. An example is https://github.com/noamgat/lm-format-enforcer?tab=readme-ov-file#basic-tutorial. So, I am sure DeepSpeed supports structured output.
So far, I didn't find such a kind of example with DeepSpeed-MII.
Can someone clarify whether DeepSpeed-MII has structured output support built-in?
Thank you in advance,