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

wanhin
/
MT5-Pythera-Law-v2

Transformers
PyTorch
mt5
Model card Files Files and versions
xet
Community

Instructions to use wanhin/MT5-Pythera-Law-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use wanhin/MT5-Pythera-Law-v2 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, MT5ForCL
    
    tokenizer = AutoTokenizer.from_pretrained("wanhin/MT5-Pythera-Law-v2")
    model = MT5ForCL.from_pretrained("wanhin/MT5-Pythera-Law-v2")
  • Notebooks
  • Google Colab
  • Kaggle
MT5-Pythera-Law-v2
3.33 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits

This model has 1 file scanned as suspicious.

wanhin's picture
wanhin
Upload 10 files
01e3dac verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • config.json
    660 Bytes
    Upload 10 files almost 2 years ago
  • optimizer.pt
    2.22 GB
    xet
    Upload 10 files almost 2 years ago
  • pytorch_model.bin
    1.11 GB
    xet
    Upload 10 files almost 2 years ago
  • scheduler.pt

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    623 Bytes
    xet
    Upload 10 files almost 2 years ago
  • special_tokens_map.json
    65 Bytes
    Upload 10 files almost 2 years ago
  • spiece.model
    4.31 MB
    xet
    Upload 10 files almost 2 years ago
  • tokenizer_config.json
    357 Bytes
    Upload 10 files almost 2 years ago
  • train_results.txt
    72 Bytes
    Upload 10 files almost 2 years ago
  • trainer_state.json
    1.59 kB
    Upload 10 files almost 2 years ago
  • training_args.bin

    Detected Pickle imports (4)

    • "__main__.OurTrainingArguments",
    • "transformers.trainer_utils.SchedulerType",
    • "torch.device",
    • "transformers.trainer_utils.IntervalStrategy"

    How to fix it?

    2.35 kB
    xet
    Upload 10 files almost 2 years ago