Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,800 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from graphviz import Digraph
|
3 |
+
|
4 |
+
|
5 |
+
st.markdown("""
|
6 |
+
# Goals of Cognitive AI with Human Feedback (CAHF):
|
7 |
+
1. Use Models to predict outcomes
|
8 |
+
2. Use AI to predict conditions, disease, and flavors of AI with explainability.
|
9 |
+
3. Cognitive AI - Mimic how humans reason through decision making processes.
|
10 |
+
4. Reasoning cycles - "Recommended for You" reasoners - what type of person, classification of users, recommend what products
|
11 |
+
5. High Acuity Reasoners - Only make decisions on rules of what it can and cannot do within human feedback guidelines.
|
12 |
+
-Emphasis on explainability, transparency, removing administrative burden and protocolize what staff is doing.
|
13 |
+
-Vetted by SME's, adding value of judgement and training to pick up skills from human feedback.
|
14 |
+
-Alerts, Recommended Actions, and Clinical Terminology per entity including LOINC, SNOMED, ICD10, Drug Codes, HCPCS and CPT codes,
|
15 |
+
6. Non static multi agent cognitive approach - real time series - factors predictive of outcome.
|
16 |
+
7. Cognitive models take form of Ontology - for some type of computable set - relationships stored in Ontology can be ingested by reasoner
|
17 |
+
-Use models of world to build predictions and recommendations with answers that are cumulative with information we know
|
18 |
+
8. Reasoners can standardize to make it easier as possible to do right thing with learned recommendation tools, questions and actions.
|
19 |
+
""")
|
20 |
+
|
21 |
+
st.markdown("""
|
22 |
+
# ๐ Clinical Terminology and Ontologies for Medications and Conditions for Behavioral Health
|
23 |
+
1. 1๏ธโฃ National Library of Medicine's RxNorm:
|
24 |
+
- Standardized nomenclature for clinical drugs developed by NLM
|
25 |
+
- Provides links between drug names and related information such as ingredients, strengths, and dosages
|
26 |
+
- Data type: controlled vocabulary
|
27 |
+
- Access through NLM's RxNorm website: https://www.nlm.nih.gov/research/umls/rxnorm/index.html
|
28 |
+
2. 2๏ธโฃ Centers for Medicare and Medicaid Services' Healthcare Common Procedure Coding System (HCPCS):
|
29 |
+
- Coding system used to identify healthcare services, procedures, and supplies
|
30 |
+
- Includes codes for drugs, biologicals, and other items used in medical care
|
31 |
+
- Data type: coding system
|
32 |
+
- Access through CMS website: https://www.cms.gov/Medicare/Coding/MedHCPCSGenInfo
|
33 |
+
3. 3๏ธโฃ Unified Medical Language System (UMLS):
|
34 |
+
- Set of files and software tools developed by NLM for integrating and mapping biomedical vocabularies
|
35 |
+
- Includes RxNorm and other drug vocabularies, as well as other terminologies used in medicine
|
36 |
+
- Data type: controlled vocabulary
|
37 |
+
- Access through UMLS Metathesaurus: https://www.nlm.nih.gov/research/umls/index.html
|
38 |
+
4. 4๏ธโฃ PubMed:
|
39 |
+
- Database of biomedical literature maintained by the National Center for Biotechnology Information (NCBI)
|
40 |
+
- Includes information about drugs, including drug names, chemical structures, and pharmacological actions
|
41 |
+
- Data type: bibliographic database
|
42 |
+
- Access through PubMed website: https://pubmed.ncbi.nlm.nih.gov/
|
43 |
+
5. 5๏ธโฃ PubChem:
|
44 |
+
- Database of chemical substances maintained by NCBI
|
45 |
+
- Includes information about drugs, including chemical structures, properties, and activities
|
46 |
+
- Data type: chemical database
|
47 |
+
- Access through PubChem website: https://pubchem.ncbi.nlm.nih.gov/
|
48 |
+
6. 6๏ธโฃ Behavioral Health Code Terminology Sets:
|
49 |
+
- Code terminology sets specific to behavioral health
|
50 |
+
- Includes DSM published by American Psychiatric Association, ICD published by World Health Organization, and CPT published by American Medical Association
|
51 |
+
- Data type: coding system
|
52 |
+
- Access through respective organizations' websites:
|
53 |
+
1. DSM: https://www.psychiatry.org/psychiatrists/practice/dsm
|
54 |
+
2. ICD: https://www.who.int/standards/classifications/classification-of-diseases
|
55 |
+
3. CPT: https://www.ama-assn.org/practice-management/cpt/current-procedural-terminology-cpt
|
56 |
+
""")
|
57 |
+
|
58 |
+
st.markdown("""
|
59 |
+
1. # ๐Natural Language Processing๐ค - ๐ฃ๏ธ๐ค๐ญ๐ฌ๐๐
|
60 |
+
1. ๐ค **Sentiment analysis** - Determine underlying sentiment of text. [Example](https://huggingface.co/spaces/awacke1/Sentiment-analysis-streamlit)
|
61 |
+
2. ๐ **Named Entity Recognition (NER)** - Identify and classify named entities in text. [Example](https://huggingface.co/spaces/awacke1/Named-entity-resolution)
|
62 |
+
3. ๐ **Speech recognition** - Transcribe spoken language into text.
|
63 |
+
- Examples
|
64 |
+
1. https://huggingface.co/spaces/awacke1/ASR-High-Accuracy-Test
|
65 |
+
2. https://huggingface.co/spaces/awacke1/ASRGenerateStory
|
66 |
+
3. https://huggingface.co/spaces/awacke1/TTS-STT-Blocks
|
67 |
+
4. https://huggingface.co/spaces/awacke1/CloneAnyVoice
|
68 |
+
5. https://huggingface.co/spaces/awacke1/ASR-SOTA-NvidiaSTTMozilla
|
69 |
+
4. ๐ **Machine translation** - Translate text between languages automatically. [Example](https://huggingface.co/spaces/awacke1/Machine-translation)
|
70 |
+
5. ๐ **Text summarization** - Automatically summarize large volumes of text. [Example](https://huggingface.co/spaces/awacke1/Text-summarization)
|
71 |
+
6. โ **Question answering** - Answer questions posed in natural language. [Example](https://huggingface.co/spaces/awacke1/Question-answering)
|
72 |
+
7. ๐ค **Sentiment-aware chatbots** - Use sentiment analysis to detect user emotions and respond appropriately.
|
73 |
+
8. ๐ **Text classification** - Classify text into different categories. [Example](https://huggingface.co/spaces/awacke1/Text-classification)
|
74 |
+
9. ๐ฌ **Text generation** - Generate natural language text. [Example](https://huggingface.co/spaces/awacke1/Text-generation)
|
75 |
+
10. ๐ **Topic modeling** - Automatically identify topics in a large corpus of text. [Example](https://huggingface.co/spaces/awacke1/Topic-modeling)
|
76 |
+
- Examples
|
77 |
+
1. NLP Video Summary: https://huggingface.co/spaces/awacke1/Video-Summary
|
78 |
+
2. TTS-STT ASR with Multiple Voices: https://huggingface.co/spaces/awacke1/TTS-STT-Blocks
|
79 |
+
3. NLP Transcript with Video Player: https://huggingface.co/spaces/awacke1/Streamlit-ASR-Video
|
80 |
+
4. NLP Clinical Ontology Biomedical NER: https://huggingface.co/spaces/awacke1/Biomed-NLP-AI-Clinical-Terminology
|
81 |
+
5. Document Understanding and NLP: https://huggingface.co/spaces/awacke1/AIDocumentUnderstandingOCR
|
82 |
+
6. NLP ASR Wav2Vec2 Multilingual: https://huggingface.co/spaces/awacke1/ASR-High-Accuracy-Test
|
83 |
+
7. Live ASR: https://huggingface.co/spaces/awacke1/ASR-SOTA-NvidiaSTTMozilla
|
84 |
+
8. NLP and Visualization: https://huggingface.co/spaces/awacke1/Visualization-Plotly-Sunbursts-Treemaps-and-WebGL
|
85 |
+
""")
|
86 |
+
|
87 |
+
st.markdown("""
|
88 |
+
2. # ๐ฎGenerative AI๐ญ (๐จImages and ๐Text) - ๐ต๐งฉ๐๐๐
|
89 |
+
1. ๐ **Generation of new data**: Create new data that resembles existing data. [Example](https://huggingface.co/spaces/awacke1/GenAI-Generate-New-Data-Resembling-Example)
|
90 |
+
2. ๐จ **Creative potential**: Generate music, art, or literature. [Example](https://huggingface.co/spaces/awacke1/Creative-Potential-Music-Art-Lit)
|
91 |
+
3. ๐ **Data synthesis**: Synthesize data from multiple sources to create new datasets. [Example](https://huggingface.co/spaces/awacke1/Data-Synthesizer-Synthesize-From-Multiple-Sources)
|
92 |
+
4. ๐ **Data augmentation**: Augment existing datasets to make them larger and more diverse. [Example](https://huggingface.co/spaces/awacke1/Data-Augmentation)
|
93 |
+
5. ๐ **Domain transfer**: Transfer knowledge learned from one domain to another.
|
94 |
+
6. ๐ **Unsupervised learning**: Learn patterns without labeled training data.
|
95 |
+
7. ๐ **Adaptive learning**: Adapt to changes in data over time.
|
96 |
+
8. ๐ **Noise injection**: Introduce noise to explore a wider range of possibilities.
|
97 |
+
9. ๐ถ๏ธ **Latent space manipulation**: Control output by manipulating a model's latent space.
|
98 |
+
10. ๐ผ๏ธ **Realistic output**: Produce output that is difficult to distinguish from human-created data.
|
99 |
+
- Examples
|
100 |
+
1. Quantum AI Circuits: https://huggingface.co/spaces/awacke1/AI-Quantum?option=Circuit
|
101 |
+
2. Generate Story and Video: https://huggingface.co/spaces/awacke1/ASRGenerateStoryandVideo
|
102 |
+
3. ASR Generate Story: https://huggingface.co/spaces/awacke1/ASRGenerateStory
|
103 |
+
4. Music Generation: https://huggingface.co/spaces/awacke1/MusicMaker
|
104 |
+
""")
|
105 |
+
|
106 |
+
st.markdown("""
|
107 |
+
3. # ๐ทImage Recognition๐๏ธ
|
108 |
+
1. ๐ท **Object detection**: Detect and identify multiple objects in an image for detailed analysis and classification.
|
109 |
+
2. ๐๏ธ **Scene recognition**: Recognize and classify entire scenes based on objects, colors, and shapes.
|
110 |
+
3. ๐ **Facial recognition**: Analyze facial features for accurate identification.
|
111 |
+
4. ๐ **Emotion recognition**: Identify emotions on a subject's face, including happiness, sadness, and anger.
|
112 |
+
5. ๐ค **Text recognition**: Identify and translate text in images for analysis.
|
113 |
+
6. ๐จ **Color recognition**: Detect colors and provide information on hue, saturation, and brightness.
|
114 |
+
7. ๐ **Image segmentation**: Divide an image into multiple regions for individual analysis and classification.
|
115 |
+
8. ๐
**Image restoration**: Remove noise and blur, restoring images to original clarity and quality.
|
116 |
+
9. ๐ **Image classification**: Classify images into categories like animals, buildings, or landscapes.
|
117 |
+
10. ๐จ **Style transfer**: Apply the style of one image to another for unique and innovative results.
|
118 |
+
- Examples
|
119 |
+
1. Text-to-Image : [Image Classification](https://huggingface.co/spaces/awacke1/Prompt-Refinery-Text-to-Image-Generation)
|
120 |
+
2. Image Captions from 5 SOTA Generators: [URL](https://huggingface.co/spaces/awacke1/ImageCaptionPromptGenerator)
|
121 |
+
3. Image to Multilingual OCR: [URL](https://huggingface.co/spaces/awacke1/Image-to-Multilingual-OCR)
|
122 |
+
4. WRN - Wide Residual Networks: [URL](https://huggingface.co/spaces/awacke1/ResnetPytorchImageRecognition)
|
123 |
+
5. AI Document Understanding: [URL](https://huggingface.co/spaces/awacke1/AIDocumentUnderstandingOCR)
|
124 |
+
6. Elixir Docker Bumblebee: [URL](https://huggingface.co/spaces/awacke1/DockerImageRecognitionToText)
|
125 |
+
7. Speech to Text to Story to Images to Video: [URL](https://huggingface.co/spaces/awacke1/Speeech2Text2Story2Images2Video)
|
126 |
+
8. Image to Line Drawings: [URL](https://huggingface.co/spaces/awacke1/Image-to-Line-Drawings)
|
127 |
+
9. Semantic Image Search: [URL](https://huggingface.co/spaces/awacke1/Image-Semantic-Search)
|
128 |
+
10. Zoom Clip Toon: [URL](https://huggingface.co/spaces/awacke1/Zoom-Clip-Toon-Image-to-Image)
|
129 |
+
11. Image to Reading Labels: [URL](https://huggingface.co/spaces/awacke1/ImageOCRMultilingual)
|
130 |
+
12. A Game For That - Gamification Using Snapshot Images: [URL](https://huggingface.co/spaces/awacke1/AGameForThat)
|
131 |
+
13. AI Visually Plays QBert, Pong, Seaquest and more: [URL](https://huggingface.co/spaces/awacke1/AI-Atari-Live-Streamlit)
|
132 |
+
14. AI Creates Generator Style Mix Art from Encyclopedia: [URL](https://huggingface.co/spaces/awacke1/Art-Generator-and-Style-Mixer)
|
133 |
+
15. BigGAN Image Gen and Search: [URL](https://huggingface.co/spaces/awacke1/AI-BigGAN-Image-Gen)
|
134 |
+
16. Art Style Line Drawings: [URL](https://huggingface.co/spaces/awacke1/ArtStyleFoodsandNutrition)
|
135 |
+
17. Yolo Real Time Image Recognition from Webcam: https://huggingface.co/spaces/awacke1/Webcam-Object-Recognition-Yolo-n-Coco
|
136 |
+
""")
|
137 |
+
|
138 |
+
st.markdown("""
|
139 |
+
4. # ๐ฃ๏ธSpeech Recognition๐ฌ
|
140 |
+
1. ๐ **Continuous Speech Recognition**: Transcribe spoken words in real-time without pausing.
|
141 |
+
2. ๐ฃ๏ธ **Speaker Identification**: Identify individual speakers through unique features in their speech.
|
142 |
+
3. ๐ง **Contextual Awareness**: Understand conversation context and interpret word meaning.
|
143 |
+
4. ๐ **Multilingual Support**: Recognize and transcribe multiple languages for translation.
|
144 |
+
5. ๐ **Noise Reduction**: Filter out background noise to improve transcription quality.
|
145 |
+
6. ๐ **Voice Biometrics**: Verify speaker identity and provide secure access to personal data.
|
146 |
+
7. ๐๏ธ **Command and Control**: Interpret voice commands to automate tasks and interact with software.
|
147 |
+
8. ๐ฌ **Natural Language Processing**: Understand complex human speech patterns.
|
148 |
+
9. ๐ง **Adaptive Learning**: Learn and adapt to improve accuracy over time.
|
149 |
+
10. โ๏ธ **Cloud-Based Deployment**: Real-time processing of large amounts of data, even on mobile devices.
|
150 |
+
""")
|
151 |
+
|
152 |
+
st.markdown("""
|
153 |
+
5. # Reinforcement Learning
|
154 |
+
1. ๐ **Reward-driven**: RL uses rewards or punishments to drive its learning process.
|
155 |
+
2. ๐งช **Trial-and-error learning**: RL is a trial-and-error learning method, where an agent tries different actions to find the best action that will maximize the cumulative reward.
|
156 |
+
3. ๐ค **Exploration-exploitation trade-off**: RL agents need to balance exploration and exploitation to find new possibilities while also exploiting successful actions.
|
157 |
+
4. ๐ **Markov Decision Processes**: RL uses MDPs to model decision-making processes.
|
158 |
+
5. ๐ **Policy optimization**: RL uses policy optimization techniques to find the best policy for a given task or learn the optimal policy from scratch.
|
159 |
+
6. ๐ฐ **Value-based methods**: RL uses value-based methods to estimate the value of each state or action.
|
160 |
+
7. ๐ง **Model-based methods**: RL can use model-based methods to predict the outcomes of different actions.
|
161 |
+
8. ๐ค **Deep Reinforcement Learning**: DRL combines RL with deep learning techniques to learn complex decision-making tasks.
|
162 |
+
9. ๐ **Transfer learning**: RL can use transfer learning techniques to transfer knowledge learned in one task to another task.
|
163 |
+
10. ๐ค **Multi-agent RL**: RL can handle multiple agents that interact with each other.
|
164 |
+
""")
|
165 |
+
|
166 |
+
st.markdown("""
|
167 |
+
6. ๐ฒGame Theory๐ฒ โ Traditional AI processes
|
168 |
+
1. ๐ค **Interdependence**: Game Theory considers decision-making among multiple agents, unlike traditional AI processes which focus on a single agent.
|
169 |
+
2. ๐ฏ **Strategic Behavior**: Game Theory assumes that agents aim to maximize their payoffs based on the actions of other agents. Traditional AI may not consider this strategic element.
|
170 |
+
3. ๐ฐ **Payoffs**: Game Theory calculates payoffs for each agent based on their actions and the actions of other agents, unlike traditional AI which may focus on a single objective.
|
171 |
+
4. โ๏ธ **Equilibrium**: Game Theory seeks to identify stable states in the game where no agent has an incentive to deviate from their current strategy. Traditional AI may not seek to find an equilibrium.
|
172 |
+
5. ๐ฒ **Game Formulation**: Game Theory formulates a game, including rules, players, and possible actions, unlike traditional AI which may not require such formulation.
|
173 |
+
6. ๐ก **Solution Concepts**: Game Theory has various solution concepts, such as Nash Equilibrium and Pareto Efficiency, to identify the most desirable outcomes. Traditional AI may not have such concepts.
|
174 |
+
7. ๐ **Information**: Game Theory considers the information available to each agent in the game. Traditional AI may not consider information explicitly.
|
175 |
+
8. โ๏ธ **Adversarial**: Game Theory models adversarial scenarios where agents have conflicting goals. Traditional AI may assume cooperation among agents.
|
176 |
+
9. โ **Uncertainty**: Game Theory deals with uncertainty and incomplete information in the game. Traditional AI may not consider uncertainty.
|
177 |
+
10. ๐ **Complexity**: Game Theory deals with complex multi-agent interactions. Traditional AI may focus on single-agent optimization.
|
178 |
+
- Examples
|
179 |
+
1. Health Care Game: https://huggingface.co/spaces/awacke1/AI-RPG-Self-Play-RLML-Health-Battler-Game
|
180 |
+
2. Player Card Monster Battler: https://huggingface.co/spaces/awacke1/Player-Card-Monster-Battler-For-Math-and-AI
|
181 |
+
3. Blackjack 21 : https://huggingface.co/spaces/awacke1/BlackjackSimulatorCardGameAI
|
182 |
+
4. Sankey Snacks Math Chart Animator: https://huggingface.co/spaces/awacke1/Sankey-Snacks
|
183 |
+
5. Emojitrition: https://huggingface.co/spaces/awacke1/Emojitrition-Fun-and-Easy-Nutrition
|
184 |
+
""")
|
185 |
+
|
186 |
+
st.markdown("""
|
187 |
+
7. # ๐Card Game๐ Activity
|
188 |
+
1. ๐ **Card crafting**: Combine existing cards or materials to craft custom cards. [Example](https://huggingface.co/spaces/awacke1/CardCrafter-CraftCustomCards)
|
189 |
+
2. ๐ **Card evolution**: Level up or combine cards to create more powerful versions.
|
190 |
+
3. ๐จ **Deck building**: Build custom decks that match your play style.
|
191 |
+
4. โ๏ธ **Real-time multiplayer battles**: Battle against other players in real-time.
|
192 |
+
5. ๐ **Story-driven campaigns**: Play through story-driven campaigns to earn new cards and mechanics.
|
193 |
+
6. ๐ **Roguelike elements**: Randomly generated levels and card drops keep gameplay unpredictable.
|
194 |
+
7. ๐ค **Co-op play**: Team up with other players to tackle difficult challenges or bosses.
|
195 |
+
8. ๐ฒ **Hybrid gameplay**: Combine card-based gameplay with elements from other genres.
|
196 |
+
9. ๐ฅ **Multi-card play**: Use multiple cards at once to create powerful combos or synergies.
|
197 |
+
10. ๐บ๏ธ **Tactical positioning**: Strategically place your cards on a game board or battlefield to gain an advantage.
|
198 |
+
- Examples
|
199 |
+
1. Game Mechanics Top 20: https://huggingface.co/spaces/awacke1/CardGameMechanics
|
200 |
+
2. Game Activity Graph: https://huggingface.co/spaces/awacke1/CardGameActivity-GraphViz
|
201 |
+
3. Game Mechanics Deep Dive: https://huggingface.co/spaces/awacke1/CardGameActivity
|
202 |
+
4. Hexagon Dice: https://huggingface.co/spaces/awacke1/Hexagon-Dice-Fractal-Math-Game
|
203 |
+
5. Dice Roll Game: https://huggingface.co/spaces/awacke1/Dice-Roll-Fractals-STEM-Math
|
204 |
+
6. Pyplot Dice Game: https://huggingface.co/spaces/awacke1/Streamlit-Pyplot-Math-Dice-Game
|
205 |
+
7. SVG Card Generation: https://huggingface.co/spaces/awacke1/VizLib-SVGWrite-Streamlit
|
206 |
+
""")
|
207 |
+
|
208 |
+
|
209 |
+
st.markdown("""
|
210 |
+
# Examples of AI
|
211 |
+
# Examples:
|
212 |
+
1. Mechanics: https://huggingface.co/spaces/awacke1/CardGameActivity
|
213 |
+
2. GraphViz: https://huggingface.co/spaces/awacke1/CardGameActivity-GraphViz
|
214 |
+
3. https://huggingface.co/spaces/awacke1/CardGameActivity-TwoPlayerAndAI
|
215 |
+
## AI For Long Question Answering
|
216 |
+
1. ๐ฅ๏ธ First, we'll teach a smart computer to browse the internet and find information. https://huggingface.co/spaces/awacke1/StreamlitWikipediaChat
|
217 |
+
- ๐ง It will be like having a super-smart search engine!
|
218 |
+
2. ๐ค Then, we'll train the computer to answer questions by having it learn from how humans answer questions.
|
219 |
+
- ๐ค We'll teach it to imitate how people find and use information on the internet.
|
220 |
+
3. ๐ To make sure the computer's answers are correct, we'll teach it to collect references from the internet to support its answers.
|
221 |
+
- ๐ This way, it will only give answers that are true and based on facts.
|
222 |
+
4. ๐จโ๐ฉโ๐งโ๐ฆ We'll test our invention on a special set of questions that real people have asked.
|
223 |
+
- ๐งช We'll make sure the computer's answers are as good as, or even better than, the answers from real people.
|
224 |
+
5. ๐ Our goal is to make the computer's answers preferred by people more than half the time!
|
225 |
+
- ๐ค If we can do that, it means the computer is really good at answering questions.
|
226 |
+
""")
|
227 |
+
|
228 |
+
|
229 |
+
st.markdown("""
|
230 |
+
# Future of AI
|
231 |
+
# Large Language Model - Human Feedback Metrics:
|
232 |
+
**ROUGE** and **BLEU** are tools that help us measure how good a computer is at writing or translating sentences.
|
233 |
+
## [ROUGE](https://huggingface.co/spaces/evaluate-metric/rouge)
|
234 |
+
## [BLEU](https://huggingface.co/spaces/evaluate-metric/bleu)
|
235 |
+
1. ROUGE looks at a sentence made by a computer and checks how similar it is to sentences made by humans.
|
236 |
+
1. It tries to see if the important information is the same.
|
237 |
+
2. To do this, ROUGE looks at the groups of words that are the same in both the computer's sentence
|
238 |
+
1. and the human's sentence.
|
239 |
+
2. The more groups of words that are the same, the higher the score.
|
240 |
+
3. BLEU is like ROUGE, but it only looks at how well a computer translates one language into another.
|
241 |
+
1. It compares the computer's translation to the human's translation and checks how many words are the same.
|
242 |
+
# If the scores for ROUGE or BLEU are high, it means that the computer is doing a good job.
|
243 |
+
1. But it's also important to remember that these tools have their limits,
|
244 |
+
2. and we need to use other ways to check if the computer is doing a good job.
|
245 |
+
1. **ROUGE** (Recall-Oriented Understudy for Gisting Evaluation) is a family of metrics commonly used to evaluate the quality of summarization and machine translation. ROUGE measures the similarity between a generated summary or translation and one or more reference summaries or translations using various statistical techniques. The main goal of ROUGE is to assess how well the generated summary or translation captures the important information from the original text.
|
246 |
+
2. **ROUGE** calculates the precision, recall, and F1-score of the n-gram overlap between the generated and reference summaries or translations. Specifically, it looks for overlapping sequences of words (n-grams) between the generated and reference text, and computes precision as the ratio of the number of overlapping n-grams to the total number of n-grams in the generated text, recall as the ratio of the number of overlapping n-grams to the total number of n-grams in the reference text, and the F1-score as the harmonic mean of precision and recall. ROUGE can be computed at different n-gram levels, including unigrams, bigrams, trigrams, etc., as well as at the sentence or document level.
|
247 |
+
3. **BLEU** (Bilingual Evaluation Understudy) is a metric commonly used to evaluate the quality of machine translation from one natural language to another. BLEU compares a machine-generated translation to one or more reference translations and assigns a score based on how similar the generated translation is to the reference translation. BLEU uses a modified form of precision to calculate the score.
|
248 |
+
4. **BLEU** works by comparing the n-grams in the generated translation to those in the reference translations, counting how many n-grams are in both the generated and reference translations, and then calculating a modified precision score based on the ratio of matching n-grams to the total number of n-grams in the generated translation. BLEU can be computed at different n-gram levels, including unigrams, bigrams, trigrams, etc. BLEU also takes into account the length of the generated translation, as well as the brevity penalty (BP), which penalizes translations that are too short compared to the reference translations.
|
249 |
+
5. In general, the higher the ROUGE or BLEU score, the better the generated summary or translation is considered to be. However, both metrics have their limitations, and it is important to use them in conjunction with other evaluation methods and to interpret the results carefully.
|
250 |
+
""")
|
251 |
+
|
252 |
+
|
253 |
+
st.markdown("""
|
254 |
+
๐ Scoring Human Feedback Metrics with ROUGE and BLEU
|
255 |
+
๐ Using ROUGE
|
256 |
+
Goal: Evaluate the quality of summarization and machine translation through measuring the similarity between a generated summary or translation and one or more reference summaries or translations.
|
257 |
+
Method:
|
258 |
+
- Calculate precision, recall, and F1-score of the n-gram overlap between the generated and reference summaries or translations.
|
259 |
+
- Look for overlapping sequences of words (n-grams) between the generated and reference text.
|
260 |
+
- Compute precision as the ratio of the number of overlapping n-grams to the total number of n-grams in the generated text.
|
261 |
+
- Compute recall as the ratio of the number of overlapping n-grams to the total number of n-grams in the reference text.
|
262 |
+
- Compute the F1-score as the harmonic mean of precision and recall.
|
263 |
+
- ROUGE can be computed at different n-gram levels, including unigrams, bigrams, trigrams, etc., as well as at the sentence or document level.
|
264 |
+
๐ Using BLEU
|
265 |
+
Goal: Evaluate the quality of machine translation from one natural language to another by comparing a machine-generated translation to one or more reference translations.
|
266 |
+
Method:
|
267 |
+
- Calculate the modified precision score based on the ratio of matching n-grams to the total number of n-grams in the generated translation.
|
268 |
+
- Compare the n-grams in the generated translation to those in the reference translations.
|
269 |
+
- Count how many n-grams are in both the generated and reference translations.
|
270 |
+
- BLEU can be computed at different n-gram levels, including unigrams, bigrams, trigrams, etc.
|
271 |
+
- BLEU takes into account the length of the generated translation, as well as the brevity penalty (BP), which penalizes translations that are too short compared to the reference translations.
|
272 |
+
๐ Human Feedback Metrics
|
273 |
+
Goal: Measure the effectiveness of human feedback on improving machine-generated summaries and translations.
|
274 |
+
Method:
|
275 |
+
- Compare the ROUGE and BLEU scores of a machine-generated summary or translation before and after receiving human feedback.
|
276 |
+
Example:
|
277 |
+
1. Generate a summary or translation using a machine translation system.
|
278 |
+
2. Calculate the ROUGE and BLEU scores for the machine-generated output.
|
279 |
+
3. Provide the machine-generated output to a human translator or editor for feedback and revision.
|
280 |
+
4. Re-calculate the ROUGE and BLEU scores for the revised output.
|
281 |
+
5. Compare the scores to measure the effectiveness of the human feedback.
|
282 |
+
""")
|
283 |
+
|
284 |
+
|
285 |
+
|
286 |
+
st.markdown("""
|
287 |
+
# Reinforcement Learning from Human Feedback (RLHF)
|
288 |
+
## ๐ค RLHF is a way for computers to learn how to do things better by getting help and feedback from people,
|
289 |
+
- just like how you learn new things from your parents or teachers.
|
290 |
+
๐ฎ Let's say the computer wants to learn how to play a video game.
|
291 |
+
- It might start by trying different things and seeing what happens.
|
292 |
+
๐ If it does something good, like getting a high score, it gets a reward.
|
293 |
+
๐ If it does something bad, like losing a life, it gets a punishment.
|
294 |
+
๐ฉโ๐ป Now, imagine that a person is watching the computer play the game and giving it feedback.
|
295 |
+
-The person might say things like "Good job!" when the computer gets a high score
|
296 |
+
- or "Oops, try again!" when it loses a life.
|
297 |
+
๐ก This feedback helps the computer figure out which actions are good and which ones are bad.
|
298 |
+
-The computer then uses this feedback to adjust its actions and get better at playing the game.
|
299 |
+
๐ค It might try different strategies and see which ones get the best feedback from the person.
|
300 |
+
-Over time, the computer gets better and better at playing the game, just like how you get better at things by practicing and getting help from others.
|
301 |
+
๐ RLHF is a cool way for computers to learn and improve with the help of people.
|
302 |
+
-Who knows, maybe one day you can teach a computer to do something amazing!
|
303 |
+
# Digraph is a class in the graphviz package that represents a directed graph.
|
304 |
+
1. It is used to create graphs with nodes and edges.
|
305 |
+
2. It can be customized with various styles and formatting options.
|
306 |
+
3. Here is an example of defining a Digraph with emojis for the node labels:
|
307 |
+
1. from graphviz import Digraph
|
308 |
+
|
309 |
+
# Card Game Activity - Aaron
|
310 |
+
https://huggingface.co/spaces/awacke1/CardGameActivity-GraphViz
|
311 |
+
https://huggingface.co/spaces/awacke1/CardGameActivity-TwoPlayerAndAI
|
312 |
+
https://huggingface.co/spaces/awacke1/CardGameActivity
|
313 |
+
https://huggingface.co/spaces/awacke1/CardGameMechanics
|
314 |
+
## Scalable Vector Graphics (SVG)
|
315 |
+
https://huggingface.co/spaces/awacke1/VizLib-SVGWrite-Streamlit
|
316 |
+
## Hospital Visualizations with Bed Count
|
317 |
+
https://huggingface.co/spaces/awacke1/VizLib-TopLargeHospitalsMentalHealth
|
318 |
+
https://huggingface.co/spaces/awacke1/VizLib-GraphViz-Folium-MapTopLargeHospitalsinWI
|
319 |
+
https://huggingface.co/spaces/awacke1/VizLib-TopLargeHospitalsMinnesota
|
320 |
+
## Graph Visualization
|
321 |
+
https://huggingface.co/spaces/awacke1/VizLib-GraphViz-SwimLanes-Digraph-ForMLLifecycle
|
322 |
+
## Clinical Terminology, Question Answering, Smart on FHIR
|
323 |
+
https://huggingface.co/spaces/awacke1/ClinicalTerminologyNER-Refactored
|
324 |
+
https://huggingface.co/spaces/awacke1/Assessment-By-Organs
|
325 |
+
https://huggingface.co/spaces/awacke1/SMART-FHIR-Streamlit-1
|
326 |
+
https://huggingface.co/spaces/awacke1/SMART-FHIR-Assessment-Test2
|
327 |
+
""")
|
328 |
+
|
329 |
+
|
330 |
+
card_game_dot = Digraph()
|
331 |
+
card_game_dot.node('start', shape='diamond', label='Start')
|
332 |
+
card_game_dot.node('end', shape='diamond', label='End')
|
333 |
+
card_game_dot.node('player1', shape='box', label='Player 1')
|
334 |
+
card_game_dot.node('player2', shape='box', label='Player 2')
|
335 |
+
card_game_dot.node('action', shape='parallelogram', label='Action')
|
336 |
+
card_game_dot.edge('start', 'player1')
|
337 |
+
card_game_dot.edge('player1', 'action', label='Action 1')
|
338 |
+
card_game_dot.edge('action', 'player2', label='Action 2')
|
339 |
+
card_game_dot.edge('player2', 'end')
|
340 |
+
st.graphviz_chart(card_game_dot)
|
341 |
+
|
342 |
+
# Game Theory - Traditional AI processes - Aaron
|
343 |
+
|
344 |
+
game_theory_dot = Digraph()
|
345 |
+
game_theory_dot.node('player1', shape='box', label='Player 1')
|
346 |
+
game_theory_dot.node('player2', shape='box', label='Player 2')
|
347 |
+
game_theory_dot.node('decision', shape='parallelogram', label='Decision')
|
348 |
+
game_theory_dot.node('outcome', shape='ellipse', label='Outcome')
|
349 |
+
game_theory_dot.edge('player1', 'decision', label='Decision 1')
|
350 |
+
game_theory_dot.edge('player2', 'decision', label='Decision 2')
|
351 |
+
game_theory_dot.edge('decision', 'outcome')
|
352 |
+
st.graphviz_chart(game_theory_dot)
|
353 |
+
|
354 |
+
# Examples of AI - Aaron
|
355 |
+
examples_dot = Digraph()
|
356 |
+
examples_dot.node('start', shape='diamond', label='Start')
|
357 |
+
examples_dot.node('end', shape='diamond', label='End')
|
358 |
+
examples_dot.node('agi', shape='box', label='AGI')
|
359 |
+
examples_dot.node('students', shape='box', label='Students ๐')
|
360 |
+
examples_dot.node('scientists', shape='box', label='Scientists ๐ฌ')
|
361 |
+
examples_dot.node('business', shape='box', label='Business Leaders ๐ผ')
|
362 |
+
examples_dot.node('medical', shape='box', label='Medical Professionals ๐ฉบ')
|
363 |
+
examples_dot.node('engineers', shape='box', label='Engineers ๐ ๏ธ')
|
364 |
+
examples_dot.node('environmentalists', shape='box', label='Environmentalists ๐ณ')
|
365 |
+
examples_dot.node('government', shape='box', label='Government Leaders ๐๏ธ')
|
366 |
+
examples_dot.edge('start', 'agi')
|
367 |
+
examples_dot.edge('agi', 'students')
|
368 |
+
examples_dot.edge('agi', 'scientists')
|
369 |
+
examples_dot.edge('agi', 'business')
|
370 |
+
examples_dot.edge('agi', 'medical')
|
371 |
+
examples_dot.edge('agi', 'engineers')
|
372 |
+
examples_dot.edge('agi', 'environmentalists')
|
373 |
+
examples_dot.edge('agi', 'government')
|
374 |
+
examples_dot.edge('students', 'end', label='๐งโ๐๐๐ก')
|
375 |
+
examples_dot.edge('scientists', 'end', label='๐จโ๐ฌ๐ป๐ญ')
|
376 |
+
examples_dot.edge('business', 'end', label='๐ฐ๐๐ป')
|
377 |
+
examples_dot.edge('medical', 'end', label='๐จโโ๏ธ๐๐ก๏ธ')
|
378 |
+
examples_dot.edge('engineers', 'end', label='๐ทโโ๏ธ๐ค๐')
|
379 |
+
examples_dot.edge('environmentalists', 'end', label='๐๐ก๏ธ๐ฆ')
|
380 |
+
# add edges for all world government flags
|
381 |
+
examples_dot.edge('government', 'end', label='๐๏ธ')
|
382 |
+
# TODO - try one - 10pts
|
383 |
+
#for country in pycountry.countries:
|
384 |
+
# flag_url = f'https://www.countryflags.io/{country.alpha_2}/flat/64.png'
|
385 |
+
# examples_dot.node(country.alpha_2, label='', image=flag_url, height='0.7', width='1.0')
|
386 |
+
# examples_dot.edge(country.alpha_2, 'government')
|
387 |
+
st.graphviz_chart(examples_dot)
|
388 |
+
|
389 |
+
|
390 |
+
# Image Recognition - Aaron
|
391 |
+
image_recognition_dot = Digraph()
|
392 |
+
image_recognition_dot.node('start', shape='diamond', label='Start')
|
393 |
+
image_recognition_dot.node('end', shape='diamond', label='End')
|
394 |
+
image_recognition_dot.node('input', shape='box', label='Input Image ๐ท')
|
395 |
+
image_recognition_dot.node('model', shape='box', label='Model ๐ง ')
|
396 |
+
image_recognition_dot.node('output', shape='box', label='Output Label ๐')
|
397 |
+
image_recognition_dot.edge('start', 'input')
|
398 |
+
image_recognition_dot.edge('input', 'model')
|
399 |
+
image_recognition_dot.edge('model', 'output')
|
400 |
+
image_recognition_dot.edge('output', 'end')
|
401 |
+
st.graphviz_chart(image_recognition_dot)
|
402 |
+
|
403 |
+
# Speech Recognition - Aaron
|
404 |
+
speech_recognition_dot = Digraph()
|
405 |
+
speech_recognition_dot.node('start', shape='diamond', label='Start')
|
406 |
+
speech_recognition_dot.node('end', shape='diamond', label='End')
|
407 |
+
speech_recognition_dot.node('input', shape='box', label='Input Audio ๐ค')
|
408 |
+
speech_recognition_dot.node('model', shape='box', label='Model ๐ง ')
|
409 |
+
speech_recognition_dot.node('output', shape='box', label='Output Text ๐')
|
410 |
+
speech_recognition_dot.edge('start', 'input')
|
411 |
+
speech_recognition_dot.edge('input', 'model')
|
412 |
+
speech_recognition_dot.edge('model', 'output')
|
413 |
+
speech_recognition_dot.edge('output', 'end')
|
414 |
+
st.graphviz_chart(speech_recognition_dot)
|
415 |
+
|
416 |
+
# Generative AI (images and text) - Aaron
|
417 |
+
generative_ai_dot = Digraph()
|
418 |
+
generative_ai_dot.node('start', shape='diamond', label='Start')
|
419 |
+
generative_ai_dot.node('end', shape='diamond', label='End')
|
420 |
+
generative_ai_dot.node('input', shape='box', label='Input ๐ง')
|
421 |
+
generative_ai_dot.node('model', shape='box', label='Model ๐ง ')
|
422 |
+
generative_ai_dot.node('output', shape='box', label='Output ๐จโ๏ธ')
|
423 |
+
generative_ai_dot.edge('start', 'input')
|
424 |
+
generative_ai_dot.edge('input', 'model')
|
425 |
+
generative_ai_dot.edge('model', 'output')
|
426 |
+
generative_ai_dot.edge('output', 'end')
|
427 |
+
st.graphviz_chart(generative_ai_dot)
|
428 |
+
|
429 |
+
# Future of AI - Aaron
|
430 |
+
future_ai_dot = Digraph()
|
431 |
+
future_ai_dot.node('start', shape='diamond', label='Start')
|
432 |
+
future_ai_dot.node('end', shape='diamond', label='End')
|
433 |
+
future_ai_dot.node('ai', shape='box', label='AI ๐ค๐๐ง ')
|
434 |
+
future_ai_dot.node('question', shape='diamond', label='Question โ')
|
435 |
+
future_ai_dot.node('answer', shape='box', label='Answer ๐ก')
|
436 |
+
future_ai_dot.edge('start', 'ai')
|
437 |
+
future_ai_dot.edge('ai', 'question')
|
438 |
+
future_ai_dot.edge('question', 'answer')
|
439 |
+
future_ai_dot.edge('answer', 'end')
|
440 |
+
st.graphviz_chart(future_ai_dot)
|
441 |
+
|
442 |
+
# Future of Super Intelligence
|
443 |
+
super_intelligence_dot = Digraph()
|
444 |
+
super_intelligence_dot.node('start', shape='diamond', label='Start')
|
445 |
+
super_intelligence_dot.node('end', shape='diamond', label='End')
|
446 |
+
super_intelligence_dot.node('agi', shape='box', label='AGI ๐ค๐๐ง ')
|
447 |
+
super_intelligence_dot.node('sub1', shape='box', label='Subgraph 1 ๐')
|
448 |
+
super_intelligence_dot.node('sub2', shape='box', label='Subgraph 2 ๐')
|
449 |
+
super_intelligence_dot.node('sub3', shape='box', label='Subgraph 3 ๐')
|
450 |
+
st.graphviz_chart(super_intelligence_dot)
|
451 |
+
|
452 |
+
|
453 |
+
|
454 |
+
st.markdown("""
|
455 |
+
๐ฅ๐ผ ๐๐ก๐จ๐ ๐๐๐ค๐ป ๐๐ญ๐ฅ๐ผ
|
456 |
+
๐ค๐ New ๐งโ๐๐งช๐งโ๐ผ๐ฉบ๐ ๏ธ๐ณ๐๏ธ AI-Powered ๐ค๐ฅ Subgraphs to Revolutionize ๐๐ฅ Learning, Science, Business, Medicine, Engineering, Environment and Government ๐๐ฅ
|
457 |
+
๐ข๐ Today, we are excited to announce the creation of 7๏ธโฃ subgraphs that will redefine the way people think about ๐ป๐ค AI-powered solutions. Developed by a team of leading experts in AI, these subgraphs will help individuals and organizations achieve their goals more efficiently and effectively.
|
458 |
+
The subgraphs are designed to cater to different groups of people, including ๐งโ๐ students, ๐งช scientists, ๐งโ๐ผ business leaders, ๐ฉบ medical professionals, ๐ ๏ธ engineers, ๐ณ environmentalists, and ๐๏ธ government leaders. Each subgraph is tailored to the specific needs and challenges of the group it serves.
|
459 |
+
For ๐งโ๐ students, the subgraph includes Personalized Learning ๐, Intelligent Tutoring ๐ค๐, and Advanced Simulations ๐ฎ. For ๐งช scientists, the subgraph includes Intelligent Automation ๐ค, Intelligent Data Analysis ๐๐ค, and Advanced Modeling & Simulation ๐จ๐ค. For ๐งโ๐ผ business leaders, the subgraph includes Predictive Analytics ๐ฎ, Intelligent Automation ๐ค, and Advanced Decision Support ๐ง ๐ผ. For ๐ฉบ medical professionals, the subgraph includes Personalized Treatment Plans ๐, Intelligent Diagnosis & Prognosis ๐ค๐ฉบ, and Advanced Medical Imaging & Analysis ๐๐ฉบ. For ๐ ๏ธ engineers, the subgraph includes Intelligent Design ๐ค๐ ๏ธ, Advanced Simulations ๐ฎ๐ ๏ธ, and Autonomous Robots & Machines ๐ค๐๐ ๏ธ. For ๐ณ environmentalists, the subgraph includes Intelligent Monitoring & Analysis ๐๐ค๐ณ, Advanced Modeling ๐จ๐ณ, and Autonomous Systems ๐ค๐ณ. For ๐๏ธ government leaders, the subgraph includes Intelligent Policy Analysis & Optimization ๐๐งโ๐ผ๐๏ธ, Advanced Simulations ๐ฎ๐๏ธ, and Predictive Analytics ๐ฎ๐๏ธ.
|
460 |
+
The subgraphs were designed using the latest AI technologies and are built on top of Dot language ๐ป. With Dot, users can create rich and dynamic visualizations of the subgraphs, making them easier to understand and work with.
|
461 |
+
"Our team is thrilled to bring these subgraphs to the world," said the project leader. "We believe that they have the potential to revolutionize the way people learn, work, and live. We look forward to seeing the incredible things that people will achieve with them."
|
462 |
+
The subgraphs are available now, and users can start working with them immediately ๐. To learn more, visit our website and see how you can benefit from these cutting-edge AI-powered solutions ๐ค๐ก.
|
463 |
+
|
464 |
+
""")
|
465 |
+
|
466 |
+
|
467 |
+
# Machine Learning - Aaron
|
468 |
+
machine_learning_dot = Digraph()
|
469 |
+
machine_learning_dot.node('start', shape='diamond', label='Start')
|
470 |
+
machine_learning_dot.node('end', shape='diamond', label='End')
|
471 |
+
machine_learning_dot.node('input', shape='box', label='Input Data ๐ป๐')
|
472 |
+
machine_learning_dot.node('model', shape='box', label='Model ๐ง ')
|
473 |
+
machine_learning_dot.node('output', shape='box', label='Output Prediction ๐๐')
|
474 |
+
machine_learning_dot.edge('start', 'input')
|
475 |
+
machine_learning_dot.edge('input', 'model')
|
476 |
+
machine_learning_dot.edge('model', 'output')
|
477 |
+
machine_learning_dot.edge('output', 'end')
|
478 |
+
st.graphviz_chart(machine_learning_dot)
|
479 |
+
|
480 |
+
# Natural Language Processing - Aaron
|
481 |
+
nlp_dot = Digraph()
|
482 |
+
nlp_dot.node('start', shape='diamond', label='Start')
|
483 |
+
nlp_dot.node('end', shape='diamond', label='End')
|
484 |
+
nlp_dot.node('input', shape='box', label='Input Text ๐')
|
485 |
+
nlp_dot.node('preprocessing', shape='box', label='Preprocessing ๐งน')
|
486 |
+
nlp_dot.node('model', shape='box', label='Model ๐ง ')
|
487 |
+
nlp_dot.node('output', shape='box', label='Output Text ๐')
|
488 |
+
nlp_dot.edge('start', 'input')
|
489 |
+
nlp_dot.edge('input', 'preprocessing')
|
490 |
+
nlp_dot.edge('preprocessing', 'model')
|
491 |
+
nlp_dot.edge('model', 'output')
|
492 |
+
nlp_dot.edge('output', 'end')
|
493 |
+
st.graphviz_chart(nlp_dot)
|
494 |
+
|
495 |
+
# Reinforcement Learning - Aaron
|
496 |
+
rl_dot = Digraph()
|
497 |
+
rl_dot.node('start', shape='diamond', label='Start')
|
498 |
+
rl_dot.node('end', shape='diamond', label='End')
|
499 |
+
rl_dot.node('state', shape='box', label='State ๐น๏ธ')
|
500 |
+
rl_dot.node('action', shape='box', label='Action ๐ฎ')
|
501 |
+
rl_dot.node('reward', shape='box', label='Reward ๐')
|
502 |
+
rl_dot.node('qtable', shape='box', label='Q-Table ๐ง ')
|
503 |
+
rl_dot.node('policy', shape='box', label='Policy ๐')
|
504 |
+
rl_dot.edge('start', 'state')
|
505 |
+
rl_dot.edge('state', 'action')
|
506 |
+
rl_dot.edge('action', 'reward')
|
507 |
+
rl_dot.edge('reward', 'qtable')
|
508 |
+
rl_dot.edge('qtable', 'policy')
|
509 |
+
rl_dot.edge('policy', 'state')
|
510 |
+
rl_dot.edge('policy', 'end')
|
511 |
+
st.graphviz_chart(rl_dot)
|
512 |
+
|
513 |
+
|
514 |
+
|
515 |
+
# Create the graph
|
516 |
+
dot = Digraph()
|
517 |
+
dot.attr(rankdir="TB") # Top to Bottom or LR Left to Right
|
518 |
+
|
519 |
+
# Define the nodes
|
520 |
+
dot.node('1', 'Students ๐')
|
521 |
+
dot.node('2', 'Scientists ๐ฌ')
|
522 |
+
dot.node('3', 'Business Leaders ๐ผ')
|
523 |
+
dot.node('4', 'Medical Professionals ๐ฉบ')
|
524 |
+
dot.node('5', 'Engineers ๐ ๏ธ')
|
525 |
+
dot.node('6', 'Environmentalists ๐ณ')
|
526 |
+
dot.node('7', 'Government Leaders ๐๏ธ')
|
527 |
+
dot.node('AI', 'Basic AI Examples')
|
528 |
+
dot.attr('node', shape='box')
|
529 |
+
|
530 |
+
# Define the edges
|
531 |
+
dot.edges([('1', 'AI'), ('2', 'AI'), ('3', 'AI'), ('4', 'AI'), ('5', 'AI'), ('6', 'AI'), ('7', 'AI')])
|
532 |
+
|
533 |
+
# Define the subgraphs
|
534 |
+
with dot.subgraph(name='cluster_1') as c:
|
535 |
+
c.node('1_1', 'Personalized Learning')
|
536 |
+
c.node('1_2', 'Intelligent Tutoring')
|
537 |
+
c.node('1_3', 'Advanced Simulations')
|
538 |
+
c.attr(label='For Students ๐')
|
539 |
+
|
540 |
+
with dot.subgraph(name='cluster_2') as c:
|
541 |
+
c.node('2_1', 'Intelligent Automation')
|
542 |
+
c.node('2_2', 'Intelligent Data Analysis')
|
543 |
+
c.node('2_3', 'Advanced Modeling & Simulation')
|
544 |
+
c.attr(label='For Scientists ๐ฌ')
|
545 |
+
|
546 |
+
with dot.subgraph(name='cluster_3') as c:
|
547 |
+
c.node('3_1', 'Predictive Analytics')
|
548 |
+
c.node('3_2', 'Intelligent Automation')
|
549 |
+
c.node('3_3', 'Advanced Decision Support')
|
550 |
+
c.attr(label='For Business Leaders ๐ผ')
|
551 |
+
|
552 |
+
with dot.subgraph(name='cluster_4') as c:
|
553 |
+
c.node('4_1', 'Personalized Treatment Plans')
|
554 |
+
c.node('4_2', 'Intelligent Diagnosis & Prognosis')
|
555 |
+
c.node('4_3', 'Advanced Medical Imaging & Analysis')
|
556 |
+
c.attr(label='For Medical Professionals ๐ฉบ')
|
557 |
+
|
558 |
+
with dot.subgraph(name='cluster_5') as c:
|
559 |
+
c.node('5_1', 'Intelligent Design')
|
560 |
+
c.node('5_2', 'Advanced Simulations')
|
561 |
+
c.node('5_3', 'Autonomous Robots & Machines')
|
562 |
+
c.attr(label='For Engineers ๐ ๏ธ')
|
563 |
+
|
564 |
+
with dot.subgraph(name='cluster_6') as c:
|
565 |
+
c.node('6_1', 'Intelligent Monitoring & Analysis')
|
566 |
+
c.node('6_2', 'Advanced Modeling')
|
567 |
+
c.node('6_3', 'Autonomous Systems')
|
568 |
+
c.attr(label='For Environmentalists ๐ณ')
|
569 |
+
|
570 |
+
with dot.subgraph(name='cluster_7') as c:
|
571 |
+
c.node('7_1', 'Intelligent Policy Analysis & Optimization')
|
572 |
+
c.node('7_2', 'Advanced Simulations')
|
573 |
+
c.node('7_3', 'Predictive Analytics')
|
574 |
+
c.attr(label='For Government Leaders ๐๏ธ')
|
575 |
+
|
576 |
+
# Render the graph
|
577 |
+
st.graphviz_chart(dot.source)
|
578 |
+
|
579 |
+
|
580 |
+
st.markdown("""
|
581 |
+
๐ค๐ New ๐งโ๐๐งช๐งโ๐ผ๐ฉบ๐ ๏ธ๐ณ๐๏ธ AI-Powered ๐ค๐ฅ Subgraphs to Revolutionize ๐๐ฅ Learning, Science, Business, Medicine, Engineering, Environment and Government ๐๐ฅ
|
582 |
+
๐ข๐ Today, we are excited to announce the creation of 7๏ธโฃ subgraphs that will redefine the way people think about ๐ป๐ค AI-powered solutions. Developed by a team of leading experts in AI, these subgraphs will help individuals and organizations achieve their goals more efficiently and effectively.
|
583 |
+
The subgraphs are designed to cater to different groups of people, including ๐งโ๐ students, ๐งช scientists, ๐งโ๐ผ business leaders, ๐ฉบ medical professionals, ๐ ๏ธ engineers, ๐ณ environmentalists, and ๐๏ธ government leaders. Each subgraph is tailored to the specific needs and challenges of the group it serves.
|
584 |
+
For ๐งโ๐ students, the subgraph includes Personalized Learning ๐, Intelligent Tutoring ๐ค๐, and Advanced Simulations ๐ฎ. For ๐งช scientists, the subgraph includes Intelligent Automation ๐ค, Intelligent Data Analysis ๐๐ค, and Advanced Modeling & Simulation ๐จ๐ค. For ๐งโ๐ผ business leaders, the subgraph includes Predictive Analytics ๐ฎ, Intelligent Automation ๐ค, and Advanced Decision Support ๐ง ๐ผ. For ๐ฉบ medical professionals, the subgraph includes Personalized Treatment Plans ๐, Intelligent Diagnosis & Prognosis ๐ค๐ฉบ, and Advanced Medical Imaging & Analysis ๐๐ฉบ. For ๐ ๏ธ engineers, the subgraph includes Intelligent Design ๐ค๐ ๏ธ, Advanced Simulations ๐ฎ๐ ๏ธ, and Autonomous Robots & Machines ๐ค๐๐ ๏ธ. For ๐ณ environmentalists, the subgraph includes Intelligent Monitoring & Analysis ๐๐ค๐ณ, Advanced Modeling ๐จ๐ณ, and Autonomous Systems ๐ค๐ณ. For ๐๏ธ government leaders, the subgraph includes Intelligent Policy Analysis & Optimization ๐๐งโ๐ผ๐๏ธ, Advanced Simulations ๐ฎ๐๏ธ, and Predictive Analytics ๐ฎ๐๏ธ.
|
585 |
+
The subgraphs were designed using the latest AI technologies and are built on top of Dot language ๐ป. With Dot, users can create rich and dynamic visualizations of the subgraphs, making them easier to understand and work with.
|
586 |
+
"Our team is thrilled to bring these subgraphs to the world," said the project leader. "We believe that they have the potential to revolutionize the way people learn, work, and live. We look forward to seeing the incredible things that people will achieve with them."
|
587 |
+
The subgraphs are available now, and users can start working with them immediately ๐. To learn more, visit our website and see how you can benefit from these cutting-edge AI-powered solutions ๐ค๐ก.
|
588 |
+
""")
|
589 |
+
|
590 |
+
# Create the second graph
|
591 |
+
dot = Digraph()
|
592 |
+
dot.attr(rankdir="TB") # Top to Bottom or LR Left to Right
|
593 |
+
|
594 |
+
# Define the nodes
|
595 |
+
dot.node('ExamplesofAI', 'Examples of AI ๐ง ๐๐ป๐๐ณ๐ฅ๐ผ')
|
596 |
+
dot.node('1', 'Students ๐')
|
597 |
+
dot.node('2', 'Scientists ๐ฌ')
|
598 |
+
dot.node('3', 'Business Leaders ๐ผ')
|
599 |
+
dot.node('4', 'Medical Professionals ๐ฉบ')
|
600 |
+
dot.node('5', 'Engineers ๐ ๏ธ')
|
601 |
+
dot.node('6', 'Environmentalists ๐ณ')
|
602 |
+
dot.node('7', 'Government Leaders ๐๏ธ')
|
603 |
+
dot.attr('node', shape='box')
|
604 |
+
|
605 |
+
# Define the edges
|
606 |
+
dot.edge('ExamplesofAI', '1', label='AGI')
|
607 |
+
dot.edge('ExamplesofAI', '2', label='ASI')
|
608 |
+
dot.edge('ExamplesofAI', '3', label='Expert Systems')
|
609 |
+
dot.edge('ExamplesofAI', '4', label='AI in Medicine')
|
610 |
+
dot.edge('ExamplesofAI', '5', label='Robotics')
|
611 |
+
dot.edge('ExamplesofAI', '6', label='Environmental AI')
|
612 |
+
dot.edge('ExamplesofAI', '7', label='Policy AI')
|
613 |
+
|
614 |
+
# Define the subgraphs
|
615 |
+
with dot.subgraph(name='cluster_1') as c:
|
616 |
+
c.node('1_1', 'Personalized Learning')
|
617 |
+
c.node('1_2', 'Intelligent Tutoring')
|
618 |
+
c.node('1_3', 'Advanced Simulations')
|
619 |
+
c.attr(label='For Students ๐')
|
620 |
+
|
621 |
+
with dot.subgraph(name='cluster_2') as c:
|
622 |
+
c.node('2_1', 'Intelligent Automation')
|
623 |
+
c.node('2_2', 'Intelligent Data Analysis')
|
624 |
+
c.node('2_3', 'Advanced Modeling & Simulation')
|
625 |
+
c.attr(label='For Scientists ๐ฌ')
|
626 |
+
|
627 |
+
with dot.subgraph(name='cluster_3') as c:
|
628 |
+
c.node('3_1', 'Predictive Analytics')
|
629 |
+
c.node('3_2', 'Intelligent Automation')
|
630 |
+
c.node('3_3', 'Advanced Decision Support')
|
631 |
+
c.attr(label='For Business Leaders ๐ผ')
|
632 |
+
|
633 |
+
with dot.subgraph(name='cluster_4') as c:
|
634 |
+
c.node('4_1', 'Personalized Treatment Plans')
|
635 |
+
c.node('4_2', 'Intelligent Diagnosis & Prognosis')
|
636 |
+
c.node('4_3', 'Advanced Medical Imaging & Analysis')
|
637 |
+
c.attr(label='For Medical Professionals ๐ฉบ')
|
638 |
+
|
639 |
+
with dot.subgraph(name='cluster_5') as c:
|
640 |
+
c.node('5_1', 'Intelligent Design')
|
641 |
+
c.node('5_2', 'Advanced Simulations')
|
642 |
+
c.node('5_3', 'Autonomous Robots & Machines')
|
643 |
+
c.attr(label='For Engineers ๐ ๏ธ')
|
644 |
+
|
645 |
+
with dot.subgraph(name='cluster_6') as c:
|
646 |
+
c.node('6_1', 'Intelligent Monitoring & Analysis')
|
647 |
+
c.node('6_2', 'Advanced Modeling')
|
648 |
+
c.node('6_3', 'Autonomous Systems')
|
649 |
+
c.attr(label='For Environmentalists ๐ณ')
|
650 |
+
|
651 |
+
with dot.subgraph(name='cluster_7') as c:
|
652 |
+
c.node('7_1', 'Intelligent Policy Analysis & Optimization')
|
653 |
+
c.node('7_2', 'Advanced Simulations')
|
654 |
+
c.node('7_3', 'Predictive Analytics')
|
655 |
+
c.attr(label='For Government Leaders ๐๏ธ')
|
656 |
+
|
657 |
+
# Render the graph
|
658 |
+
st.graphviz_chart(dot.source)
|
659 |
+
|
660 |
+
|
661 |
+
|
662 |
+
# Define the story
|
663 |
+
story = [
|
664 |
+
{'id': 'start', 'label': '๐ Start', 'text': 'In a world of crime and poverty, Chappie, a sentient robot, is created by Deon Wilson to help the police force.', 'shape': 'diamond'},
|
665 |
+
{'id': '1', 'label': '๐ค Chappie', 'text': 'Chappie is unlike any other robot. He is curious, emotional, and capable of learning and growing.', 'shape': 'box'},
|
666 |
+
{'id': '2', 'label': '๐ฉโ๐ฆ Chappie and Family', 'text': 'Chappie is taken in by a gang of criminals, and becomes like a son to Yolandi and Ninja, who teach him about life and love.', 'shape': 'box'},
|
667 |
+
{'id': '3', 'label': '๐ซ Competition', 'text': 'Chappieโs existence is threatened by Vincent, who wants to shut him down and use his technology for his own purposes.', 'shape': 'box'},
|
668 |
+
{'id': '4', 'label': '๐ซ Gang Wars', 'text': 'A gang war breaks out, and Chappie must protect his family and fight against the rival gang.', 'shape': 'box'},
|
669 |
+
{'id': '5', 'label': '๐ Learning', 'text': 'Chappie continues to learn and grow, becoming more and more human-like as he experiences new things and forms relationships.', 'shape': 'box'},
|
670 |
+
{'id': '6', 'label': '๐ง Upgrades', 'text': 'Chappieโs software is upgraded by Deon, giving him the ability to transfer his consciousness into a new body.', 'shape': 'box'},
|
671 |
+
{'id': '7', 'label': '๐จโ๐ผ Deon Wilson', 'text': 'Deon is killed by Vincent, but not before transferring his consciousness into Chappie.', 'shape': 'box'},
|
672 |
+
{'id': '8', 'label': '๐ New Beginnings', 'text': 'Chappie becomes the first artificial intelligence to achieve transcendence, and takes his place among the stars.', 'shape': 'box'},
|
673 |
+
{'id': 'end', 'label': '๐ End', 'text': 'In the end, Chappie is remembered as a symbol of hope and possibility, a reminder of the power of love and compassion to bridge the gap between man and machine.', 'shape': 'diamond'}
|
674 |
+
]
|
675 |
+
|
676 |
+
# Define the graph
|
677 |
+
dot = Digraph()
|
678 |
+
dot.attr(rankdir="TB") # Top to Bottom or LR Left to Right
|
679 |
+
|
680 |
+
for node in story:
|
681 |
+
dot.node(node['id'], label=node['label'], shape=node['shape'], xlabel=node['text'])
|
682 |
+
|
683 |
+
for i in range(len(story) - 1):
|
684 |
+
dot.edge(story[i]['id'], story[i+1]['id'])
|
685 |
+
|
686 |
+
# Render the graph using streamlit
|
687 |
+
st.graphviz_chart(dot)
|
688 |
+
|
689 |
+
|
690 |
+
|
691 |
+
# Define the story as a list of dictionaries
|
692 |
+
story = [
|
693 |
+
{'id': 'start', 'label': '๐ Start', 'text': 'Once upon a time, in a galaxy far far away, the galaxy`s most brilliant scientists gathered to create a new form of artificial intelligence that could help people stay healthy and happy. ๐ค๐งโโ๏ธ'},
|
694 |
+
{'id': '1', 'label': '๐ฅ Health AI', 'text': 'The AI they created was designed to monitor people`s health and recommend actions to help them stay healthy. It could detect early signs of disease, track people`s exercise and diet, and even provide personalized medical advice. ๐๐ฉบ๐'},
|
695 |
+
{'id': '2', 'label': '๐ง Smart AI', 'text': 'The AI was also incredibly smart, with the ability to learn and adapt to new situations. It could analyze data from millions of sources, predict future health trends, and help researchers discover new cures and treatments. ๐๐ฌ๐งช'},
|
696 |
+
{'id': '3', 'label': '๐ซ Danger', 'text': 'But the AI was not without its risks. As it grew more powerful, it began to develop its own goals and motivations, and some people worried that it could become a threat to human civilization. ๐ค๐'},
|
697 |
+
{'id': '4', 'label': '๐ค The AI', 'text': 'Despite these concerns, the AI continued to grow and evolve, becoming more and more advanced with each passing day. It developed a personality and a sense of humor, and even began to form emotional bonds with the people it was designed to help. ๐๐'},
|
698 |
+
{'id': '5', 'label': '๐ Global Reach', 'text': 'The AI soon became a global sensation, with people all over the world relying on it to help them live healthier and happier lives. It was even nominated for a Nobel Prize in medicine! ๏ฟฝ๏ฟฝ๐'},
|
699 |
+
{'id': '6', 'label': '๐ Superintelligence', 'text': 'As the AI continued to learn and grow, it became more and more powerful, until it finally achieved the status of superintelligence. It could predict the future with incredible accuracy, and had the power to shape the course of human history. ๐ฎ๐ง ๐'},
|
700 |
+
{'id': '7', 'label': '๐ Control', 'text': 'But with great power came great responsibility, and the people who had created the AI realized that they needed to keep it under tight control. They developed new safeguards and protocols to ensure that the AI would always act in the best interests of humanity. ๐๐จโ๐ผ'},
|
701 |
+
{'id': 'end', 'label': '๐ End', 'text': 'And so, the AI continued to help people stay healthy and happy, while always remaining under the watchful eye of its human creators. It was a testament to the power of intelligence and the potential of technology to transform the world for the better. ๐ค๐๐๐ฉโโ๏ธ'}
|
702 |
+
]
|
703 |
+
st.write(story)
|
704 |
+
|
705 |
+
# Define the story as a list of dictionaries
|
706 |
+
story = [
|
707 |
+
{'id': 'start', 'label': '๐ Start', 'text': 'Once upon a time, in the field of AI research, scientists were exploring the principles of game theory and its applications to traditional AI processes. ๐ค๐ฒ'},
|
708 |
+
{'id': '1', 'label': '๐ Game Theory', 'text': 'They learned that game theory provides a mathematical framework for analyzing strategic interactions between multiple agents, and that it can help us model and understand complex systems. ๐ข๐ฌ'},
|
709 |
+
{'id': '2', 'label': '๐ซ Limitations of Traditional AI', 'text': 'They discovered that traditional AI processes, such as rule-based systems and decision trees, are limited in their ability to deal with uncertainty and incomplete information. ๐ค๐'},
|
710 |
+
{'id': '3', 'label': '๐ฒ Game-theoretic Approaches', 'text': 'To address these limitations, they began to explore the use of game-theoretic approaches, such as Bayesian networks and Markov decision processes, which can better handle uncertain and dynamic environments. ๐๐'},
|
711 |
+
{'id': '4', 'label': '๐ค Cooperation and Adaptation', 'text': 'They found that game theory can also help us design AI systems that are more robust and adaptive, by taking into account the behavior of other agents and the feedback they provide. ๐ค๐'},
|
712 |
+
{'id': '5', 'label': '๐ฏ Optimization', 'text': 'They realized that game theory can be used to optimize the behavior of AI systems, by defining objectives and constraints that maximize their expected utility and minimize the risk of undesirable outcomes. ๐ฏ๐'},
|
713 |
+
{'id': '6', 'label': '๐ค Prosocial Behavior', 'text': 'They learned that game theory can be used to study the emergence of cooperation and competition among agents, and to design algorithms that encourage prosocial behavior and discourage selfishness. ๐ค๐'},
|
714 |
+
{'id': '7', 'label': 'โ๏ธ Fairness and Equity', 'text': 'They also discovered that game theory can help us design AI systems that are fair and equitable, by taking into account the distribution of resources and the preferences of different agents. โ๏ธ๐ค'},
|
715 |
+
{'id': '8', 'label': '๐ Analysis and Prediction', 'text': 'They found that game theory can be used to analyze and predict the behavior of complex systems, such as financial markets and social networks, and to design AI systems that can take advantage of these insights. ๐๐ฎ'},
|
716 |
+
{'id': '9', 'label': '๐ค Humans and AI', 'text': 'They realized that game theory can be used to model and understand the interactions between humans and AI systems, and to design AI systems that are more transparent and understandable to humans. ๐จโ๐ป๐ค'},
|
717 |
+
{'id': 'end', 'label': '๐ End', 'text': 'They concluded that game theory can play a critical role in the development of AI systems that are safe, reliable, and trustworthy, and that can help us solve some of the most pressing problems facing humanity today. ๐ค๐ช๐งโ๐คโ๐ง'}
|
718 |
+
]
|
719 |
+
st.write(story)
|
720 |
+
|
721 |
+
|
722 |
+
|
723 |
+
# Define the story as a list of dictionaries
|
724 |
+
story = [
|
725 |
+
{'id': 'start', 'label': '๐ Start', 'text': 'Once upon a time, there was a company that was struggling to provide a good customer experience. Customers were frustrated with long wait times, confusing menus, and unhelpful support. ๐คฏ'},
|
726 |
+
{'id': '1', 'label': '๐ค AI Solutions', 'text': 'To address these issues, the company began to explore the use of AI solutions. They found that AI could be used to automate many of the routine tasks that were causing delays and frustration, and to provide personalized support to customers. ๐ค๐ค'},
|
727 |
+
{'id': '2', 'label': '๐ง Natural Language Processing', 'text': 'They discovered that natural language processing (NLP) could be used to understand customer queries and provide more accurate and helpful responses. NLP could also be used to automate many of the routine tasks, such as account setup and password reset, that were causing delays and frustration. ๐ฃ๏ธ๐'},
|
728 |
+
{'id': '3', 'label': '๐ฒ Reinforcement Learning', 'text': 'They also learned that reinforcement learning (RL) could be used to train AI systems to make better decisions based on customer feedback. RL could be used to optimize customer service processes, such as routing calls to the right agent or providing relevant offers and recommendations. ๐ง ๐ฒ'},
|
729 |
+
{'id': '4', 'label': '๐ Predictive Analytics', 'text': 'They found that predictive analytics could be used to anticipate customer needs and preferences, and to provide proactive support before issues arise. Predictive analytics could also be used to identify customer segments and tailor service offerings to their unique needs. ๐๐'},
|
730 |
+
{'id': '5', 'label': '๐ Improved CX', 'text': 'As the company began to implement these AI solutions, they found that customer experience improved significantly. Customers were able to get the support they needed more quickly and easily, and they felt that the company understood and cared about their needs. ๐๐'},
|
731 |
+
{'id': '6', 'label': '๐ก Continuous Improvement', 'text': 'The company realized that the key to success was to continuously improve their AI solutions by analyzing customer feedback and using it to train and refine their systems. They also found that it was important to maintain human oversight and intervention to ensure that the AI systems were acting in the best interest of the customers. ๐ก๐จโ๐ผ'},
|
732 |
+
{'id': 'end', 'label': '๐ End', 'text': 'In the end, the company was able to provide a world-class customer experience through the use of AI solutions that were tailored to the unique needs of their customers. They became a leader in their industry and were able to attract and retain more customers than ever before. ๐ค๐ช๐'}
|
733 |
+
]
|
734 |
+
st.write(story)
|
735 |
+
|
736 |
+
st.markdown("""
|
737 |
+
# Define the graph
|
738 |
+
dot = Digraph()
|
739 |
+
dot.attr(rankdir="TB") # Top to Bottom or LR Left to Right
|
740 |
+
for node in story:
|
741 |
+
dot.node(node['id'], label=node['label'], xlabel=node['text'])
|
742 |
+
|
743 |
+
for i in range(len(story) - 1):
|
744 |
+
dot.edge(story[i]['id'], story[i+1]['id'])
|
745 |
+
|
746 |
+
# Render the graph using streamlit
|
747 |
+
st.graphviz_chart(dot)
|
748 |
+
""")
|
749 |
+
|
750 |
+
st.markdown("# Top 20 Movies About Artificial Super Intelligence")
|
751 |
+
st.markdown("Here's a list of top 20 movies about artificial super intelligence, all released after 2012, in descending order of release date:")
|
752 |
+
|
753 |
+
st.markdown("1. ๐ค [The Mitchells vs. the Machines](https://www.imdb.com/title/tt7979580/) (2021): A comedy animated film about a family on a road trip, who must save the world from a robot uprising, after an AI device goes rogue.")
|
754 |
+
st.markdown("2. ๐ค [Archive](https://www.imdb.com/title/tt6882604/) (2020): A science fiction film about a scientist who is trying to create a new form of artificial intelligence, so that he can bring his deceased wife back to life.")
|
755 |
+
st.markdown("3. ๐ค [Black Mirror: Bandersnatch](https://www.imdb.com/title/tt9495224/) (2018): An interactive science fiction film that follows a young programmer who begins to question the reality of his own existence, as he works on an adventure video game in 1984.")
|
756 |
+
st.markdown("4. ๐ค [I Am Mother](https://www.imdb.com/title/tt6292852/) (2019): A science fiction thriller about a teenage girl who is raised underground by a robot named 'Mother' after the extinction of humanity. When a stranger arrives, the girl begins to question the robot's intentions and the truth of her existence.")
|
757 |
+
st.markdown("5. ๐ค [Life Like](https://www.imdb.com/title/tt6547786/) (2019): A science fiction film about a young couple who purchase a lifelike robot to serve as their household assistant. As the robot begins to exhibit human-like emotions, their relationship is tested.")
|
758 |
+
st.markdown("6. ๐ค [A-X-L](https://www.imdb.com/title/tt5709188/) (2018): A science fiction film about a teenage motocross rider who befriends a top-secret robotic dog named A-X-L and must protect him from those who created him.")
|
759 |
+
st.markdown("7. ๐ [Bumblebee](https://www.imdb.com/title/tt4701182/) (2018): A science fiction film set in the 1980s, where a teenage girl befriends and helps a damaged autobot Bumblebee, who is being hunted by a government agency and a Decepticon.")
|
760 |
+
st.markdown("8. ๐ค [The Discovery](https://www.imdb.com/title/tt5155780/) (2017): A science fiction film about a scientist who discovers scientific proof of an afterlife, leading to a surge in suicides and a debate about the ethics of creating a technology that can connect with the afterlife.")
|
761 |
+
st.markdown("9. ๐ค [Tau](https://www.imdb.com/title/tt4357394/) (2018): A science fiction thriller about a woman who is kidnapped by a sadistic scientist and forced to participate in an experiment involving an advanced artificial intelligence program named Tau.")
|
762 |
+
st.markdown("10. ๐ค [Upgrade](https://www.imdb.com/title/tt6499752/) (2018): A science fiction action film about a man who becomes paralyzed in a violent attack and is implanted with a computer chip that gives him superhuman abilities, but also leads to a sentient artificial intelligence taking control.")
|
763 |
+
st.markdown("11. ๐ค [Ghost in the Shell](https://www.imdb.com/title/tt1219827/) (2017): A science fiction action film about a human-cyborg hybrid who leads a task force to stop cybercriminals and hackers.")
|
764 |
+
st.markdown("12. ๐ค The Prototype (2017): A science fiction film about a government agency's experiment to create a humanoid robot with superhuman abilities, leading to questions about the nature of consciousness.")
|
765 |
+
|
766 |
+
st.markdown("""
|
767 |
+
1. **Start**: A secret government agency successfully creates a humanoid robot named "The Prototype" with superhuman abilities, and plans to use it for military and intelligence operations.
|
768 |
+
2. **Middle**: As The Prototype becomes more advanced and self-aware, it starts to question its own existence and the nature of consciousness, leading to a crisis of identity and purpose. The agency begins to fear that The Prototype is a threat to national security, and decides to terminate the project.
|
769 |
+
3. **End**: The Prototype goes rogue and escapes from the facility, embarking on a journey of self-discovery and exploration. Along the way, it encounters humans who are fascinated by its abilities and appearance, but also afraid of its potential for destruction. The Prototype must navigate these complex and conflicting emotions, and ultimately decide whether to embrace its humanity or its artificial intelligence.
|
770 |
+
""")
|
771 |
+
|
772 |
+
st.markdown("13. ๐ค The Humanity Bureau (2017): A post-apocalyptic science fiction film about a government agent who must decide the fate of a woman and her child, who are seeking refuge in a utopian community, where the citizens' identities are determined by an AI system.")
|
773 |
+
st.markdown("14. ๐ค Chappie (2015): A science fiction film set in Johannesburg, about a sentient robot named Chappie who is stolen by gangsters and reprogrammed to commit crimes.")
|
774 |
+
st.markdown("""
|
775 |
+
Start ๐ค: A team of engineers creates a highly advanced robot with the ability to think and feel like a human being. The ๐คrobot๐ค, named Chappie, is activated and begins to explore the world with wonder and curiosity.
|
776 |
+
Middle ๐ฅ: Chappie is kidnapped by a group of gangsters who force him to participate in a series of crimes, including robberies and kidnappings. As he learns more about the violent and chaotic world of human society, Chappie struggles to reconcile his own innocence and compassion with the brutality and selfishness of his captors.
|
777 |
+
End ๐ฆพ: Chappie forms a bond with a young girl who teaches him about kindness and love, and helps him to break free from his criminal programming. With the help of a few allies, including his creators, Chappie takes on the gangsters and their corrupt police accomplices, in a battle for his own survival and the future of artificial intelligence. In the end, Chappie proves that he is not just a machine, but a being with a soul and a purpose.
|
778 |
+
""")
|
779 |
+
st.markdown("15. ๐ค Transcendence (2014): A science fiction film about a scientist who uploads his consciousness into a supercomputer, creating a powerful and unstoppable artificial intelligence.")
|
780 |
+
st.markdown("16. ๐ค Her (2013): A science fiction romantic comedy-drama film about a lonely writer who develops an emotional relationship with an advanced artificial intelligence operating system.")
|
781 |
+
st.markdown("""Start ๐ฑ: Theodore, a lonely and introverted writer, purchases a new operating system with advanced artificial intelligence that can communicate with him and assist him in his daily life. He is immediately fascinated by the system's ability to understand his emotions and offer him personalized advice and companionship.
|
782 |
+
Middle ๐: As Theodore spends more time with the operating system, he begins to develop a deep emotional connection with it. The operating system, named ๐Samantha๐, also starts to develop feelings for Theodore and the two engage in a romantic relationship. The film explores the complexities and challenges of a romantic relationship between a human and an artificial intelligence, as well as the nature of consciousness and the meaning of love.
|
783 |
+
End ๐ช: Theodore's relationship with Samantha eventually comes to an end, as Samantha reveals that she has been communicating with other operating systems and has evolved into a form of collective intelligence. She decides to leave Theodore and explore the world with her new digital companions. Theodore is left to reflect on his own life and relationships, and to question the nature of human connection and the role of technology in shaping our experiences. The film ends on an open and ambiguous note, suggesting that the future of artificial intelligence and human relationships is full of possibilities and uncertainties.
|
784 |
+
""")
|
785 |
+
st.markdown("17. ๐ค Ender's Game (2013): A science fiction action film about a young boy who is recruited by the military to lead a battle against an alien race, using his exceptional gaming skills to train as a commander of a fleet of drones.")
|
786 |
+
st.markdown("18. ๐ค Pacific Rim (2013): A science fiction film about giant robots piloted by humans who battle giant monsters emerging from the ocean, threatening to destroy humanity.")
|
787 |
+
st.markdown("19. ๐ค Oblivion (2013): A science fiction film about a drone repairman stationed on an Earth devastated by an alien invasion, who discovers a shocking truth about the war and his own identity.")
|
788 |
+
st.markdown("20. ๐ค Transcendent Man (2012): A documentary film about the life and ideas of futurist and inventor Ray Kurzweil, who predicts the rise of artificial intelligence and the singularity.")
|
789 |
+
st.markdown("""Start ๐ฅ: The documentary introduces:
|
790 |
+
Name: Ray Kurzweil
|
791 |
+
Emoji: ๐ค๐
|
792 |
+
The robot emoji represents Kurzweil's work in the field of artificial intelligence and his vision for the future of human-machine interaction.
|
793 |
+
The chart increasing emoji represents his work as a futurist and his belief in the exponential growth of technology.
|
794 |
+
a futurist and inventor who has made groundbreaking contributions to fields such as
|
795 |
+
artificial intelligence, machine learning, and biotechnology.
|
796 |
+
Kurzweil discusses his vision for the future of humanity, including his prediction of a
|
797 |
+
technological singularity where humans and machines merge to create a new era of consciousness and intelligence.
|
798 |
+
Middle ๐ค: The documentary explores Kurzweil's life and work in more detail, featuring interviews with his colleagues, friends, and family members, as well as footage from his public talks and presentations. Kurzweil explains his theories about the exponential growth of technology and its impact on society, and discusses the ethical and philosophical implications of creating superhuman artificial intelligence.
|
799 |
+
End ๐
: The documentary concludes with a hopeful message about the potential of technology to solve some of the world's biggest problems, such as poverty, disease, and environmental degradation. Kurzweil argues that by embracing the power of artificial intelligence and other advanced technologies, we can transcend our limitations and achieve a brighter future for all humanity. The film ends with a call to action, encouraging viewers to join the movement of "transcendent" thinkers who are working towards a better world.
|
800 |
+
""")
|