File size: 816 Bytes
2c168b4 793dc01 2c168b4 |
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 |
---
library_name: coreml
license: mit
tags:
- CoreMLPipelines
---
# coreml-DeepSeek-R1-Distill-Qwen-1.5B-4bit
This model was converted from [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://hf.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B) to CoreML using [coremlpipelinestools](https://github.com/finnvoor/CoreMLPipelines/tree/main/coremlpipelinestools).
### Use with [CoreMLPipelines](https://github.com/finnvoor/CoreMLPipelines)
```swift
import CoreMLPipelines
let pipeline = try await TextGenerationPipeline(
modelName: "finnvoorhees/coreml-DeepSeek-R1-Distill-Qwen-1.5B-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("")
```
|