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
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!