Instructions to use MatrixCoder03/gemma-3-270m-med-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MatrixCoder03/gemma-3-270m-med-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-3-270m") model = PeftModel.from_pretrained(base_model, "MatrixCoder03/gemma-3-270m-med-lora") - Transformers
How to use MatrixCoder03/gemma-3-270m-med-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MatrixCoder03/gemma-3-270m-med-lora", 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!