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

  • Log In
  • Sign Up

damerajee
/
openhathi-h2e-e2h-small

Translation
Transformers
Safetensors
English
Hindi
llama
text-generation
Bilingual
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use damerajee/openhathi-h2e-e2h-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use damerajee/openhathi-h2e-e2h-small 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="damerajee/openhathi-h2e-e2h-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("damerajee/openhathi-h2e-e2h-small")
    model = AutoModelForCausalLM.from_pretrained("damerajee/openhathi-h2e-e2h-small")
  • Notebooks
  • Google Colab
  • Kaggle
openhathi-h2e-e2h-small
13.7 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
damerajee's picture
damerajee
Update README.md
ef20ca6 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    3.25 kB
    Update README.md over 2 years ago
  • config.json
    694 Bytes
    Upload LlamaForCausalLM over 2 years ago
  • generation_config.json
    184 Bytes
    Upload LlamaForCausalLM over 2 years ago
  • model-00001-of-00003.safetensors
    4.98 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • model-00002-of-00003.safetensors
    4.95 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • model-00003-of-00003.safetensors
    3.81 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • model.safetensors.index.json
    24 kB
    Upload LlamaForCausalLM over 2 years ago
  • special_tokens_map.json
    438 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    2.85 MB
    Upload tokenizer over 2 years ago
  • tokenizer.model
    968 kB
    xet
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    1.11 kB
    Upload tokenizer over 2 years ago