Instructions to use ftnext/gemma-2-2b-elyza-tasks-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ftnext/gemma-2-2b-elyza-tasks-sft with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ftnext/gemma-2-2b-elyza-tasks-sft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from ftnext/gemma-2-2b-elyza-tasks-sft: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/ftnext/gemma-2-2b-elyza-tasks-sft/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://ftnext/gemma-2-2b-elyza-tasks-sft/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/ftnext/gemma-2-2b-elyza-tasks-sft/resolve/main/special_tokens_map.json
522 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": "<eos>", | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |