this GA model is a night mare, unstable and truncate input unexpectedly
this GA model is a night mare, unstable and truncate input unexpectedly
AI processing failed: ${error.message},@cf/qwen/qwen1.5-14b-chat-awq returning blank responses@hf/meta-llama/meta-llama-3-8b-instruct is returning the prompt in the response with these tags? Previously it appeared the typical behaviour was to return the actual response which in our scenario would include all text excluding <|begin_of_text|><|start_header_id|>system<|end_header_id|>\n\nGenerate a joke from the users response.<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n. Can we expect such inconsistencies in a non-beta model? 
source_lang acts more as a suggestion than a rule. Not sure if this is a Cloudflare or a Whisper thing, but figured I'd ask. Relevant snippet: @hf/meta-llama/meta-llama-3-8b-instruct to intermittently return blank responses?AI processing failed: ${error.message}@cf/qwen/qwen1.5-14b-chat-awq"result":{"response":""},"success":true,"errors":[],"messages":[]}
{"result":{"response":""},"success":true,"errors":[],"messages":[]}
{"result":{"response":""},"success":true,"errors":[],"messages":[]}
{"result":{"response":""},"success":true,"errors":[],"messages":[]}
{"result":{"response":""},"success":true,"errors":[],"messages":[]}@hf/meta-llama/meta-llama-3-8b-instruct@hf/meta-llama/meta-llama-3-8b-instruct<|begin_of_text|><|start_header_id|>system<|end_header_id|>\n\nGenerate a joke from the users response.<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\nsource_langconst inputs = {
audio: [...new Uint8Array(arrayBuffer)],
source_lang: 'tr',
target_lang: 'tr'
};
const transcriptionResponse = await env.AI.run('@cf/openai/whisper', inputs); const aiResponse = await c.env.AI.run("@hf/meta-llama/meta-llama-3-8b-instruct", {
max_tokens: 140,
messages: [
{
role: "system",
content: `Generate a joke from the users response.`,
},
],
});{
"response": "<|begin_of_text|><|start_header_id|>system<|end_header_id|>\n\nGenerate a joke from the users response.<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\nI'd love to! Please provide a topic, a setup, or a pun that you'd like me to build upon, and I'll do my best to create a joke for you.\n\n(Note: You can start with something as simple as a word, a phrase, or a concept, and I'll work with it to create a joke.)"
}