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

Huggs108Bj
/
SelfTrainTransformer

Translation
Transformers
PyTorch
English
Nepali (individual language)
m2m_100
text2text-generation
nllb
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use Huggs108Bj/SelfTrainTransformer 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="Huggs108Bj/SelfTrainTransformer")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Huggs108Bj/SelfTrainTransformer")
    model = AutoModelForSeq2SeqLM.from_pretrained("Huggs108Bj/SelfTrainTransformer")
  • Notebooks
  • Google Colab
  • Kaggle
SelfTrainTransformer
2.48 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Huggs108Bj's picture
Huggs108Bj
Update README.md
6a55c45 verified about 2 years ago
  • .gitattributes
    1.57 kB
    Upload 9 files over 2 years ago
  • README.md
    206 Bytes
    Update README.md about 2 years ago
  • app.py
    0 Bytes
    Create app.py over 2 years ago
  • config.json
    846 Bytes
    Upload 9 files over 2 years ago
  • generation_config.json
    189 Bytes
    Upload 9 files over 2 years ago
  • gitattributes.txt
    1.28 kB
    Upload 9 files over 2 years ago
  • my_model_scratch.h5
    44.9 kB
    xet
    Upload my_model_scratch.h5 over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.46 GB
    xet
    Upload 9 files over 2 years ago
  • sentencepiece.bpe.model
    4.85 MB
    xet
    Upload 9 files over 2 years ago
  • special_tokens_map.json
    3.55 kB
    Upload 9 files over 2 years ago
  • tokenizer.json
    17.3 MB
    xet
    Upload 9 files over 2 years ago
  • tokenizer_config.json
    564 Bytes
    Upload 9 files over 2 years ago