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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ModelSpace
/
GemmaX2-28-9B-Pretrain

Translation
Transformers
Safetensors
gemma2
text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
3

Instructions to use ModelSpace/GemmaX2-28-9B-Pretrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ModelSpace/GemmaX2-28-9B-Pretrain with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("translation", model="ModelSpace/GemmaX2-28-9B-Pretrain")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("ModelSpace/GemmaX2-28-9B-Pretrain")
    model = AutoModelForCausalLM.from_pretrained("ModelSpace/GemmaX2-28-9B-Pretrain")
  • Notebooks
  • Google Colab
  • Kaggle
GemmaX2-28-9B-Pretrain
20.3 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 26 commits
ModelSpace's picture
ModelSpace
Update README.md
4639a58 verified about 1 year ago
  • .gitattributes
    1.62 kB
    Upload main.png over 1 year ago
  • LICENSE
    103 Bytes
    Update LICENSE over 1 year ago
  • NOTICE
    247 Bytes
    Create NOTICE over 1 year ago
  • README.md
    2.35 kB
    Update README.md about 1 year ago
  • config.json
    924 Bytes
    Update config.json over 1 year ago
  • generation_config.json
    168 Bytes
    Upload 12 files over 1 year ago
  • main.png
    796 kB
    xet
    Upload main.png over 1 year ago
  • model-00001-of-00005.safetensors
    4.9 GB
    xet
    Upload 12 files over 1 year ago
  • model-00002-of-00005.safetensors
    4.95 GB
    xet
    Upload 12 files over 1 year ago
  • model-00003-of-00005.safetensors
    4.96 GB
    xet
    Upload 12 files over 1 year ago
  • model-00004-of-00005.safetensors
    3.67 GB
    xet
    Upload 12 files over 1 year ago
  • model-00005-of-00005.safetensors
    1.84 GB
    xet
    Upload 12 files over 1 year ago
  • model.safetensors.index.json
    39.1 kB
    Upload 12 files over 1 year ago
  • special_tokens_map.json
    636 Bytes
    Upload 12 files over 1 year ago
  • tokenizer.json
    17.5 MB
    xet
    Upload 12 files over 1 year ago
  • tokenizer.model
    4.24 MB
    xet
    Upload 12 files over 1 year ago
  • tokenizer_config.json
    40.5 kB
    Upload 12 files over 1 year ago