Maybe you want to fine tune it and train it to provide more consistent answers in the form that you
Maybe you want to fine tune it and train it to provide more consistent answers in the form that you need?
Argument of type '"@hf/thebloke/deepseek-coder-6.7b-instruct-awq"' is not assignable to parameter of type 'BaseAiImageToTextModels'. typescript (2769) [84, 37]// @ts-expect-error@cf/mistral/mistral-7b-instruct-v0.2-lora has a context (and total limit) of ~15k tokens and you don't need a LoRA to run it.@cf/lykon/dreamshaper-8-lcmdoesn't support passing an image. try @cf/runwayml/stable-diffusion-v1-5-img2img if you want to do image-to-image.
Argument of type '"@hf/thebloke/deepseek-coder-6.7b-instruct-awq"' is not assignable to parameter of type 'BaseAiImageToTextModels'. typescript (2769) [84, 37]// @ts-expect-error@cf/mistral/mistral-7b-instruct-v0.2-lora3010: Invalid or incomplete input for the model: model returned: [request id: 41fff8e6-617c-439f-a093-f02bfa2d45bb] unexpected shape for input 'image' for model 'dreamshaper-8-lcm'. Expected [1], got [1,1048265]. @cf/lykon/dreamshaper-8-lcm@cf/runwayml/stable-diffusion-v1-5-img2imgexport const factorization = tool({
description: 'Prime factorize any number even if they are very large',
parameters: {
type: 'object',
properties: {
number: {
type: 'string',
description: 'the number to factorize'
}
},
required: ['number']
},
name: 'factorize-num',
async function({ number }) {
console.log('huh', number);
return await factorize(number);
}
});