Instructions to use Kausp11/querylm-annotator-gemma4-e4b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Kausp11/querylm-annotator-gemma4-e4b-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-4-E4B-it") model = PeftModel.from_pretrained(base_model, "Kausp11/querylm-annotator-gemma4-e4b-lora") - Notebooks
- Google Colab
- Kaggle
Add pipeline tag
#1
by nielsr HF Staff - opened
This PR adds the missing pipeline_tag: text-generation to the model card metadata, so the adapter is discoverable under the text-generation pipeline on the Hub. No other changes are made.