Instructions to use litcoderr/CausalLens with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use litcoderr/CausalLens with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/junho/lbk/Competency/com2025/full_merged_checkpoint") model = PeftModel.from_pretrained(base_model, "litcoderr/CausalLens") - Notebooks
- Google Colab
- Kaggle
File size: 315 Bytes
ca49136 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"visual_dim": 4096,
"qformer_dim": 256,
"num_queries": 32,
"num_heads": 8,
"intervention_scale": 1.0,
"max_residual_ratio": 0.005,
"confounder_path_used_for_training": "/home/junho/lbk/Competency/confounder_dic.pt",
"dictionary_shape": [
16384,
256
],
"train_confounder_prior": false
} |