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

  • Log In
  • Sign Up

mgrbyte
/
mt-general-cy-en

Translation
Transformers
PyTorch
Welsh
English
marian
text2text-generation
Eval Results (legacy)
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use mgrbyte/mt-general-cy-en 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="mgrbyte/mt-general-cy-en")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("mgrbyte/mt-general-cy-en")
    model = AutoModelForSeq2SeqLM.from_pretrained("mgrbyte/mt-general-cy-en")
  • Notebooks
  • Google Colab
  • Kaggle
mt-general-cy-en
283 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
mgrbyte's picture
mgrbyte
Changed wording.
53f2c82 almost 3 years ago
  • .gitattributes
    1.52 kB
    Add initial files. about 3 years ago
  • README.md
    2.04 kB
    Changed wording. almost 3 years ago
  • config.json
    994 Bytes
    Add initial files. about 3 years ago
  • generation_config.json
    277 Bytes
    Add initial files. 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?

    279 MB
    xet
    Add initial files. about 3 years ago
  • source.spm
    1.16 MB
    xet
    Add initial files. about 3 years ago
  • special_tokens_map.json
    70 Bytes
    Add initial files. about 3 years ago
  • target.spm
    1.16 MB
    xet
    Add initial files. about 3 years ago
  • tokenizer_config.json
    245 Bytes
    Add initial files. about 3 years ago
  • vocab.json
    1.19 MB
    Add initial files. about 3 years ago