File size: 442 Bytes
65f6369
 
1671503
 
 
 
 
65f6369
1671503
afcd0a7
 
 
 
 
 
 
 
 
1671503
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
tags:
  - coreml
  - Apple
  - watchos
  - mlpackage
library_name: coreml
---

# TinyGPT2 for CoreML

This is a distilled GPT-2 model converted to CoreML as an ML Program (`.mlpackage`),
compatible with Apple Watch (watchOS 10+) and other Apple devices.

- Base model: `sshleifer/tiny-gpt2`
- Format: `.mlpackage`
- Input: tokenized text (input_ids)
- Output: logits for language modeling
- Compatible with `coremltools` and Apple Watch