Spaces:
No application file
No application file
|
Download README.md from Dashpreetsinghofficial/Flytxt_Assignment: direct link, hf CLI and curl.
- Browser
- Download file 1.94 kB
-
https://huggingface.co/spaces/Dashpreetsinghofficial/Flytxt_Assignment/resolve/main/README.md
- Command line
-
hf download hf://spaces/Dashpreetsinghofficial/Flytxt_Assignment/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Dashpreetsinghofficial/Flytxt_Assignment/resolve/main/README.md
1.94 kB
| title: Flytxt Assignment | |
| emoji: ⚡ | |
| colorFrom: green | |
| colorTo: red | |
| sdk: gradio | |
| sdk_version: 5.16.0 | |
| app_file: app.py | |
| pinned: false | |
| short_description: The book title recommendation system for Flytxt | |
| # Flytxt Assignment - Book Recommender System | |
| ## Project Overview | |
| This is a basic content-based book recommender system that takes a book title as input and recommends 5 books that are similar to the input book based on content. The system uses various text attributes such as summaries and categories for model training and matching. It is implemented using machine learning techniques, including TF-IDF for text vectorization and cosine similarity for similarity calculation. The app is hosted on Hugging Face Spaces, where users can input a book title and receive recommendations through a simple UI. | |
| ## Features | |
| - **Text-based content matching**: Recommends books similar to a given title based on content similarity (summaries and categories). | |
| - **Gradio UI**: A user-friendly interface where users can input a book title and get recommendations. | |
| - **Cosine Similarity**: Uses cosine similarity for comparing book summaries and finding the closest matches. | |
| ## Requirements | |
| To run this project locally, you'll need to install the following dependencies: | |
| - `pandas`: Data manipulation and analysis | |
| - `numpy`: Numerical computing | |
| - `scikit-learn`: Machine learning library (for TF-IDF and cosine similarity) | |
| - `nltk`: Natural Language Toolkit for text processing | |
| - `sentence-transformers`: For advanced sentence embeddings (if used in future implementations) | |
| - `gradio`: For building the interactive web interface | |
| - `huggingface_hub`: To connect and deploy the model on Hugging Face | |
| ```bash | |
| ## You can create venv | |
| python -m venv venv | |
| ## activate your venv | |
| .\venv\Scripts\activatee | |
| ## You can install the dependencies using pip: | |
| pip install -r requirements.txt | |