Run this model with HF Jobs
Run microsoft/Magma-8B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/microsoft/Magma-8B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/microsoft/Magma-8B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use microsoft/Magma-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/Magma-8B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("microsoft/Magma-8B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
update
Browse files6 unmodified lines789101112136 unmodified lines<!-- Provide a quick summary of what the model is/does. -->A multimodal agentic foundation for multimodal understanding and agentic tasks.## Model Details6 unmodified lines78910111213141516171819202122232425262728293031323334353637386 unmodified lines<!-- Provide a quick summary of what the model is/does. --><div align="center"><h2>Magma: A Foundation Model for Multimodal AI Agents</h2>[Jianwei Yang](https://jwyang.github.io/)<sup>*</sup><sup>1</sup><sup>†</sup> [Reuben Tan](https://cs-people.bu.edu/rxtan/)<sup>1</sup><sup>†</sup> [Qianhui Wu](https://qianhuiwu.github.io/)<sup>1</sup><sup>†</sup> [Ruijie Zheng](https://ruijiezheng.com/)<sup>2</sup><sup>‡</sup> [Baolin Peng](https://scholar.google.com/citations?user=u1CNjgwAAAAJ&hl=en&oi=ao)<sup>1</sup><sup>‡</sup> [Yongyuan Liang](https://cheryyunl.github.io)<sup>2</sup><sup>‡</sup>[Yu Gu](https://users.umiacs.umd.edu/~hal/)<sup>1</sup> [Mu Cai](https://pages.cs.wisc.edu/~mucai/)<sup>3</sup> [Seonghyeon Ye](https://seonghyeonye.github.io/)<sup>4</sup> [Joel Jang](https://joeljang.github.io/)<sup>5</sup> [Yuquan Deng](https://scholar.google.com/citations?user=LTC0Q6YAAAAJ&hl=en)<sup>5</sup> [Lars Liden](https://sites.google.com/site/larsliden)<sup>1</sup> [Jianfeng Gao](https://www.microsoft.com/en-us/research/people/jfgao/)<sup>1</sup><sup>▽</sup><sup>1</sup> Microsoft Research; <sup>2</sup> University of Maryland; <sup>3</sup> University of Wisconsin-Madison<sup>4</sup> KAIST; <sup>5</sup> University of Washington<sup>*</sup> Project lead <sup>†</sup> First authors <sup>‡</sup> Second authors <sup>▽</sup> Leadership\[[arXiv Paper](https://www.arxiv.org/pdf/2502.13130)\] \[[Project Page](https://microsoft.github.io/Magma/)\] \[[Model Coming Soon!](https://github.com/microsoft/Magma)\] </div>## Model Details
README.md+26-1