Run this model with HF Jobs
Run litert-community/efficientnet_b0 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/litert-community/efficientnet_b0. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/litert-community/efficientnet_b0 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use litert-community/efficientnet_b0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/efficientnet_b0 with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Updated README.md
Browse files10 unmodified lines111213141415161735 unmodified lines5354555657585960616263646566675768697054 unmodified lines12512612712812913013113213313413513613713810 unmodified linesbase_model: - google/efficientnet-b0model-index: - name: EfficientNet_B0 - name: litert-community/efficientnet_b0 results: - task: type: image-classification35 unmodified linesacc@5 (on ImageNet-1K): 93.532% num_params: 5,288,548
## How to Use
**1. Install Dependencies** Ensure your Python environment is set up with the required libraries. Run the following command in your terminal:
```bash pip install numpy Pillow huggingface_hub ai-edge-litert```
**2. Prepare Your Image** The script expects an image file to analyze. Make sure you have an image (e.g., cat.jpg or car.png) saved in the same working directory as your script.
**3. Save the Script** Create a new file named `classify.py`, paste the script below into it, and save the file:
## Use```python#!/usr/bin/env python3import argparse, json54 unmodified linesif __name__ == "__main__": main()```
**4. Execute the Python Script** Run the below command:
```bash python classify.py --image cat.jpg```
### BibTeX entry and citation info
```bibtexREADME.md+20-2