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
Commit History
-
Update README.md
Verified signaturee16c0b3
-
remove dependencies on deepspeed and wandb
6a828c2 -
update
f7db9ca -
update
5e21a94 -
update
018fbe3 -
update
2635739 -
update
1f82f11 -
update
fac8844 -
update
1e19458 -
add links
a7aa66e -
update readme
ce7ba42 -
Update README.md
Verified signature65011c6 -
update
912c4bd -
update
0583f08 -
update
3fe01ed -
add modeling_magma
18e9ab4 -
update
25537d2 -
add tokenizer
4342ccf -
Upload processing_magma.py
Verified signature71c922f -
Upload image_processing_magma.py
Verified signature58f2b4f -
Update preprocessor_config.json
Verified signatured2d3a96 -
Upload configuration_magma.py
Verified signaturec5e6f8f -
Update config.json
Verified signaturec375340 -
Upload preprocessor_config.json
Verified signaturee991434 -
Update README.md
Verified signature75a6754 -
Upload MagmaForConditionalGeneration
Verified signature0f0e2e4 -
initial commit
Verified signature6522cf9