Instructions to use Anwaarma/edos_taskA_llama_allyears_lora2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Anwaarma/edos_taskA_llama_allyears_lora2 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.2-1B") model = PeftModel.from_pretrained(base_model, "Anwaarma/edos_taskA_llama_allyears_lora2") - Transformers
How to use Anwaarma/edos_taskA_llama_allyears_lora2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Anwaarma/edos_taskA_llama_allyears_lora2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!