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

Thinam
/
lang-translate

Translation
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Rust
ONNX
Safetensors
t5
text2text-generation
summarization
text-generation-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use Thinam/lang-translate 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="Thinam/lang-translate")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Thinam/lang-translate")
    model = AutoModelForSeq2SeqLM.from_pretrained("Thinam/lang-translate")
  • Notebooks
  • Google Colab
  • Kaggle
lang-translate
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Thinam's picture
Thinam
Upload folder using huggingface_hub
f04b4f6 verified about 2 years ago
  • onnx
    Upload folder using huggingface_hub about 2 years ago
  • .gitattributes
    586 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • README.md
    8.47 kB
    Upload folder using huggingface_hub about 2 years ago
  • config.json
    1.21 kB
    Upload folder using huggingface_hub about 2 years ago
  • flax_model.msgpack
    242 MB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • generation_config.json
    147 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • model.safetensors
    242 MB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    242 MB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • rust_model.ot
    242 MB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • spiece.model
    792 kB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • tf_model.h5
    242 MB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • tokenizer.json
    1.39 MB
    Upload folder using huggingface_hub about 2 years ago
  • tokenizer_config.json
    2.32 kB
    Upload folder using huggingface_hub about 2 years ago