Instructions to use GAIR/Safety-J-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GAIR/Safety-J-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="GAIR/Safety-J-v1", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("GAIR/Safety-J-v1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 7ea1016bd9201a0888cec2811e39612005b8c8fbffe4034bb459f00c4b4d66cf
- Size of remote file:
- 6.65 kB
- SHA256:
- af53fb495f923e44e47b80419dc608d0f337a512517b9c58f55098e4b47a4f3d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.