GPT-2_Core_ML / README.md
Irfanuruchi's picture
Create README.md
6ba3c59 verified
metadata
tags:
  - gpt-2
  - coreml
  - apple
  - ios
  - macos
  - language-model
  - text-generation
  - transformer
license: mit
base_model:
  - openai/gpt-2

GPT-2 Core ML Model

GitHub Repo Model Weights License


This repository contains a version of OpenAI’s GPT-2 language model converted to Core ML format for efficient on-device inference on iOS and macOS.

Model Details

  • Base model: OpenAI GPT-2
  • Conversion tool: coremltools
  • Format: Core ML (.mlmodel)
  • Usage: Runs entirely offline on Apple devices, no data leaves the device.

License

The original GPT-2 model is licensed under the OpenAI Model License.
Do not use this model for illegal, harmful, or deceptive purposes, as outlined in the license.


Attribution

  • Convertion tools by Apple coremltools
  • GPT-2 by OpenAI (GitHub)
  • Core ML conversion by Irfan

Limitations and considerations

  • The model may generate biased or inappropriate content reflecting its training data.
  • Performance and output may differ slightly from the original GPT-2 due to conversion and optimization.
  • Intended for research, experimentation, and on-device applications on Apple platforms.
  • Not suitable for high-stakes or sensitive use cases without additional safeguards.

Contribution and feedback

Contributions, issues, and feature requests are welcome! Feel free to open a GitHub issue or pull request.