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

rudrashah
/
RLM-hinglish-translator

Translation
Transformers
Safetensors
Keras
English
gemma
text-generation
hinglish
hinglish to english
language translation
keras nlp
nlp
gemma2b
text-generation-inference
Model card Files Files and versions
xet
Community
2

Instructions to use rudrashah/RLM-hinglish-translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use rudrashah/RLM-hinglish-translator 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="rudrashah/RLM-hinglish-translator")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("rudrashah/RLM-hinglish-translator")
    model = AutoModelForCausalLM.from_pretrained("rudrashah/RLM-hinglish-translator", device_map="auto")
  • Keras

    How to use rudrashah/RLM-hinglish-translator with Keras:

    # Available backend options are: "jax", "torch", "tensorflow".
    import os
    os.environ["KERAS_BACKEND"] = "jax"
    
    import keras
    
    model = keras.saving.load_model("hf://rudrashah/RLM-hinglish-translator")
    
  • Notebooks
  • Google Colab
  • Kaggle
RLM-hinglish-translator
10 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
rudrashah's picture
rudrashah
Update README.md
e796fff verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    2.39 kB
    Update README.md 5 months ago
  • config.json
    639 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • generation_config.json
    132 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • io1.png
    806 kB
    Demo photo added over 2 years ago
  • model-00001-of-00003.safetensors
    4.91 GB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • model-00002-of-00003.safetensors
    4.98 GB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • model-00003-of-00003.safetensors
    134 MB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • model.safetensors.index.json
    13.5 kB
    Upload folder using huggingface_hub over 2 years ago
  • special_tokens_map.json
    555 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • tokenizer.model
    4.24 MB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • tokenizer_config.json
    1.09 kB
    Upload folder using huggingface_hub over 2 years ago