Instructions to use POrg/ocsai-d-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use POrg/ocsai-d-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="POrg/ocsai-d-base") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("POrg/ocsai-d-base") model = AutoModelForImageClassification.from_pretrained("POrg/ocsai-d-base") - Notebooks
- Google Colab
- Kaggle
fix typo
Browse files- preprocessor_config.json +0 -1
preprocessor_config.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
preprocessor_config.json
|
| 2 |
{
|
| 3 |
"_valid_processor_keys": [
|
| 4 |
"images",
|
|
|
|
|
|
|
| 1 |
{
|
| 2 |
"_valid_processor_keys": [
|
| 3 |
"images",
|