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

subham92
/
translation_model_by_subham

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

Instructions to use subham92/translation_model_by_subham with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use subham92/translation_model_by_subham 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="subham92/translation_model_by_subham")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("subham92/translation_model_by_subham")
    model = AutoModelForSeq2SeqLM.from_pretrained("subham92/translation_model_by_subham")
  • Notebooks
  • Google Colab
  • Kaggle
translation_model_by_subham
605 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
0e030c8 almost 3 years ago
  • .gitattributes
    399 Bytes
    Adding `safetensors` variant of this model almost 3 years ago
  • README.md
    71 Bytes
    Added README over 5 years ago
  • config.json
    1.15 kB
    Added model over 5 years ago
  • metadata.json
    1.09 kB
    Added model over 5 years ago
  • model.safetensors
    301 MB
    xet
    Adding `safetensors` variant of this model almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    301 MB
    xet
    Added model over 5 years ago
  • source.spm
    832 kB
    Added model over 5 years ago
  • target.spm
    790 kB
    Added model over 5 years ago
  • tokenizer_config.json
    44 Bytes
    Added model over 5 years ago
  • vocab.json
    1.38 MB
    Added model over 5 years ago