Instructions to use YouthSafe/YouthSafe-Teen-GAI-Risk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use YouthSafe/YouthSafe-Teen-GAI-Risk with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/workspace/hugging_face/hub/models--meta-llama--LlamaGuard-7b/snapshots/3e764390d6b39028ddea5b20603c89476107b41e/") model = PeftModel.from_pretrained(base_model, "YouthSafe/YouthSafe-Teen-GAI-Risk") - Notebooks
- Google Colab
- Kaggle
Download optimizer.pt from YouthSafe/YouthSafe-Teen-GAI-Risk: direct link, hf CLI and curl.
- Browser
- Download file 325 MB
-
https://huggingface.co/YouthSafe/YouthSafe-Teen-GAI-Risk/resolve/main/optimizer.pt
- Command line
-
hf download hf://YouthSafe/YouthSafe-Teen-GAI-Risk/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/YouthSafe/YouthSafe-Teen-GAI-Risk/resolve/main/optimizer.pt
325 MB
- Xet hash:
- ea5d5d7d401df659fa75b2cbff2ee6dcb30310c5abc9a8fa7bf96222cc1886fa
- Size of remote file:
- 325 MB
- SHA256:
- 2e7c8c2327d9c269f1626844262472d763f27579a6d95c4faee64ea8d3e9a795
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.