Skip to content

alexiszlf/StructCBM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StructCBM

A novel concept bottleneck model for interpretable text classification using structured prototypical-discriminative concepts.

Installation

Provide instructions on how to install the project and its dependencies.

# Example installation command
pip install -r requirements.txt

Usage

Explain how to use the project after installation. Provide code examples if applicable.

# Example usage
python workflow.py

The configuration files are located in the configs directory. You can modify them to suit your needs. Besides, a api_key.txt file is required in the root directory to access the API of LLMs, the text within this file is deepseek YOUR_API_KEY.

Contributing

Contributions are welcome! Please read the contributing guidelines first.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages