Run this model with HF Jobs
Run ibm-granite/granite-3b-code-instruct-accelerator on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ibm-granite/granite-3b-code-instruct-accelerator. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ibm-granite/granite-3b-code-instruct-accelerator on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ibm-granite/granite-3b-code-instruct-accelerator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ibm-granite/granite-3b-code-instruct-accelerator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ibm-granite/granite-3b-code-instruct-accelerator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
263cc4b
1
Parent(s): 2190e93
updated model with tied weights
Browse filesFiles changed (2)
- config.json+2
- model.safetensors → pytorch_model.binRenamed+2-2
6 unmodified lines7891011126 unmodified lines"model_type": "mlp_speculator","n_candidates": 5,"n_predict": 5,"top_k_tokens_per_head": [4,3,6 unmodified lines78910111213146 unmodified lines"model_type": "mlp_speculator","n_candidates": 5,"n_predict": 5,"scale_input": false,"tie_weights": true,"top_k_tokens_per_head": [4,3,
123version https://git-lfs.github.com/spec/v1oid sha256:280a9b6e59710d65102965c959717f1580a22cc20163598b1b5a1e99692b226csize 4181805512123version https://git-lfs.github.com/spec/v1oid sha256:56c07e0871b129cf5d9428ca91517810207bb83c08b23fb8773624eaf290ddf4size 859853124
config.json+2
model.safetensors → pytorch_model.binRenamed+2-2