Instructions to use cesun/cbllm-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cesun/cbllm-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cesun/cbllm-classification")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cesun/cbllm-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| library_name: transformers | |
| pipeline_tag: text-classification | |
| This repository contains the model described in the paper [Concept Bottleneck Large Language Models](https://huggingface.co/papers/2412.07992). | |
| Code: https://github.com/Trustworthy-ML-Lab/CB-LLMs |