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

Salesforce
/
safety-flan-t5-base

Transformers
PyTorch
t5
text2text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use Salesforce/safety-flan-t5-base with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Salesforce/safety-flan-t5-base")
    model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/safety-flan-t5-base", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
safety-flan-t5-base
2.97 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
jasonwu's picture
jasonwu
Update README.md
f1e458b verified over 1 year ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    1.82 kB
    Update README.md over 1 year ago
  • config.json
    1.4 kB
    init over 3 years ago
  • optimizer.bin
    1.98 GB
    xet
    init over 3 years ago
  • pytorch_model.bin
    990 MB
    xet
    init over 3 years ago
  • random_states_0.pkl
    15.8 kB
    xet
    init over 3 years ago
  • random_states_1.pkl
    15.6 kB
    xet
    init over 3 years ago
  • scheduler.bin
    627 Bytes
    xet
    init over 3 years ago
  • special_tokens_map.json
    2.2 kB
    init over 3 years ago
  • tokenizer.json
    2.42 MB
    init over 3 years ago
  • tokenizer_config.json
    2.35 kB
    init over 3 years ago