coreml-Llama-3.2-3B-Instruct-4bit

This model was converted from meta-llama/Llama-3.2-3B-Instruct to CoreML using coremlpipelinestools.

Use with CoreMLPipelines

import CoreMLPipelines

let pipeline = try await TextGenerationPipeline(
    modelName: "finnvoorhees/coreml-Llama-3.2-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("")
Downloads last month
8
Inference Examples
Inference API (serverless) does not yet support coreml models for this pipeline type.

Collection including finnvoorhees/coreml-Llama-3.2-3B-Instruct-4bit