swift-coreml-transformers
swift-coreml-transformers copied to clipboard
Swift Core ML 3 implementations of GPT-2, DistilGPT-2, BERT, and DistilBERT for Question answering. Other Transformers coming soon!
Hi, I am working on a school project about translation tasks on iOS using Core ML. The model I am using is [opus-mt-en-zh](https://huggingface.co/Helsinki-NLP/opus-mt-en-zh.). I've already tested it on python environment...
distilbert-onnx-coreml.py "works" for BERT, but I get "Error computing NN outputs." when predicting
Hi, I used distilbert-onnx-coreml.py to convert a custom PyTorch BertForSequenceClassification model to CoreML. The conversion finishes without error. However I can't use the resulting CoreML model for prediction. The following...
I was just reading about the `past` flag, for caching state, and wondered whether it's possible to use that in CoreML? Also, is this repo still active, or has CoreML...
Command CoreMLModelCompile failed with a nonzero exit code
For documents with lots of words, BERT ends up crashing outputting the error `Fatal error: 'try!' expression unexpectedly raised an error: App.TokenizerError.tooLong("Token indices sequence length is longer than the specified...
Hi julen, first of all let me say thank you. I'm really new to ml and I'm kinda puzzling a lot of info right now and I have a little...
App looks incorrect when run on iOS 13 with default Dark mode (dark text on dark background). I added info.plist keys to force Light mode.
https://github.com/huggingface/pytorch-transformers/tree/master/examples/distillation https://medium.com/huggingface/distilbert-8cf3380435b5
Recently came across this project and found it fascinating! Is there are plan to have more direct and detailed documentation regarding setup of the app, to make getting the app...