exporters
exporters copied to clipboard
Export Hugging Face models to Core ML and TensorFlow Lite
Recently onnx export for AutoModelForVision2Seq has been added: https://github.com/huggingface/transformers/pull/19254 I would be really interested in converting this topology to coreml. Is this feature planned for coreml as well? Thanks!
Just FYI, the blocker (`glu` op) of exporting [Speech2Text](https://huggingface.co/docs/transformers/main/en/model_doc/speech_to_text) model has been added into coremltools in [this PR](https://github.com/apple/coremltools/pull/1614).
What would it take to convert an entire pipeline to a coreml model? For instance, I have saved the stable-diffusion checkpoint, and several of the models have their own configs,...
related to internal discussion: https://huggingface.slack.com/archives/C03AHFPCWHM/p1662407936101009
I get a gelu Value Error when trying to convert a distilbert-base-uncased-squad2' model. I also get the same error with the full Bert model bert-large-cased-whole-word-masking-finetuned-squad. It is that the CoreML...
Similar to #61, my exporter process is being killed. I'd like to verify this is a resource constraint, and not an issue in project. I am running `python3 -m exporters.coreml...
This tool is amazing, having tried scripting using the coreml library by hand, running into all kinds of fun issues, then trying this and it all being orchestrated/abstracted for you,...
Hi! I'm converting the Microsoft's Phi-2 model to use with `swift-transformers`. The conversion process is actually very seamless: ``` from transformers import AutoTokenizer, AutoModelForCausalLM from exporters.coreml import CoreMLConfig from exporters.coreml...
I was planning to convert `Voicelab/vlt5-base-keywords` to coreml model. Everything went well, but I got an error in the end: ``` Validating Core ML model... -[✓] Core ML model output...
Hello HuggingFace and Its Wonderful Employees!!, I was just checking if It is possible for me to convert `"https://huggingface.co/microsoft/kosmos-2-patch14-224"` model to support coreml so that I can use it on...