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:
# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("microsoft/Magma-8B", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Fix the code snippets
#12
by xianbao - opened
(Pdb) image.convert("RGB")
<PIL.Image.Image image mode=RGB size=1200x750 at 0x11B7D23C0>
(Pdb) image.convert("rgb")
*** ValueError: conversion from RGB to rgb not supported
(Pdb)
Thanks!
jw2yang changed pull request status to merged