metadata
language:
- en
library_name: coreml
license: other
license_link: https://huggingface.co/Qwen/Qwen2.5-3B-Instruct/blob/main/LICENSE
pipeline_tag: text-generation
tags:
- chat
- CoreMLPipelines
coreml-Qwen2.5-3B-Instruct-4bit
This model was converted from Qwen/Qwen2.5-3B-Instruct to CoreML using coremlpipelinestools.
Use with CoreMLPipelines
import CoreMLPipelines
let pipeline = try await TextGenerationPipeline(
modelName: "finnvoorhees/coreml-Qwen2.5-3B-Instruct-4bit"
)
let stream = pipeline(
messages: [[
"role": "user",
"content": "Write a poem about Ireland"
]]
)
for try await text in stream {
print(text, terminator: "")
fflush(stdout)
}
print("")