alt.freeweights.text / Emu3-Chat-hf
From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject:

Emu3-Chat-hf

Date: 2026-11-15Commit: 414c0a1Signed: 2DC28CC7B26A283B ✓

Image text to text model with 8.8B parameters. Safetensors weights, 35.1 GB in all. Published by BAAI under Apache-2.0.

8.8B params35.1GBEmu3-Chat-hfsafetensorspermissive
FactsParams8.8BSize35.1 GBFormatssafetensorsTaskimage text to textLicenseApache-2.0From sourcepermissive
$ fw get BAAI/Emu3-Chat-hf
# manifest sha256 1d3038b96b06… · 35.1 GB · 21 files
$ fw verify ./Emu3-Chat-hf BAAI/Emu3-Chat-hf
From sourceHosted (signed)BAAI/Emu3-Chat-hfLast check: 2026-11-15 02:42 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInferKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowdocTRDSPyEasyOCREnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonolmOCROpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsSuryaVaneXGrammar

Overview

Size
35.1 GB
Weights
35.1 GB (safetensors)
Parameters
8.8B
Formats
safetensors
Task
image text to text
License
Apache-2.0 (permissive)
Files
21, each with a sha256
Publisher
BAAI
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:42 UTCpassed

Model card

From the publisher at commit 414c0a1. Shown as plain text with links; images open at the publisher.

Emu3: Next-Token Prediction is All You Need#

Emu3 Team, BAAI

