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

  • Log In
  • Sign Up

ckb
/
en-toki-mt

Translation
Transformers
PyTorch
Safetensors
English
Toki Pona
multilingual
marian
text2text-generation
Generated from Trainer
Model card Files Files and versions
xet
Community
3

Instructions to use ckb/en-toki-mt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ckb/en-toki-mt 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="ckb/en-toki-mt")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("ckb/en-toki-mt")
    model = AutoModelForSeq2SeqLM.from_pretrained("ckb/en-toki-mt")
  • Notebooks
  • Google Colab
  • Kaggle
en-toki-mt
Ctrl+K
Ctrl+K
  • 4 contributors
History: 10 commits
ckb's picture
ckb
librarian-bot's picture
librarian-bot
Librarian Bot: Add base_model information to model (#3)
0940463 verified almost 2 years ago
  • .gitattributes
    1.32 kB
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • .gitignore
    13 Bytes
    End of training almost 4 years ago
  • README.md
    1.55 kB
    Librarian Bot: Add base_model information to model (#3) almost 2 years ago
  • config.json
    1.53 kB
    End of training almost 4 years ago
  • model.safetensors
    310 MB
    xet
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    310 MB
    xet
    End of training almost 4 years ago
  • source.spm
    779 kB
    xet
    End of training almost 4 years ago
  • special_tokens_map.json
    74 Bytes
    End of training almost 4 years ago
  • target.spm
    799 kB
    xet
    End of training almost 4 years ago
  • tokenizer_config.json
    551 Bytes
    End of training almost 4 years ago
  • training_args.bin

    Detected Pickle imports (6)

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

    How to fix it?

    3.38 kB
    xet
    End of training almost 4 years ago
  • vocab.json
    1.59 MB
    End of training almost 4 years ago