Instructions to use advy/gemma2-mentalchat16k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use advy/gemma2-mentalchat16k with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b") model = PeftModel.from_pretrained(base_model, "advy/gemma2-mentalchat16k") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from advy/gemma2-mentalchat16k: direct link, hf CLI and curl.
- Browser
- Download file 34.4 MB
-
https://huggingface.co/advy/gemma2-mentalchat16k/resolve/main/tokenizer.json
- Command line
-
hf download hf://advy/gemma2-mentalchat16k/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/advy/gemma2-mentalchat16k/resolve/main/tokenizer.json
34.4 MB
- Xet hash:
- 0129c5cb7efebde0569a5e21c458ae02570479d6ccc571b0656cb63e4924b30b
- Size of remote file:
- 34.4 MB
- SHA256:
- bdc49637c21b788ebca9b49ee129fef1a733ec395234c17f436eebf1357d1e0e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.