Instructions to use arthurmello/gemma-2-2B-it-thinking-function_calling-V0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arthurmello/gemma-2-2B-it-thinking-function_calling-V0 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("arthurmello/gemma-2-2B-it-thinking-function_calling-V0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from arthurmello/gemma-2-2B-it-thinking-function_calling-V0: direct link, hf CLI and curl.
- Browser
- Download file 671 Bytes
-
https://huggingface.co/arthurmello/gemma-2-2B-it-thinking-function_calling-V0/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://arthurmello/gemma-2-2B-it-thinking-function_calling-V0/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/arthurmello/gemma-2-2B-it-thinking-function_calling-V0/resolve/main/special_tokens_map.json
671 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<tools>", | |
| "</tools>", | |
| "<think>", | |
| "</think>", | |
| "<tool_call>", | |
| "</tool_call>", | |
| "<tool_reponse>", | |
| "</tool_reponse>", | |
| "<pad>", | |
| "<eos>" | |
| ], | |
| "bos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "<pad>", | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |