Question Answering
PEFT
Safetensors
Transformers
English
gemma
lora
sft
4bit
trl
merged
qa
instruction-tuned
270m
Instructions to use sweatSmile/Gemma-3-270m-Buddha-QA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sweatSmile/Gemma-3-270m-Buddha-QA 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, "sweatSmile/Gemma-3-270m-Buddha-QA") - Transformers
How to use sweatSmile/Gemma-3-270m-Buddha-QA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="sweatSmile/Gemma-3-270m-Buddha-QA")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sweatSmile/Gemma-3-270m-Buddha-QA", 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!