Instructions to use tangrui10/google-gemma-2b-1727321663 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tangrui10/google-gemma-2b-1727321663 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b") model = PeftModel.from_pretrained(base_model, "tangrui10/google-gemma-2b-1727321663") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from tangrui10/google-gemma-2b-1727321663: direct link, hf CLI and curl.
- Browser
- Download file 17.5 MB
-
https://huggingface.co/tangrui10/google-gemma-2b-1727321663/resolve/main/tokenizer.json
- Command line
-
hf download hf://tangrui10/google-gemma-2b-1727321663/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/tangrui10/google-gemma-2b-1727321663/resolve/main/tokenizer.json
17.5 MB
- Size of remote file:
- 17.5 MB
- SHA256:
- 7da53ca29fb16f6b2489482fc0bc6a394162cdab14d12764a1755ebc583fea79
·
Git Large File Storage (LFS) replaces large files with text pointers inside Git, while storing the file contents on a remote server. More info.