Instructions to use IslamMesabah/CoderAPI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IslamMesabah/CoderAPI with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("IslamMesabah/CoderAPI", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from IslamMesabah/CoderAPI: direct link, hf CLI and curl.
- Browser
- Download file 115 Bytes
-
https://huggingface.co/IslamMesabah/CoderAPI/resolve/main/generation_config.json
- Command line
-
hf download hf://IslamMesabah/CoderAPI/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/IslamMesabah/CoderAPI/resolve/main/generation_config.json
115 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 50256, | |
| "transformers_version": "4.35.0" | |
| } | |