This repository contains a LoRA adapter checkpoint for LLaDA-8B trained for
graph link prediction on cora with topology-aware
2hop graph context.
1from transformers import AutoModel, AutoTokenizer
2from peft import PeftModel
3
4base_model_id = "GSAI-ML/LLaDA-8B-Instruct"
5adapter_id = "OnAnOrange/llada-8b-cora-lp-topo-2hop-r64-ep5"
6
7tokenizer = AutoTokenizer.from_pretrained(adapter_id, trust_remote_code=True)
8base_model = AutoModel.from_pretrained(
9 base_model_id,
10 trust_remote_code=True,
11 torch_dtype="auto",
12)
13model = PeftModel.from_pretrained(base_model, adapter_id)
The exact inference wrapper depends on the DLM-Graph/LLaDA evaluation pipeline.
This repository publishes the trained adapter and provenance files, not a
standalone merged full model.
This checkpoint is specialized for DLM-Graph experiments. It is not intended as
a general-purpose instruction model. Users should evaluate it within the same
graph prompting and decoding setup used by the DLM-Graph experiments.