YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models
Software And Tools Requirements
tags: [iris, flower, classification, machine learning, python] datasets: - custom_dataset_name - iris_dataset license: Apache-2.0
IRIS Flower Classification using Machine Learning Models
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/