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

Tritkoman
/
EN-ROM

Translation
Transformers
PyTorch
English
Hindi
mt5
text2text-generation
Trained with AutoTrain
Model card Files Files and versions
xet
Community
2

Instructions to use Tritkoman/EN-ROM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Tritkoman/EN-ROM 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="Tritkoman/EN-ROM")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Tritkoman/EN-ROM")
    model = AutoModelForSeq2SeqLM.from_pretrained("Tritkoman/EN-ROM")
  • Notebooks
  • Google Colab
  • Kaggle
EN-ROM
9.85 GB
Ctrl+K
Ctrl+K
History: 3 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
8bfc8d1 almost 3 years ago
  • .gitattributes
    1.36 kB
    Adding `safetensors` variant of this model almost 3 years ago
  • README.md
    365 Bytes
    Commit From AutoTrain almost 4 years ago
  • config.json
    745 Bytes
    Commit From AutoTrain almost 4 years ago
  • model.safetensors
    4.92 GB
    xet
    Adding `safetensors` variant of this model almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    4.92 GB
    xet
    Commit From AutoTrain almost 4 years ago
  • sample_input.pkl

    Detected Pickle imports (2)

    • "transformers.tokenization_utils_base.BatchEncoding",
    • "tokenizers.Encoding"

    How to fix it?

    763 Bytes
    xet
    Commit From AutoTrain almost 4 years ago
  • special_tokens_map.json
    65 Bytes
    Commit From AutoTrain almost 4 years ago
  • spiece.model
    4.31 MB
    xet
    Commit From AutoTrain almost 4 years ago
  • tokenizer.json
    8.33 MB
    Commit From AutoTrain almost 4 years ago
  • tokenizer_config.json
    402 Bytes
    Commit From AutoTrain almost 4 years ago