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

BlackKakapo
/
opus-mt-fi-ro

Translation
Transformers
PyTorch
Safetensors
Romanian
Finnish
marian
text2text-generation
Model card Files Files and versions
xet
Community
2

Instructions to use BlackKakapo/opus-mt-fi-ro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use BlackKakapo/opus-mt-fi-ro 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="BlackKakapo/opus-mt-fi-ro", device_map="auto")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("BlackKakapo/opus-mt-fi-ro")
    model = AutoModelForSeq2SeqLM.from_pretrained("BlackKakapo/opus-mt-fi-ro", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-fi-ro
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
BlackKakapo's picture
BlackKakapo
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
ca5baf5 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    607 Bytes
    Update README.md over 3 years ago
  • config.json
    1.39 kB
    Upload 9 files over 3 years ago
  • generation_config.json
    288 Bytes
    Upload 9 files over 3 years ago
  • model.safetensors
    298 MB
    xet
    Adding `safetensors` variant of this model (#1) over 3 years ago
  • pytorch_model.bin
    298 MB
    xet
    Upload 9 files over 3 years ago
  • source.spm
    830 kB
    Upload 9 files over 3 years ago
  • special_tokens_map.json
    74 Bytes
    Upload 9 files over 3 years ago
  • target.spm
    814 kB
    Upload 9 files over 3 years ago
  • tokenizer_config.json
    313 Bytes
    Upload 9 files over 3 years ago
  • training_args.bin
    3.58 kB
    xet
    Upload 9 files over 3 years ago
  • vocab.json
    1.54 MB
    Upload 9 files over 3 years ago