Instructions to use Ikeofai/gemma-2b-for-python-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ikeofai/gemma-2b-for-python-v2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b") model = PeftModel.from_pretrained(base_model, "Ikeofai/gemma-2b-for-python-v2") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
b4740fb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:212d83b78bb7302a0a9aec71f005c5b05b4905ef3198c395e845a6747808efb8
size 4920
|