Add LICENSE and NOTICE files for license compliance ec492de
hanzo-dev commited on
How to use zenlm/zen3-guard with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="zenlm/zen3-guard") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("zenlm/zen3-guard")
model = AutoModelForCausalLM.from_pretrained("zenlm/zen3-guard")