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

datamol-io
/
safe-gpt

Transformers
PyTorch
gpt2
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use datamol-io/safe-gpt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use datamol-io/safe-gpt with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("datamol-io/safe-gpt")
    model = AutoModel.from_pretrained("datamol-io/safe-gpt")
  • Notebooks
  • Google Colab
  • Kaggle
safe-gpt
349 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
hadim's picture
hadim
Update README.md
3d5fa09 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    387 Bytes
    Update README.md over 2 years ago
  • config.json
    951 Bytes
    Upload model over 2 years ago
  • generation_config.json
    132 Bytes
    Upload model over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    349 MB
    xet
    Upload model over 2 years ago
  • tokenizer.json
    46.3 kB
    Upload tokenizer over 2 years ago