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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

birgermoell
/
t5-base-swedish

Translation
Transformers
PyTorch
JAX
TensorBoard
Swedish
t5
feature-extraction
summarization
text-generation-inference
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use birgermoell/t5-base-swedish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use birgermoell/t5-base-swedish 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="birgermoell/t5-base-swedish")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("birgermoell/t5-base-swedish")
    model = AutoModel.from_pretrained("birgermoell/t5-base-swedish")
  • Notebooks
  • Google Colab
  • Kaggle
t5-base-swedish
1.89 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
birgermoell's picture
birgermoell
Update README.md
c9fa236 almost 5 years ago
  • __pycache__
    Added model almost 5 years ago
  • .gitattributes
    737 Bytes
    initial commit almost 5 years ago
  • README.md
    2.66 kB
    Update README.md almost 5 years ago
  • config.json
    714 Bytes
    Added model almost 5 years ago
  • events.out.tfevents.1626286869.t1v-n-98937c84-w-0.1063147.3.v2
    4.61 MB
    xet
    Updated model almost 5 years ago
  • flax_model.msgpack
    990 MB
    xet
    Updated model almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    892 MB
    xet
    Updated model almost 5 years ago
  • run_t5.sh
    548 Bytes
    Added model almost 5 years ago
  • run_t5_mlm_flax.py
    34.9 kB
    Added model almost 5 years ago
  • save_model.py
    555 Bytes
    Added model almost 5 years ago
  • special_tokens_map.json
    1.79 kB
    Added model almost 5 years ago
  • t5_tokenizer_model.py
    3.88 kB
    Added model almost 5 years ago
  • tokenizer.json
    977 kB
    Added model almost 5 years ago
  • tokenizer_config.json
    1.89 kB
    Added model almost 5 years ago
  • train_tokenizer.py
    909 Bytes
    Added model almost 5 years ago