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

ikeno-ada
/
madlad400-3b-mt-bitsandbytes-4bit

Translation
Transformers
Safetensors
JAX
t5
text2text-generation
text-generation-inference
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community
1

Instructions to use ikeno-ada/madlad400-3b-mt-bitsandbytes-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ikeno-ada/madlad400-3b-mt-bitsandbytes-4bit 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="ikeno-ada/madlad400-3b-mt-bitsandbytes-4bit")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("ikeno-ada/madlad400-3b-mt-bitsandbytes-4bit")
    model = AutoModelForSeq2SeqLM.from_pretrained("ikeno-ada/madlad400-3b-mt-bitsandbytes-4bit")
  • Notebooks
  • Google Colab
  • Kaggle
madlad400-3b-mt-bitsandbytes-4bit
4.17 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
ikeno-ada's picture
ikeno-ada
Update README.md
d30c9c2 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    9.03 kB
    Update README.md about 2 years ago
  • config.json
    1.33 kB
    Upload T5ForConditionalGeneration about 2 years ago
  • generation_config.json
    142 Bytes
    Upload T5ForConditionalGeneration about 2 years ago
  • model.safetensors
    4.17 GB
    xet
    Upload T5ForConditionalGeneration about 2 years ago
  • special_tokens_map.json
    414 Bytes
    Upload tokenizer about 2 years ago
  • spiece.model
    4.43 MB
    xet
    Upload tokenizer about 2 years ago
  • tokenizer_config.json
    858 Bytes
    Upload tokenizer about 2 years ago