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:
# pip install -U transformers accelerate # 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
Download optimizer.bin from Salesforce/safety-flan-t5-base: direct link, hf CLI and curl.
- Browser
- Download file 1.98 GB
-
https://huggingface.co/Salesforce/safety-flan-t5-base/resolve/main/optimizer.bin
- Command line
-
hf download hf://Salesforce/safety-flan-t5-base/optimizer.bin
-
curl -L -o optimizer.bin https://huggingface.co/Salesforce/safety-flan-t5-base/resolve/main/optimizer.bin
1.98 GB
- Xet hash:
- ce13e50c1c767682ad4831f6d58c701125108ce48e7804904e7cad367cc1c0e7
- Size of remote file:
- 1.98 GB
- SHA256:
- d545dbd572da4f53cec9c427fff4fb50254d8c1a36432b61c8f85bd430942db4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.