File size: 923 Bytes
2d27ac3 ab7dcb3 2d27ac3 ab7dcb3 2d27ac3 ab7dcb3 2d27ac3 ab7dcb3 2d27ac3 ab7dcb3 2d27ac3 ab7dcb3 ede1bfe 50419b4 ab7dcb3 2d27ac3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
---
language:
- en
library_name: CoreMLPipelines
license: apache-2.0
license_link: https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct/blob/main/LICENSE
pipeline_tag: text-generation
tags:
- code
- codeqwen
- chat
- qwen
- qwen-coder
---
# coreml-Qwen2.5-Coder-1.5B-Instruct-4bit
This model was converted from [Qwen/Qwen2.5-Coder-1.5B-Instruct](https://hf.co/Qwen/Qwen2.5-Coder-1.5B-Instruct) to CoreML using [coremlpipelinestools](https://github.com/finnvoor/CoreMLPipelines/tree/main/coremlpipelinestools).
### Use with CoreMLPipelines
```swift
import CoreMLPipelines
let pipeline = try await TextGenerationPipeline(
modelName: "finnvoorhees/coreml-Qwen2.5-Coder-1.5B-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("")
```
|