Model reference · open weights
Emu3 is an open-weight language model from BAAI, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
Emu3 Team, BAAI Below is the model card of Emu3-Chat model, which is adapted from the original Emu3 model card that you can find here. Model details Model type: Emu3 is an open-source multimodal models trained with next-token prediction task. By tokenizing images and text into a discrete space, Emu3 is trained as a single transformer from scratch on a mixture of multimodal sequences. It is an auto-regressive language model, based on the transformer architecture. Paper or resources for more information: https://github.com/baaivision/Emu3 Highlights - Emu3 is capable of generating high-quality images following the text input, by simply predicting the next vision token. The model naturally supports flexible resolutions and styles. - Emu3 shows strong vision-language understanding capabilities to see the physical world and provides coherent text responses. Notably, this capability is achieved without depending on a CLIP and a pretrained LLM. - Emu3 simply generates a video causally by predicting the next token in a video sequence, unlike the video diffusion model as in Sora. With a video in context, Emu3 can also naturally extend the video and predict what will happen next. - Emu3 outperforms several well-established task-specific models in both generation and perception tasks, surpassing flagship open models such as SDXL, LLaVA-1.6 and OpenSora-1.2, while eliminating the need for diffusion or compositional architectures. How to use the model First, make sure to have transformers = 4.48.0. Make sure also to follow the correct prompt template (USER: xxxASSISTANT:) and add the token <image to the location where you want to query images: Using pipeline: Using pure transformers: Below is an example script to run generation in float16 precision on a GPU device: Model optimization Use Flash-Attention 2 to further speed-up generation First make sure to install flash-attn. Refer to the original repository of Flash Attention regarding that package installation. Simply change the snippet above with: Citation
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | BAAI |
|---|---|
| Type | Language models |
| Parameters (lead) | 8.8B |
| Variants | 1 |
| Released | 2024-10-24 |
| Popularity | 42k downloads / month |
| Likes | 2 |
| Licence | Open weights |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
| Variant | Params | Precision | VRAM | Fits 16 GB | Weights |
|---|---|---|---|---|---|
| Emu3-Chat-hf | 8.8B | BF16 | ~20.2 GB | ✓ | Weights ↗ |
Using it via the API
Once AxForge deploys emu3 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (emu3 below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"emu3","messages":[{"role":"user","content":"Hello"}]}'
Licence
Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