Does transformers work for mobile apps?
Basic question.Does transformers work for mobile apps (Android, iOS)?If  I implement this in py file:from transformers import pipeline
    summarizer = pipeline("summarization", model="t5-base")
    summary_text = summarizer(text, max_length=28, min_length=5, do_sample=False)[0]['summary_text']Will this run? Or is there a special library I need to use for mobile phones?
2024-01-16T01:26:39Z
No, I think you can not install and call pytorch(not pytorch mobile) in mobile.Mobile is always second choice for ML/DL, they only consider for PC and publishing papers
2024-12-29T18:08:14Z
See this ReactNative example (using Transformers.js with Typescript):Transformer.JS in React-Native Application - #2 by sirramin