PEFT
TensorBoard
Safetensors
gemma2
alignment-handbook
trl
sft
Generated from Trainer
4-bit precision
bitsandbytes
Instructions to use GaetanMichelet/Gemma-2-2B_task-3_180-samples_config-1_full_auto with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use GaetanMichelet/Gemma-2-2B_task-3_180-samples_config-1_full_auto with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2-2b-it") model = PeftModel.from_pretrained(base_model, "GaetanMichelet/Gemma-2-2B_task-3_180-samples_config-1_full_auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from GaetanMichelet/Gemma-2-2B_task-3_180-samples_config-1_full_auto: direct link, hf CLI and curl.
- Browser
- Download file 636 Bytes
-
https://huggingface.co/GaetanMichelet/Gemma-2-2B_task-3_180-samples_config-1_full_auto/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://GaetanMichelet/Gemma-2-2B_task-3_180-samples_config-1_full_auto/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/GaetanMichelet/Gemma-2-2B_task-3_180-samples_config-1_full_auto/resolve/main/special_tokens_map.json
636 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<start_of_turn>", | |
| "<end_of_turn>" | |
| ], | |
| "bos_token": { | |
| "content": "<bos>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<eos>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |