Spaces:
Sleeping
A newer version of the Gradio SDK is available:
6.5.1
title: Instamatch
app_file: app.py
sdk: gradio
sdk_version: 5.12.0
Overview
InstaMatch is a cloud instance matching tool for machine learning models. It fetches model information from HuggingFace and recommends suitable cloud instances from AWS, Azure, and GCP based on the model's requirements.
Features
- Fetch model information from HuggingFace API
- Estimate model requirements (vCPUs and memory)
- Recommend suitable cloud instances from AWS, Azure, and GCP
- Display primary and backup recommendations
Installation
Clone the repository: ```sh git clone https://github.com/yourusername/InstaMatch.git cd InstaMatch ```
Create and activate a virtual environment: ```sh python3 -m venv venv source venv/bin/activate ```
Install the required dependencies: ```sh pip install -r requirements.txt ```
Set up your HuggingFace API token in a `.env` file: ```sh echo "HUGGING_FACE_TOKEN=your_huggingface_token" > .env ```
Usage
Run the application: ```sh python app.py ```
Open the provided URL in your browser.
Enter a model name from HuggingFace (e.g., `gpt2`, `bert-base-uncased`) and click "Get Recommendations".
View the model requirements and cloud instance recommendations.
Files
- `app.py`: Main application file
- `cloud_instances.csv`: CSV file containing cloud instance data
- `requirements.txt`: List of required Python packages
- `utils/`: Utility functions and modules
License
This project is licensed under the MIT License." > README.md
git add README.md git commit -m "Add README file"