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

  • Log In
  • Sign Up

CLAck
/
indo-mixed

Translation
Transformers
PyTorch
English
Indonesian
marian
text2text-generation
Model card Files Files and versions
xet
Community
2

Instructions to use CLAck/indo-mixed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use CLAck/indo-mixed 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="CLAck/indo-mixed")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("CLAck/indo-mixed")
    model = AutoModelForSeq2SeqLM.from_pretrained("CLAck/indo-mixed")
  • Notebooks
  • Google Colab
  • Kaggle
indo-mixed
Ctrl+K
Ctrl+K
  • 1 contributor
History: 17 commits
notlosca's picture
notlosca
Update README.md
71d7128 about 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    1.62 kB
    Update README.md about 4 years ago
  • added_tokens.json
    216 kB
    Upload added_tokens.json over 4 years ago
  • config.json
    1.53 kB
    Upload config.json over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    337 MB
    xet
    Upload pytorch_model.bin with git-lfs over 4 years ago
  • source.spm
    806 kB
    Upload source.spm over 4 years ago
  • special_tokens_map.json
    65 Bytes
    Upload special_tokens_map.json over 4 years ago
  • target.spm
    805 kB
    Upload target.spm over 4 years ago
  • tokenizer_config.json
    298 Bytes
    Upload tokenizer_config.json over 4 years ago
  • training_args.bin

    Detected Pickle imports (6)

    • "torch.device",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments"

    How to fix it?

    3.18 kB
    xet
    Upload training_args.bin with git-lfs over 4 years ago
  • vocab.json
    1.75 MB
    Upload vocab.json over 4 years ago