Instructions to use CezarCalin/simple-cnn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CezarCalin/simple-cnn with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="CezarCalin/simple-cnn", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("CezarCalin/simple-cnn", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files2 unmodified lines3456789102 unmodified lines"SimpleCNN"],"auto_map": {"AutoConfig": "configuration_simplecnn.SimpleCNNConfig","AutoModel": "modeling_simplecnn.SimpleCNN"},"input_channels": 1,"model_type": "simple-cnn",2 unmodified lines34567892 unmodified lines"SimpleCNN"],"auto_map": {"AutoConfig": "CezarCalin/simple-cnn--configuration_simplecnn.SimpleCNNConfig"},"input_channels": 1,"model_type": "simple-cnn",
config.json+1-2