Image: arch.

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:#
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="BAAI/Emu3-Chat-hf")
messages = [
    {
      "role": "user",
      "content": [
          {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"},
          {"type": "text", "text": "What does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud"},
        ],
    },
]

out = pipe(text=messages, max_new_tokens=20)
print(out)
>>> [{'input_text': [{'role': 'user', 'content': [{'type': 'image', 'url': 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg'}, {'type': 'text', 'text': 'What does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud'}]}], 'generated_text': 'Lava'}]
Using pure transformers:#

Below is an example script to run generation in float16 precision on a GPU device:

import requests
from PIL import Image

import torch
from transformers import AutoProcessor, Emu3ForConditionalGeneration

model_id = "BAAI/Emu3-Chat-hf"
model = Emu3ForConditionalGeneration.from_pretrained(
    model_id, 
    torch_dtype=torch.float16, 
    low_cpu_mem_usage=True,
    device_map="cuda:0",
)

processor = AutoProcessor.from_pretrained(model_id)

# Define a chat history and use `apply_chat_template` to get correctly formatted prompt
# Each value in "content" has to be a list of dicts with types ("text", "image") 
conversation = [
    {

      "role": "user",
      "content": [
          {"type": "image", "url": "http://images.cocodataset.org/val2017/000000039769.jpg"},
          {"type": "text", "text": "What are these?"},
        ],
    },
]
inputs_dict = processor.apply_chat_template(conversation, add_generation_prompt=True, tokenize=True, return_dict=True)
inputs_dict = inputs_dict.to(0, torch.float16)

output = model.generate(**inputs_dict, max_new_tokens=50, do_sample=False)
print(processor.decode(output[0][2:], skip_special_tokens=True))
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:

model = Emu3ForConditionalGeneration.from_pretrained(
    model_id, 
    torch_dtype=torch.float16, 
    low_cpu_mem_usage=True,
+   attn_implementation="flash_attention_2",
    device_map="cuda:0",
)

Citation#

@misc{wang2024emu3nexttokenpredictionneed,
      title={Emu3: Next-Token Prediction is All You Need}, 
      author={Xinlong Wang and Xiaosong Zhang and Zhengxiong Luo and Quan Sun and Yufeng Cui and Jinsheng Wang and Fan Zhang and Yueze Wang and Zhen Li and Qiying Yu and Yingli Zhao and Yulong Ao and Xuebin Min and Tao Li and Boya Wu and Bo Zhao and Bowen Zhang and Liangdong Wang and Guang Liu and Zheqi He and Xi Yang and Jingjing Liu and Yonghua Lin and Tiejun Huang and Zhongyuan Wang},
      year={2024},
      eprint={2409.18869},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2409.18869}, 
}

Files

21 files · 35.1 GBWeights 35.1 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 21 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md5.47 KB50f5b96108ce24b53a5e3d30b1f4050fc7ba7f81f84704ba9d923dd745ae9ce3
chat_template.json699 Bb9ec12b63e10f0c7f7132f6e7abe2d8ec9c3df6a0faa97a745480ae731416d85
config.json6.55 MB3e721dc9affcb1ecf5fd07eaf2023cba794d6e7033ba7fe5fe7a5ce6aed1a2d7
generation_config.json161 Bb098c1ad40696a1aa90b71e418b10363176d43e2da3dd906155263948eac6be7
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00008.safetensors4.94 GBb7fbe951ec7c04a3b30dd36eea876056ef259467ea3e9b2b3b69a9b786f019b9
model-00002-of-00008.safetensors4.83 GB610542cce6cd19b6d4f8bd26864b3eef0e3c8ae5edc645f88520e31cbe72c2f0
model-00003-of-00008.safetensors5.00 GBbc0f06b39828d61e8f1a02aa1ac6a67931ca0b1272b87377f5db5786de2b6add
model-00004-of-00008.safetensors5.00 GB0efd7a3e74d8a42cb196cbb8fcf9ce8f4ec4682730749aeaa0bca5b0a155e93a
model-00005-of-00008.safetensors4.83 GB3c14a34eeef47b475968ee013fea046b01c29fdc12828979d812524bc4b474ff
model-00006-of-00008.safetensors5.00 GB63e8a5e8ecad117b3054d3c55c1d8ee22bf44e2cd24b50625c8188813c57c92d
model-00007-of-00008.safetensors5.00 GB6624fed3f3931ccd1168d58190599c06048bdbd61d40f48bc99a4b9ba952cf12
model-00008-of-00008.safetensors450 MB332c5b0d8c78f7b1d963adbd1f2c64c684a5f47aee4e1a83ff65675b915d7c50
model.safetensors.index.json74.8 KB2fcf2acce82e29385d5d66cadbc81615991d5fc78249f60c5cae8077db0c16db
preprocessor_config.json611 B031408d84864d4f797adf24472c445d8fedebb8a95bc92344a6711a28aff2977
processor_config.json69 B9d13e0c50db133e9faa5d58f87f973a63efac0eeeeb591e46185a0ee90c8ab00
special_tokens_map.json643 Bd1ba74550498b07dceb8393b56a44f74c4a8aa55e53701fa28501688c2eb9b3f
tokenizer.json19.4 MBc37805242c128a8cef44a0eb543fe94a6e6b0b82ff10588da527893171ae7cff
tokenizer_config.json6.26 MBaeafa483ba2596acfea4c944db208c366f2e2a797e5c5021ab5a7b93ddc3fec8
vocab.json3.86 MB1d01d21a55f610550f3d170d0fe5725dfd2170acf5dccbf72ef4c284a515b090
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
414c0a163e pinned now2026-11-15 02:42 UTC21 files · 35.1 GB

Use it

$ fw get BAAI/Emu3-Chat-hf
# manifest sha256 1d3038b96b06… · 35.1 GB · 21 files
$ fw verify ./Emu3-Chat-hf BAAI/Emu3-Chat-hf
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/BAAI/Emu3-Chat-hf.json --dir ./Emu3-Chat-hf $ python3 fw.py verify ./Emu3-Chat-hf ./BAAI__Emu3-Chat-hf.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/Emu3-Chat-hf --revision 414c0a163edad789827ee473a71b75c7de546347 --local-dir ./Emu3-Chat-hf
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForImageTextToText, AutoProcessor processor = AutoProcessor.from_pretrained("BAAI/Emu3-Chat-hf", revision="414c0a163edad789827ee473a71b75c7de546347") model = AutoModelForImageTextToText.from_pretrained("BAAI/Emu3-Chat-hf", revision="414c0a163edad789827ee473a71b75c7de546347", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve BAAI/Emu3-Chat-hf --revision 414c0a163edad789827ee473a71b75c7de546347

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
50f5b96108ce24b53a5e3d30b1f4050fc7ba7f81f84704ba9d923dd745ae9ce3
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject: Emu3-Chat-hfDate: 2026-11-15Commit: 414c0a1Signed: 2DC28CC7B26A283B ✓
Upstream
BAAI/Emu3-Chat-hf
Pinned commit
414c0a163edad789827ee473a71b75c7de546347
Manifest
Emu3-Chat-hf.json · .minisig
Manifest sha256
1d3038b96b06175328a02d29492a578b64f118e4cbd8da85ac9df5bb32a3e1e4
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:42 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/Emu3-Chat-hf.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/Emu3-Chat-hf.json.minisig $ minisign -Vm Emu3-Chat-hf.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/Emu3-Chat-hf
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Emu3-Chat-hf.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B