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

mobarmg
/
Marian-en-ar

Translation
Transformers
PyTorch
Safetensors
English
Arabic
marian
text2text-generation
Trained with AutoTrain
Model card Files Files and versions
xet
Community
1

Instructions to use mobarmg/Marian-en-ar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mobarmg/Marian-en-ar 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="mobarmg/Marian-en-ar")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("mobarmg/Marian-en-ar")
    model = AutoModelForSeq2SeqLM.from_pretrained("mobarmg/Marian-en-ar")
  • Notebooks
  • Google Colab
  • Kaggle
Marian-en-ar
615 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
mobarmg's picture
mobarmg
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
3538adf about 3 years ago
  • .gitattributes
    1.62 kB
    Commit From AutoTrain about 3 years ago
  • README.md
    354 Bytes
    Update README.md about 3 years ago
  • config.json
    1.46 kB
    Commit From AutoTrain about 3 years ago
  • model.safetensors
    305 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    306 MB
    xet
    Commit From AutoTrain about 3 years ago
  • source.spm
    801 kB
    Commit From AutoTrain about 3 years ago
  • special_tokens_map.json
    74 Bytes
    Commit From AutoTrain about 3 years ago
  • target.spm
    917 kB
    Commit From AutoTrain about 3 years ago
  • tokenizer_config.json
    334 Bytes
    Commit From AutoTrain about 3 years ago
  • vocab.json
    2.24 MB
    Commit From AutoTrain about 3 years ago