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

kd13
/
nano-translate-v1

Translation
Transformers
Safetensors
English
Hindi
lstm_seq2seq_en_hi
text2text-generation
se2seq2014
custom_code
Model card Files Files and versions
xet
Community

Instructions to use kd13/nano-translate-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use kd13/nano-translate-v1 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="kd13/nano-translate-v1", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForSeq2SeqLM
    model = AutoModelForSeq2SeqLM.from_pretrained("kd13/nano-translate-v1", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
nano-translate-v1
Ctrl+K
Ctrl+K
  • 1 contributor
History: 24 commits
kd13's picture
kd13
Update README.md
6777cc4 verified about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    4.79 kB
    Update README.md about 2 months ago
  • __init__.py
    115 Bytes
    Update __init__.py about 2 months ago
  • config.json
    504 Bytes
    Upload folder using huggingface_hub about 2 months ago
  • configuration_lstm_seq2seq_en_hi.py
    1.03 kB
    Update configuration_lstm_seq2seq_en_hi.py about 2 months ago
  • generation_config.json
    223 Bytes
    Upload generation_config.json about 2 months ago
  • model.safetensors
    880 MB
    xet
    Upload 4 files about 2 months ago
  • modeling_lstm_seq2seq_en_hi.py
    6.82 kB
    Upload folder using huggingface_hub about 2 months ago
  • tokenizer.json
    4.27 MB
    Upload 4 files about 2 months ago
  • tokenizer_config.json
    244 Bytes
    Upload 4 files about 2 months ago