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

  • Log In
  • Sign Up

dchen0
/
font-classifier

Image Classification
Transformers
Safetensors
dinov2
fonts
lora
vision-transformer
Model card Files Files and versions
xet
Community

Instructions to use dchen0/font-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dchen0/font-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="dchen0/font-classifier")
    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("dchen0/font-classifier")
    model = AutoModelForImageClassification.from_pretrained("dchen0/font-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
font-classifier
349 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 21 commits
dchen0's picture
dchen0
Promote lora_r8/result_model from dchen0/font-model-results
d3d01f4 verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    6.47 kB
    Update README.md 11 months ago
  • config.json
    29.7 kB
    Promote lora_r8/result_model from dchen0/font-model-results about 1 month ago
  • handler.py
    3.79 kB
    Promote lora_r8/result_model from dchen0/font-model-results about 1 month ago
  • model.safetensors
    349 MB
    xet
    Promote lora_r8/result_model from dchen0/font-model-results about 1 month ago
  • preprocessor_config.json
    475 Bytes
    Promote lora_r8/result_model from dchen0/font-model-results about 1 month ago
  • requirements.txt
    28 Bytes
    Promote lora_r8/result_model from dchen0/font-model-results about 1 month ago