Maokui-He
Maokui-He
When an assistant message contains a reasoning_content field, _message_to_openai() in openai_compat.py serializes it as "reasoning" (not "reasoning_content") for OpenRouter compatibility: openai_compat.py, _message_to_openai() if msg.reasoning_content: d["reasoning"] = msg.reasoning_content # ← sent...
你好,请问Speech Tokenizer有开源计划吗,onnx版本推理有些限制,不太适合集成到训练
When I run the code of 'CNTK 103: Part B - Logistic Regression with MNIST' It says: Traceback (most recent call last): File "logistic_regression.py", line 10, in import cntk.tests.test_utils File...
I have knew the way to do this in brainscripts, but how to do this in python?The python API only recommends me the function 'HTKFeatureDeserializer(streams)'.I want know more about it.Is...
I saved a model z defined as follow with file name 'z.model' , then I want to load the model I trained for test. There are some problems. The model...
Taday, I install a cuda9.0 in my linux computer. When I test cntk code, it seems that GPU doesn't work. I added 'try_set_default_device(gpu(0))' in my code.But the result is: Selected...
The python API reference says " * sample: the returned schedule contains per-sample values * minibatch: the returned schedule contains per-minibatch values." I tried to define the learner with both...
您好,在使用swift框架进行LLM训练时,发现采用deepspeed zero3训练会出现严重的速度下降问题,具体来说是:在每台机器为8卡A800显卡下,同样batchsize单个batch平均耗时12机>6机>2机>1机(机器越多耗时越大,并且成倍增加)。例如batchsize为384的实验,12机(单卡batchsize为4)和6机 (单卡batchsize为8)训练同样数据量的耗时几乎相同,这里面可能存在严重的通信问题(deepspeed zero2表现正常,叠加机器数量能获得几乎成倍的速度)?您这边有遇到相关的问题吗?
你好,最近从2.*切换到3.*版本时,发现整个代码重构的程度很大,有一些老的功能找不到了。2.*版本中针对预训练的DefaultGenerationTemplate在3.*中没找到了,3.*的代码只支持chat形式的Template。请问这块是直接去掉了,还是放到的其他位置我暂时没找到:)