File size: 2,051 Bytes
319e4ce
5b0cfb6
 
 
 
319e4ce
5b0cfb6
319e4ce
5b0cfb6
833c04e
5b0cfb6
 
e6f8a36
eca51d9
 
5b0cfb6
 
 
 
319e4ce
 
5b0cfb6
 
eca51d9
5b0cfb6
e6f8a36
 
eca51d9
dd3fa0d
 
5b0cfb6
833c04e
5b0cfb6
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: loopmm playground
emoji: 🔁
colorFrom: green
colorTo: gray
sdk: static
app_file: index.html
pinned: false
license: apache-2.0
short_description: Write with a small looped multimodal model in your browser
models:
- MostLime/loopmm-base
- MostLime/loopmm-sft-preview
- MostLime/loopmm-sft-v2
- MostLime/loopmm-sft-v2-ftpo
custom_headers:
  cross-origin-embedder-policy: credentialless
  cross-origin-opener-policy: same-origin
  cross-origin-resource-policy: cross-origin
---

# loopmm playground

Chat or write with loopmm, a small model that takes images and text as input. With the pretrained base model ("Base" in the Model menu), the page is a writing canvas: the model suggests how your text continues, in grey. Press Tab to take the next word or the right arrow key to take all of it. Keep typing to ignore it, or press Esc to hide it.

You can add an image above the text (with the button, by pasting it or by dropping it on the page). The model reads the image first, so a text like "A photo of" continues as a caption. The base model does not follow instructions.

Pick "Chat: SFT v2 + FTPO" in the Model menu (the default) to chat with [MostLime/loopmm-sft-v2-ftpo](https://huggingface.co/MostLime/loopmm-sft-v2-ftpo), the newest chat model: supervised fine-tuning plus one round of antidoom training against repetition loops (no RL yet). The older chat models are in the menu too. The chat model writes its thinking first, in a box that you can open and close, and decides for itself how long to think. You can add images to your messages.

The page downloads the model once (about 470 MB of ONNX files) and keeps it in your browser's cache. It runs on your computer with onnxruntime-web. Your text and images do not leave your computer.

The "Loops" slider sets how many times the model runs its 12 middle layers for each token. The model was trained with 3. Fewer loops are faster and worse.

There is also a Mac app that works offline: [Mostlime12195/loopmm-app](https://github.com/Mostlime12195/loopmm-app/releases/latest).