Instructions to use salma-alashry/starcoder2-7b_AR2SQL_v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use salma-alashry/starcoder2-7b_AR2SQL_v4 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("salma-alashry/starcoder2-7b_AR2SQL_v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download final_checkpoint/generation_config.json from salma-alashry/starcoder2-7b_AR2SQL_v4: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/salma-alashry/starcoder2-7b_AR2SQL_v4/resolve/main/final_checkpoint/generation_config.json
- Command line
-
hf download hf://salma-alashry/starcoder2-7b_AR2SQL_v4/final_checkpoint/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/salma-alashry/starcoder2-7b_AR2SQL_v4/resolve/main/final_checkpoint/generation_config.json
111 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 0, | |
| "eos_token_id": 0, | |
| "transformers_version": "4.51.3" | |
| } | |