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

  • Log In
  • Sign Up

rdj-034
/
lab2_efficient

Translation
Transformers
Safetensors
English
French
marian
text2text-generation
seq2seq
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use rdj-034/lab2_efficient with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use rdj-034/lab2_efficient 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="rdj-034/lab2_efficient")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("rdj-034/lab2_efficient")
    model = AutoModelForSeq2SeqLM.from_pretrained("rdj-034/lab2_efficient")
  • Notebooks
  • Google Colab
  • Kaggle
lab2_efficient
546 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
rdj-034's picture
rdj-034
Upload README.md with huggingface_hub
0a0d586 verified 2 months ago
  • .gitattributes
    1.61 kB
    Upload tokenizer 2 months ago
  • README.md
    787 Bytes
    Upload README.md with huggingface_hub 2 months ago
  • config.json
    1.32 kB
    Upload model 2 months ago
  • generation_config.json
    1 kB
    Upload model 2 months ago
  • model.safetensors
    542 MB
    xet
    Upload model 2 months ago
  • source.spm
    778 kB
    xet
    Upload tokenizer 2 months ago
  • target.spm
    802 kB
    xet
    Upload tokenizer 2 months ago
  • tokenizer_config.json
    883 Bytes
    Upload tokenizer 2 months ago
  • vocab.json
    1.46 MB
    Upload tokenizer 2 months ago