Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • 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
304 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
subham92's picture
subham92
Added model
d8815c1 over 5 years ago
  • .gitattributes
    345 Bytes
    initial commit over 5 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
  • 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