Instructions to use OwensLab/commfor-data-preprocessor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OwensLab/commfor-data-preprocessor with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OwensLab/commfor-data-preprocessor", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload preprocessor_config.json with huggingface_hub
Browse files- preprocessor_config.json +4 -1
preprocessor_config.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"image_processor_type": "CommForImageProcessor",
|
| 3 |
-
"size": 384
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"image_processor_type": "CommForImageProcessor",
|
| 3 |
+
"size": 384,
|
| 4 |
+
"auto_map": {
|
| 5 |
+
"AutoImageProcessor": "dataprocessor_hf.CommForImageProcessor"
|
| 6 |
+
}
|
| 7 |
}
|