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

  • Log In
  • Sign Up

north
/
demo-nynorsk-base

Translation
Transformers
PyTorch
JAX
TensorBoard
Norwegian
t5
text2text-generation
text-generation-inference
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use north/demo-nynorsk-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use north/demo-nynorsk-base 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="north/demo-nynorsk-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("north/demo-nynorsk-base")
    model = AutoModelForSeq2SeqLM.from_pretrained("north/demo-nynorsk-base")
  • Notebooks
  • Google Colab
  • Kaggle
demo-nynorsk-base
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
pere's picture
pere
Update README.md
b87b317 over 3 years ago
  • train
    Commit from model create scripts almost 4 years ago
  • training_eval
    Commit from model create scripts almost 4 years ago
  • .gitattributes
    1.22 kB
    Commit from model create scripts almost 4 years ago
  • README.md
    829 Bytes
    Update README.md over 3 years ago
  • config.gin
    8.05 kB
    Commit from model create scripts almost 4 years ago
  • config.json
    883 Bytes
    Update config.json almost 4 years ago
  • flax_model.msgpack
    2.33 GB
    xet
    Commit from model create scripts almost 4 years ago
  • model-info.txt
    250 kB
    Commit from model create scripts almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.33 GB
    xet
    Commit from model create scripts almost 4 years ago
  • special_tokens_map.json
    65 Bytes
    Commit from model create scripts almost 4 years ago
  • spiece.model
    4.31 MB
    xet
    Commit from model create scripts almost 4 years ago
  • tokenizer_config.json
    376 Bytes
    Commit from model create scripts almost 4 years ago