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

ckb
/
toki-en-mt

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

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

  • Libraries
  • Transformers

    How to use ckb/toki-en-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/toki-en-mt")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("ckb/toki-en-mt")
    model = AutoModelForSeq2SeqLM.from_pretrained("ckb/toki-en-mt")
  • Notebooks
  • Google Colab
  • Kaggle
toki-en-mt
623 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 6 commits
ckb's picture
ckb
lbourdois's picture
lbourdois
Add multilingual to the language tag (#1)
3989f59 about 3 years ago
  • .gitattributes
    1.32 kB
    Adding `safetensors` variant of this model (#3) about 3 years ago
  • .gitignore
    13 Bytes
    End of training almost 4 years ago
  • README.md
    2.21 kB
    Add multilingual to the language tag (#1) about 3 years ago
  • config.json
    1.38 kB
    End of training almost 4 years ago
  • model.safetensors
    310 MB
    xet
    Adding `safetensors` variant of this model (#3) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    310 MB
    xet
    End of training almost 4 years ago
  • source.spm
    800 kB
    xet
    End of training almost 4 years ago
  • special_tokens_map.json
    74 Bytes
    End of training almost 4 years ago
  • target.spm
    779 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.HubStrategy",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.training_args.OptimizerNames",
    • "torch.device"

    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