Instructions to use Kaustubh12345/Llama_StereoDetect_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
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") - Transformers
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") - Notebooks
- Google Colab
- Kaggle