On-device AI Playground for Firefox 作者: Kamil Dzieniszewski
Try every task of Firefox's experimental on-device AI API for extensions (browser.trial.ml) in one page: classification, NER, Q&A, summarization, translation, text generation, embeddings. Models run locally; nothing is sent to a server.
1 个用户1 个用户
扩展元数据
关于此扩展
A developer playground for Firefox's WebExtensions AI API (browser.trial.ml). Pick a task, edit the input, and run it — the add-on shows the model download progress, the result and the raw output, plus the code to call it from your own extension.
TASKS
• Zero-shot classification (incl. the multilingual mDeBERTa model Comment Vibe uses)
• Text classification (sentiment)
• Token classification (named entities)
• Question answering
• Fill mask
• Summarization
• Translation
• Text-to-text generation (Flan-T5)
• Text generation (distilGPT-2)
• Feature extraction (embeddings, with cosine similarity)
HOW IT WORKS
Everything runs on your device through Firefox's own AI runtime. Each model is downloaded once from Mozilla's model hub or the Mozilla/Xenova organisations on Hugging Face (tens to hundreds of MB) and cached; the "Delete downloaded models" button removes them. Your input text never leaves the browser. No account, no analytics.
GOOD TO KNOW
• Firefox 134+ on desktop. The AI API is experimental; it is on by default since Firefox 140.
• If you blocked AI features in Settings → AI controls (Firefox 148+), allow them again: that also switches off the AI API for add-ons.
• Firefox allows one AI engine per add-on run, so switching tasks reloads the add-on and reopens the page on the new task.
• The interface is in Polish.
Source code: https://github.com/dzienisz/comment-vibe/tree/main/playground-firefox
TASKS
• Zero-shot classification (incl. the multilingual mDeBERTa model Comment Vibe uses)
• Text classification (sentiment)
• Token classification (named entities)
• Question answering
• Fill mask
• Summarization
• Translation
• Text-to-text generation (Flan-T5)
• Text generation (distilGPT-2)
• Feature extraction (embeddings, with cosine similarity)
HOW IT WORKS
Everything runs on your device through Firefox's own AI runtime. Each model is downloaded once from Mozilla's model hub or the Mozilla/Xenova organisations on Hugging Face (tens to hundreds of MB) and cached; the "Delete downloaded models" button removes them. Your input text never leaves the browser. No account, no analytics.
GOOD TO KNOW
• Firefox 134+ on desktop. The AI API is experimental; it is on by default since Firefox 140.
• If you blocked AI features in Settings → AI controls (Firefox 148+), allow them again: that also switches off the AI API for add-ons.
• Firefox allows one AI engine per add-on run, so switching tasks reloads the add-on and reopens the page on the new task.
• The interface is in Polish.
Source code: https://github.com/dzienisz/comment-vibe/tree/main/playground-firefox
评分 0(1 位用户)
权限与数据
更多信息