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")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cesun/cbllm-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Improve model card: Add project page, abstract, key results, and comprehensive tags
Verified signatureThis PR enhances the model card for "Concept Bottleneck Large Language Models" by: - Including the official project page link: https://lilywenglab.github.io/CB-LLMs/ - Adding the full paper abstract for a clear overview of the model's capabilities and goals. - Including key results tables from the GitHub README for both text classification and text generation, showcasing the model's performance. - Adding a "Usage" section that directs users to the comprehensive instructions in the GitHub repository, as no direct `transformers` inference snippet is provided. - Adding a "Citation" section with the BibTeX entry. - Updating the metadata with relevant `tags` such as `text-generation`, `interpretable-ai`, `concept-bottleneck`, and `llm` to improve discoverability. These changes provide a much richer and more informative resource for users interested in this work.63f33dc
-
Add model card (#1)
Verified signature- Add model card (800ac41985afa85408b2eab5092277116303ea9d) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>b01deda
-
add models
73ed830 -
initial commit
Verified signatureaf15002