Downloads · 30 days
0
Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models
IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models is a machine learning model from Gnaneshwari. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
1. Github Account 2. Hugging Face 3. VSCodeIDE 4. GitCLI
Downloads · 30 days
0
Access
Public
Updated Apr 7, 2024
Repo size
2.2 MB
Likes
0
Public
Click a slice to open those files.
.py58.1 MB · 75%
From the Hugging Face model README
tags: [iris, flower, classification, machine learning, python] datasets:
This repository contains code and resources for training and deploying machine learning models for IRIS flower classification.
Create a new environment
conda create -p venv python==3.10.14 -y
Activating Environment
conda activate venv/
Install Requirements
pip install -r requirements.txt
Docker image run steps
docker build -t flask .
docker run -it -p 7860:7860 flask
docker ps
Hugging face deployment steps https://huggingface.co/docs/transformers/model_doc/pegasus
pip install transformers
pip install torch
import torch
git clone https://github.com/huggingface/transformers.git
huggingface-cli login
Configure user name
git config --global user.name "Gnaneshwari"
git config --global user.name
Configure user email
git config --global user.email "[email protected]"
git config --global user.email
Adding Files to github
git init
git add requirements.txt
git add .
Checking the Status of git push
git status
Commit files to git
git commit -m "This commit includes requirements.txt and readme files"
Config email for first time
git config --global user.email "[email protected]"
Pushing files in git
git push origin main
To Validate Json
https://jsonlint.com/