Instructions to use jeffzyu/gemmatest with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jeffzyu/gemmatest with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2-2b") model = PeftModel.from_pretrained(base_model, "jeffzyu/gemmatest") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from jeffzyu/gemmatest: direct link, hf CLI and curl.
- Browser
- Download file 168 Bytes
-
https://huggingface.co/jeffzyu/gemmatest/resolve/main/generation_config.json
- Command line
-
hf download hf://jeffzyu/gemmatest/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/jeffzyu/gemmatest/resolve/main/generation_config.json
168 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 2, | |
| "cache_implementation": "hybrid", | |
| "eos_token_id": 1, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.48.1" | |
| } | |