Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,75 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: PythonScriptShowcase
|
| 3 |
-
emoji: ⚡
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: yellow
|
| 6 |
-
sdk: streamlit
|
| 7 |
-
sdk_version: 1.42.2
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned:
|
| 10 |
-
license: mit
|
| 11 |
-
short_description: Python scripts and Hugging Face datasets
|
| 12 |
-
---
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: PythonScriptShowcase
|
| 3 |
+
emoji: ⚡
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: yellow
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: 1.42.2
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: Python scripts and Hugging Face datasets
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Python & HuggingFace Explorer
|
| 15 |
+
|
| 16 |
+
A Streamlit-based demonstration platform for showcasing Python scripts and Hugging Face datasets with interactive visualization.
|
| 17 |
+
|
| 18 |
+
## Features
|
| 19 |
+
|
| 20 |
+
- **Python Code Editor**: Write, edit, and execute Python code with syntax highlighting
|
| 21 |
+
- **Dataset Explorer**: Browse and analyze datasets from the HuggingFace Hub
|
| 22 |
+
- **Interactive Visualizations**: Create customized charts and graphs from your datasets
|
| 23 |
+
- **Model Metrics**: Analyze model performance with detailed metrics and comparisons
|
| 24 |
+
|
| 25 |
+
## Setup
|
| 26 |
+
|
| 27 |
+
1. Clone this repository
|
| 28 |
+
2. Install dependencies:
|
| 29 |
+
```
|
| 30 |
+
pip install streamlit pandas matplotlib seaborn plotly scikit-learn datasets transformers
|
| 31 |
+
```
|
| 32 |
+
3. Run the application:
|
| 33 |
+
```
|
| 34 |
+
streamlit run app.py
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
### Code Editor
|
| 40 |
+
|
| 41 |
+
- Write Python code in the editor
|
| 42 |
+
- Use provided code templates for common tasks
|
| 43 |
+
- Execute code with the "Run Code" button
|
| 44 |
+
- View output, including text and visualizations
|
| 45 |
+
|
| 46 |
+
### Dataset Explorer
|
| 47 |
+
|
| 48 |
+
- Search for datasets on the HuggingFace Hub
|
| 49 |
+
- Browse popular datasets by category
|
| 50 |
+
- Examine dataset statistics and preview data
|
| 51 |
+
- Perform basic data analysis
|
| 52 |
+
|
| 53 |
+
### Visualizations
|
| 54 |
+
|
| 55 |
+
- Create various chart types (bar charts, scatter plots, etc.)
|
| 56 |
+
- Customize visualizations with different parameters
|
| 57 |
+
- Generate multi-visualization dashboards
|
| 58 |
+
- Download visualizations in different formats
|
| 59 |
+
|
| 60 |
+
### Model Metrics
|
| 61 |
+
|
| 62 |
+
- Upload model predictions for evaluation
|
| 63 |
+
- View classification metrics (confusion matrix, F1 score, etc.)
|
| 64 |
+
- Analyze regression metrics (MSE, RMSE, R², etc.)
|
| 65 |
+
- Explore example evaluations with simulated data
|
| 66 |
+
|
| 67 |
+
## Styling
|
| 68 |
+
|
| 69 |
+
The application uses a custom styling inspired by Hugging Face:
|
| 70 |
+
- Colors: Primary #2196F3, Secondary #FFB800, Background #F7F7F7, Text #242424, Accent #19A7CE
|
| 71 |
+
- Fonts: Inter for text, Source Code Pro for code
|
| 72 |
+
|
| 73 |
+
## License
|
| 74 |
+
|
| 75 |
+
This project is open source and available under the MIT License.
|