IT & AI Technology

[ChatStream] Pin the Revision to Guard Against Unexpected Changes in Input/Output Prompts

Daily Dev Tips

[ChatStream] Pin the Revision to Guard Against Unexpected Changes in Input/Output Prompts

Hello, this is the Product Development Department at Qualiteg Inc. During Japan's Golden Week holidays, the tokenizer.json of microsoft/Phi-3-mini-128k-instruct was changed. As a result, prompt parsing failed and chat streaming stopped working. Specifically, the following change was made: https://huggingface.co/microsoft/Phi-3-mini-128k-instruct/commit/8a362e755d2faf8cec2bf98850ce2216023d178a Originally,

By Qualiteg Product Development Team
Cross-Entropy Explained, Part 4: Cross-Entropy for Multi-Class Classification (Single Sample)

AI Mathematics

Cross-Entropy Explained, Part 4: Cross-Entropy for Multi-Class Classification (Single Sample)

Good morning! This is the Research Department at Qualiteg Inc. In this installment, we will calculate the cross-entropy used for multi-class classification. Chapter 5: Calculating Cross-Entropy for Multi-Class Classification (Single-Sample Version) First, let us restate the cross-entropy function (single-sample version). $$ \ - \log L=\sum_{k=1}^{K} t_{k} \log

By Qualiteg Research Team