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

  • Log In
  • Sign Up

fxmarty
/
tiny-testing-remote-code

Image Classification
Transformers
PyTorch
resnet
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use fxmarty/tiny-testing-remote-code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use fxmarty/tiny-testing-remote-code with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="fxmarty/tiny-testing-remote-code", trust_remote_code=True)
    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("fxmarty/tiny-testing-remote-code", trust_remote_code=True)
    model = AutoModelForImageClassification.from_pretrained("fxmarty/tiny-testing-remote-code", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
tiny-testing-remote-code
93.7 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
271641e verified 8 months ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    744 Bytes
    add readme over 3 years ago
  • __init__.py
    2 Bytes
    fix againg over 3 years ago
  • config.json
    69.8 kB
    somewhat better with architectures in config over 3 years ago
  • create_model.py
    389 Bytes
    fix againg over 3 years ago
  • inference.py
    616 Bytes
    fix? over 3 years ago
  • model.safetensors
    46.8 MB
    xet
    Adding `safetensors` variant of this model 8 months ago
  • modeling_resnet.py
    19.7 kB
    fix? over 3 years ago
  • preprocessor_config.json
    266 Bytes
    preprocessor over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    46.8 MB
    xet
    fix againg over 3 years ago