Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

projecthope
/
newmodel

Image Classification
Transformers
TensorBoard
Safetensors
swin
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use projecthope/newmodel with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="projecthope/newmodel")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("projecthope/newmodel")
    model = AutoModelForImageClassification.from_pretrained("projecthope/newmodel", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
newmodel
348 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Adhil1123's picture
Adhil1123
Upload 11 files
5857be7 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • all_results.json
    379 Bytes
    Upload 11 files over 2 years ago
  • config.json
    1.11 kB
    Upload 11 files over 2 years ago
  • eval_results.json
    188 Bytes
    Upload 11 files over 2 years ago
  • events.out.tfevents.1710567422.d1aa6ccab76c.228.0
    24.9 kB
    xet
    Upload 11 files over 2 years ago
  • events.out.tfevents.1710569659.d1aa6ccab76c.228.1
    19.8 kB
    xet
    Upload 11 files over 2 years ago
  • events.out.tfevents.1710572053.d1aa6ccab76c.228.2
    411 Bytes
    xet
    Upload 11 files over 2 years ago
  • model.safetensors
    347 MB
    xet
    Upload 11 files over 2 years ago
  • preprocessor_config.json
    337 Bytes
    Upload 11 files over 2 years ago
  • train_results.json
    212 Bytes
    Upload 11 files over 2 years ago
  • trainer_state.json
    11.7 kB
    Upload 11 files over 2 years ago
  • training_args.bin

    Detected Pickle imports (9)

    • "transformers.trainer_utils.SchedulerType",
    • "torch.device",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "transformers.trainer_utils.HubStrategy",
    • "accelerate.state.PartialState",
    • "transformers.training_args.TrainingArguments"

    How to fix it?

    4.86 kB
    xet
    Upload 11 files over 2 years ago