Concept Bottleneck Large Language Models
Paper • 2412.07992 • Published • 1
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("cesun/cbllm-generation", dtype="auto")This repository contains the Concept Bottleneck Large Language Model (CB-LLM) presented in Concept Bottleneck Large Language Models.
Code: https://github.com/Trustworthy-ML-Lab/CB-LLMs
This model offers inherent interpretability and controllability in text generation. See the linked paper and GitHub repository for details on training and usage.
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cesun/cbllm-generation")