How to use Kaustubh12345/Llama_StereoDetect_Model with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Meta-Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "Kaustubh12345/Llama_StereoDetect_Model")
How to use Kaustubh12345/Llama_StereoDetect_Model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Kaustubh12345/Llama_StereoDetect_Model", dtype="auto")
The community tab is the place to discuss and collaborate with the HF community!