Instructions to use eformat/java-code-ibm-granite-3.8b-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use eformat/java-code-ibm-granite-3.8b-instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-3.0-8b-instruct") model = PeftModel.from_pretrained(base_model, "eformat/java-code-ibm-granite-3.8b-instruct") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
f3999c3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:93a1f6aa5183962874fd62e0d358e0f0ea27e6a68a0535d07f990842e7013963
size 68292346
|