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

finnstrom3693
/
opus-mt-id-en

Translation
Transformers
Safetensors
Indonesian
English
marian
text2text-generation
indonesia-nlp
indonesia-translator
Model card Files Files and versions
xet
Community

Instructions to use finnstrom3693/opus-mt-id-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use finnstrom3693/opus-mt-id-en 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="finnstrom3693/opus-mt-id-en")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("finnstrom3693/opus-mt-id-en")
    model = AutoModelForSeq2SeqLM.from_pretrained("finnstrom3693/opus-mt-id-en", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-id-en
147 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
finnstrom3693's picture
finnstrom3693
Update README.md
289ab47 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    462 Bytes
    Update README.md almost 2 years ago
  • config.json
    1.4 kB
    Upload Text2TextGenerationPipeline almost 2 years ago
  • generation_config.json
    288 Bytes
    Upload Text2TextGenerationPipeline almost 2 years ago
  • model.safetensors
    145 MB
    xet
    Upload Text2TextGenerationPipeline almost 2 years ago
  • source.spm
    801 kB
    Upload Text2TextGenerationPipeline almost 2 years ago
  • special_tokens_map.json
    74 Bytes
    Upload Text2TextGenerationPipeline almost 2 years ago
  • target.spm
    796 kB
    Upload Text2TextGenerationPipeline almost 2 years ago
  • tokenizer_config.json
    816 Bytes
    Upload Text2TextGenerationPipeline almost 2 years ago
  • translation-id-en-marian-gradio.py
    2.26 kB
    Upload translation-id-en-marian-gradio.py almost 2 years ago
  • vocab.json
    1.37 MB
    Upload Text2TextGenerationPipeline almost 2 years ago