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- DeepSeek
|
10 |
+
- DeepSeek-V3.1-4bit
|
11 |
+
- Dash
|
12 |
+
- Folium
|
13 |
+
---
|
14 |
+
# Model Card: World Explorer with DeepSeek AI
|
15 |
+
|
16 |
+
## Model Details
|
17 |
+
|
18 |
+
**Model Name:** World Explorer with DeepSeek AI
|
19 |
+
**Model Type:** Geographic Information System with AI Integration
|
20 |
+
**Architecture:** Dash Web Application with Folium Maps and DeepSeek Language Model
|
21 |
+
**Integration:** mlx-community/DeepSeek-V3.1-4bit, Dash, Folium
|
22 |
+
**Version:** 1.0.0
|
23 |
+
**Release Date:** September 5, 2025
|
24 |
+
**Developers:** Martin Rivera
|
25 |
+
|
26 |
+
## Model Description
|
27 |
+
|
28 |
+
The World Explorer with DeepSeek AI is an interactive web application that combines geographic visualization with advanced language model capabilities. It integrates:
|
29 |
+
|
30 |
+
- **mlx-community/DeepSeek-V3.1-4bit**: A quantized version of the DeepSeek V3.1 language model optimized for MLX
|
31 |
+
- **Dash**: A Python framework for building analytical web applications
|
32 |
+
- **Folium**: A Python library for creating interactive maps and geographic visualizations
|
33 |
+
|
34 |
+
This application provides an immersive experience for exploring world geography, country information, capitals, and famous landmarks through an intuitive interface powered by AI.
|
35 |
+
|
36 |
+
## Intended Use
|
37 |
+
|
38 |
+
This model is designed for:
|
39 |
+
|
40 |
+
- Educational purposes for learning about world geography
|
41 |
+
- Tourism planning and destination research
|
42 |
+
- Geographic data visualization and exploration
|
43 |
+
- Demonstrating the integration of language models with geographic information systems
|
44 |
+
- Research in human-computer interaction with AI-powered geographic interfaces
|
45 |
+
|
46 |
+
## Features
|
47 |
+
|
48 |
+
### Core Capabilities
|
49 |
+
- Interactive world map with precise geographic coordinates
|
50 |
+
- Country information including capitals and coordinates
|
51 |
+
- Detailed landmark data with exact geographic positions
|
52 |
+
- AI-powered natural language queries about geographic information
|
53 |
+
- Real-time responses to questions about countries, capitals, and landmarks
|
54 |
+
|
55 |
+
### Technical Integration
|
56 |
+
- MLX-optimized DeepSeek model for efficient inference
|
57 |
+
- Responsive Dash web interface with Bootstrap styling
|
58 |
+
- Folium-based interactive maps with marker clusters
|
59 |
+
- Multi-threaded model loading for non-blocking user experience
|
60 |
+
- Advanced query parsing for geographic context understanding
|
61 |
+
|
62 |
+
## Data
|
63 |
+
|
64 |
+
The application uses a comprehensive dataset of 10 countries with:
|
65 |
+
|
66 |
+
- Precise coordinates for each country's capital
|
67 |
+
- 30 famous landmarks with exact geographic coordinates
|
68 |
+
- Curated information about each geographic feature
|
69 |
+
|
70 |
+
### Countries Included:
|
71 |
+
- France, United States, Japan, India, Brazil
|
72 |
+
- Egypt, Australia, Italy, China, United Kingdom
|
73 |
+
|
74 |
+
### Landmark Examples:
|
75 |
+
- Eiffel Tower (48.858222, 2.2945)
|
76 |
+
- Great Wall of China (40.68, 117.23)
|
77 |
+
- Taj Mahal (27.175, 78.041944)
|
78 |
+
- Statue of Liberty (40.689167, -74.044444)
|
79 |
+
- Pyramids of Giza (29.9725, 31.128333)
|
80 |
+
|
81 |
+
## Installation and Usage
|
82 |
+
|
83 |
+
### Requirements
|
84 |
+
```bash
|
85 |
+
dash==2.14.2
|
86 |
+
dash-bootstrap-components==1.5.0
|
87 |
+
folium==0.15.1
|
88 |
+
pandas==2.1.4
|
89 |
+
numpy==1.26.4
|
90 |
+
mlx==0.0.6
|
91 |
+
transformers==4.37.2
|
92 |
+
```
|
93 |
+
|
94 |
+
### Installation
|
95 |
+
```bash
|
96 |
+
git clone <repository>
|
97 |
+
cd world-explorer-deepseek
|
98 |
+
pip install -r requirements.txt
|
99 |
+
```
|
100 |
+
|
101 |
+
### Running the Application
|
102 |
+
```bash
|
103 |
+
python app.py
|
104 |
+
```
|
105 |
+
The application will be available at `http://localhost:8050`
|
106 |
+
|
107 |
+
### Model Setup
|
108 |
+
The application requires the MLX-optimized DeepSeek model from:
|
109 |
+
```
|
110 |
+
MODEL_PATH = "/Users/martinrivera/deepseek_v3_1_4bit_mlx/deepseek_v3_4bit" (Modify with your own MODEL_PATH = "path/to DeepSeek")
|
111 |
+
```
|
112 |
+
|
113 |
+
## Performance
|
114 |
+
|
115 |
+
### Response Quality
|
116 |
+
The model provides accurate geographic information with:
|
117 |
+
- Precise coordinate data for all locations
|
118 |
+
- Context-aware responses based on user queries
|
119 |
+
- Natural language understanding of geographic concepts
|
120 |
+
- Multi-level information retrieval (country → capital → landmarks)
|
121 |
+
|
122 |
+
### Efficiency
|
123 |
+
- 4-bit quantization for reduced memory footprint
|
124 |
+
- MLX optimization for Apple Silicon performance
|
125 |
+
- Async model loading for responsive user experience
|
126 |
+
- Efficient geographic data structures for quick retrieval
|
127 |
+
|
128 |
+
## Limitations
|
129 |
+
|
130 |
+
### Current Limitations
|
131 |
+
- Dataset limited to 10 countries and 30 landmarks
|
132 |
+
- Requires specific model path configuration
|
133 |
+
- Optimized for macOS with Apple Silicon
|
134 |
+
- English language queries only
|
135 |
+
|
136 |
+
### Geographic Coverage
|
137 |
+
While the application includes major countries and landmarks, it does not represent a complete global dataset. Users should note that:
|
138 |
+
|
139 |
+
- Some countries and regions are not included
|
140 |
+
- Landmark selection focuses on well-known tourist destinations
|
141 |
+
- Coordinate precision varies based on source data
|
142 |
+
|
143 |
+
## Ethical Considerations
|
144 |
+
|
145 |
+
### Data Accuracy
|
146 |
+
All geographic data has been verified from multiple sources, but users should:
|
147 |
+
- Verify critical information from official sources
|
148 |
+
- Understand that coordinates may have slight variations between sources
|
149 |
+
- Recognize that some landmarks span large areas (e.g., Great Barrier Reef)
|
150 |
+
|
151 |
+
### Privacy
|
152 |
+
- The application does not collect user data
|
153 |
+
- All processing happens locally when possible
|
154 |
+
- No personal information is stored or transmitted
|
155 |
+
|
156 |
+
## Future Improvements
|
157 |
+
|
158 |
+
Planned enhancements include:
|
159 |
+
- Expanded geographic coverage to more countries
|
160 |
+
- Additional landmark categories (natural wonders, historical sites)
|
161 |
+
- Multi-language support
|
162 |
+
- User-contributed data features
|
163 |
+
- Advanced visualization options (3D maps, time-based data)
|
164 |
+
- Integration with real-time geographic data sources
|
165 |
+
|
166 |
+
## Citation
|
167 |
+
|
168 |
+
If you use this model in your research or projects, please cite:
|
169 |
+
|
170 |
+
```bibtex
|
171 |
+
@software{world_explorer_deepseek_2025,
|
172 |
+
title = {World Explorer with DeepSeek AI},
|
173 |
+
author = {Rivera, Martin},
|
174 |
+
year = {2025},
|
175 |
+
url = {https://huggingface.co/mlx-community/DeepSeek-V3.1-4bit},
|
176 |
+
note = {Integration of MLX-optimized DeepSeek with Dash and Folium}
|
177 |
+
}
|
178 |
+
```
|
179 |
+
|
180 |
+
## License
|
181 |
+
|
182 |
+
This project integrates multiple components with different licenses:
|
183 |
+
|
184 |
+
- **DeepSeek Model**: Subject to DeepSeek's model license terms
|
185 |
+
- **Dash**: MIT License
|
186 |
+
- **Folium**: MIT License
|
187 |
+
- **Application Code**: MIT License
|
188 |
+
|
189 |
+
Users should review and comply with all respective license terms.
|
190 |
+
|
191 |
+
## Contact
|
192 |
+
|
193 |
+
|
194 |
+
For questions about the DeepSeek model:
|
195 |
+
- Hugging Face: [mlx-community/DeepSeek-V3.1-4bit](https://huggingface.co/mlx-community/DeepSeek-V3.1-4bit)
|
196 |
+
|
197 |
+
## Acknowledgements
|
198 |
+
|
199 |
+
This project builds upon:
|
200 |
+
- DeepSeek AI for the language model capabilities
|
201 |
+
- MLX community for Apple Silicon optimization
|
202 |
+
- Plotly for the Dash framework
|
203 |
+
- Python Folium library for geographic visualization
|
204 |
+
- OpenStreetMap for base map data
|
205 |
+
|
206 |
+
---
|
207 |
+
|
208 |
+
*This model card was generated as part of the World Explorer with DeepSeek AI project to provide transparency about the capabilities, limitations, and appropriate use of this geographic AI application.*
|