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

GEETHANAYAGI
/
model_trans_indictrans2

Translation
Transformers
machine-translation
indic-languages
english-to-hindi
text-translation
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use GEETHANAYAGI/model_trans_indictrans2 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="GEETHANAYAGI/model_trans_indictrans2")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("GEETHANAYAGI/model_trans_indictrans2", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
model_trans_indictrans2 / IndicTrans2 /huggingface_interface
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
GEETHANAYAGI's picture
GEETHANAYAGI
Upload 79 files
f9d7028 verified over 1 year ago
  • .gitignore
    19 Bytes
    Upload 79 files over 1 year ago
  • README.md
    6.06 kB
    Upload 79 files over 1 year ago
  • colab_inference.ipynb
    26.4 kB
    Upload 79 files over 1 year ago
  • configuration_indictrans.py
    14.5 kB
    Upload 79 files over 1 year ago
  • convert_indictrans_checkpoint_to_pytorch.py
    4.05 kB
    Upload 79 files over 1 year ago
  • example.py
    13.2 kB
    Upload 79 files over 1 year ago
  • install.sh
    1.89 kB
    Upload 79 files over 1 year ago
  • modeling_indictrans.py
    81.4 kB
    Upload 79 files over 1 year ago
  • train_lora.py
    12.2 kB
    Upload 79 files over 1 year ago
  • train_lora.sh
    1.09 kB
    Upload 79 files over 1 year ago