Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

microsoft
/
Magma-8B

Robotics
Transformers
Safetensors
magma
text-generation
custom_code
Model card Files Files and versions
xet
Community
20

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, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Magma-8B
Ctrl+K
Ctrl+K
  • 7 contributors
History: 45 commits
xianbao's picture
xianbao
Fix the code snippets
e4dd8d2 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    27.8 kB
    Fix the code snippets over 1 year ago
  • config.json
    4.72 kB
    remove abundant contents over 1 year ago
  • configuration_magma.py
    7.6 kB
    Upload configuration_magma.py over 1 year ago
  • generation_config.json
    147 Bytes
    Upload MagmaForConditionalGeneration over 1 year ago
  • image_processing_magma.py
    11.2 kB
    update over 1 year ago
  • image_tower_magma.py
    15.1 kB
    remove .transformer over 1 year ago
  • model-00001-of-00004.safetensors
    4.98 GB
    xet
    remove abundant contents over 1 year ago
  • model-00002-of-00004.safetensors
    5 GB
    xet
    Upload MagmaForConditionalGeneration over 1 year ago
  • model-00003-of-00004.safetensors
    4.92 GB
    xet
    Upload MagmaForConditionalGeneration over 1 year ago
  • model-00004-of-00004.safetensors
    2.91 GB
    xet
    Upload MagmaForConditionalGeneration over 1 year ago
  • model.safetensors.index.json
    70.6 kB
    remove abundant contents over 1 year ago
  • modeling_magma.py
    75.6 kB
    remove abundant contents over 1 year ago
  • preprocessor_config.json
    480 Bytes
    Update preprocessor_config.json over 1 year ago
  • processing_magma.py
    7.65 kB
    Upload processing_magma.py over 1 year ago
  • special_tokens_map.json
    434 Bytes
    add tokenizer over 1 year ago
  • tokenizer.json
    9.09 MB
    add tokenizer over 1 year ago
  • tokenizer_config.json
    52 kB
    add tokenizer over 1 year ago