Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

enalis
/
scold

Image-to-Text
Transformers
English
scold
agriculture
leaf
disease
Model card Files Files and versions
xet
Community
1

Instructions to use enalis/scold with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use enalis/scold with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("image-to-text", model="enalis/scold")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("enalis/scold", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
scold
950 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 40 commits
enalis's picture
enalis
Update model.py
f0a65ac verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    4.12 kB
    Update README.md 6 months ago
  • config.json
    255 Bytes
    model setup 9 months ago
  • inference.py
    948 Bytes
    Update inference.py 9 months ago
  • model.py
    4.09 kB
    Update model.py about 1 month ago
  • scold.pth

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    950 MB
    xet
    Rename model_fn.pt to scold.pth 9 months ago