Text Generation
PEFT
Safetensors
GGUF
granite
uno
speculative-decoding
block-diffusion
lora
oflm
openflowlm
npu2
q4nx
conversational
Instructions to use Cyronius/granite-4.2-3b-uno with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Cyronius/granite-4.2-3b-uno with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-4.2-3b") model = PeftModel.from_pretrained(base_model, "Cyronius/granite-4.2-3b-uno") - Notebooks
- Google Colab
- Kaggle
Download code/training/__init__.py from Cyronius/granite-4.2-3b-uno: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/Cyronius/granite-4.2-3b-uno/resolve/main/code/training/__init__.py
- Command line
-
hf download hf://Cyronius/granite-4.2-3b-uno/code/training/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Cyronius/granite-4.2-3b-uno/resolve/main/code/training/__init__.py
348 Bytes
| """Focused LoRA-only training support for Uno.""" | |
| from .constants import ( | |
| DEFAULT_DATASET_ID, | |
| DEFAULT_DATASET_REVISION, | |
| DEFAULT_MODEL_ID, | |
| DEFAULT_MODEL_REVISION, | |
| IGNORE_INDEX, | |
| ) | |
| __all__ = [ | |
| "DEFAULT_DATASET_ID", | |
| "DEFAULT_DATASET_REVISION", | |
| "DEFAULT_MODEL_ID", | |
| "DEFAULT_MODEL_REVISION", | |
| "IGNORE_INDEX", | |
| ] | |