Spaces:
Runtime error
Runtime error
Merge pull request #50 from barun-saha/visual
Browse filesFiles changed (14)
- file_embeddings/embeddings.npy+2-2
- file_embeddings/icons.npy+2-2
- global_config.py+1-1
- helpers/icons_embeddings.py+44-2
- icons/png128/csv.pngAdded
- icons/png128/handshake.pngAdded
- icons/png128/html.pngAdded
- icons/png128/lock.pngAdded
- icons/png128/python.pngAdded
- icons/png128/search.pngAdded
- icons/png128/txt.pngAdded
- icons/png128/xml.pngAdded
- icons/png128/yml.pngAdded
- icons/svg_repo.txt+2
123version https://git-lfs.github.com/spec/v1oid sha256:4c2758d74daff23f638acff398d1a512c74b97178118b7adbe8433ae8d368f52size 158848123version https://git-lfs.github.com/spec/v1oid sha256:64a1ba79b20c81ba7ed6604468736f74ae89813fe378191af1d8574c008b3ab5size 326784
123version https://git-lfs.github.com/spec/v1oid sha256:2deede2276676fff6e70e585f5c05d004b3f24d5dc389a3c09228fbd814bcfcesize 49728123version https://git-lfs.github.com/spec/v1oid sha256:ce5ce4c86bb213915606921084b3516464154edcae12f4bc708d62c6bd7acebbsize 51168
34 unmodified lines3536373839404134 unmodified linesLLM_PROGRESS_MAX = 90ICONS_DIR = 'icons/png128/'TINY_BERT_MODEL = 'gaunernst/bert-tiny-uncased'EMBEDDINGS_FILE_NAME = 'file_embeddings/embeddings.npy'ICONS_FILE_NAME = 'file_embeddings/icons.npy'34 unmodified lines3536373839404134 unmodified linesLLM_PROGRESS_MAX = 90ICONS_DIR = 'icons/png128/'TINY_BERT_MODEL = 'gaunernst/bert-mini-uncased'EMBEDDINGS_FILE_NAME = 'file_embeddings/embeddings.npy'ICONS_FILE_NAME = 'file_embeddings/icons.npy'
114 unmodified lines115116117118119120121122123114 unmodified lines# Run this again if icons are to be added/removedsave_icons_embeddings()keywords = ['deep learning', 'library', 'universe', 'brain', 'cybersecurity', 'gaming', '']icon_files = find_icons(keywords)print(f'The relevant icon files are: {icon_files}')if __name__ == '__main__':114 unmodified lines115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165114 unmodified lines# Run this again if icons are to be added/removedsave_icons_embeddings()keywords = ['deep learning','','recycling','handshake','Ferry','rain drop','speech bubble','mental resilience','turmeric','Art','price tag','Oxygen','oxygen','Social Connection','Accomplishment','Python','XML','Handshake',]icon_files = find_icons(keywords)print(f'The relevant icon files are:\n'f'{list(zip(keywords, icon_files))}')# BERT tiny:# [('deep learning', 'deep-learning'), ('', '123'), ('recycling', 'refinery'),# ('handshake', 'dash-circle'), ('Ferry', 'cart'), ('rain drop', 'bucket'),# ('speech bubble', 'globe'), ('mental resilience', 'exclamation-triangle'),# ('turmeric', 'kebab'), ('Art', 'display'), ('price tag', 'bug-fill'),# ('Oxygen', 'radioactive')]# BERT mini# [('deep learning', 'deep-learning'), ('', 'compass'), ('recycling', 'tools'),# ('handshake', 'bandaid'), ('Ferry', 'cart'), ('rain drop', 'trash'),# ('speech bubble', 'image'), ('mental resilience', 'recycle'), ('turmeric', 'linkedin'),# ('Art', 'book'), ('price tag', 'card-image'), ('Oxygen', 'radioactive')]# BERT small# [('deep learning', 'deep-learning'), ('', 'gem'), ('recycling', 'tools'),# ('handshake', 'handbag'), ('Ferry', 'truck'), ('rain drop', 'bucket'),# ('speech bubble', 'strategy'), ('mental resilience', 'deep-learning'),# ('turmeric', 'flower'),# ('Art', 'book'), ('price tag', 'hotdog'), ('Oxygen', 'radioactive')]if __name__ == '__main__':
16 unmodified lines171819202122149 unmodified lines17217317416 unmodified lines- Objects Infographic Icons (CC0 License): https://www.svgrepo.com/collection/objects-infographic-icons/- Scientifics Study Collection (CC0 License): https://www.svgrepo.com/collection/scientifics-study/- Thanksgiving 4 Collection (CC0 License): https://www.svgrepo.com/collection/thanksgiving-4/- Vaadin Flat Vectors Collection (Apache License): https://www.svgrepo.com/collection/vaadin-flat-vectors/- India ICON SET (SVG) [NO attribution required]: https://icon666.com/collection/india_m7tgpnohh149 unmodified lineshttps://www.svgrepo.com/download/209887/tea-coffee-cup.svghttps://www.svgrepo.com/download/209855/restaurant-spoon.svghttps://www.svgrepo.com/download/209875/jelly-jar.svg16 unmodified lines17181920212223149 unmodified lines17317417517616 unmodified lines- Objects Infographic Icons (CC0 License): https://www.svgrepo.com/collection/objects-infographic-icons/- Scientifics Study Collection (CC0 License): https://www.svgrepo.com/collection/scientifics-study/- Thanksgiving 4 Collection (CC0 License): https://www.svgrepo.com/collection/thanksgiving-4/- Using Hands Collection (CC0 License): https://www.svgrepo.com/collection/using-hands/- Vaadin Flat Vectors Collection (Apache License): https://www.svgrepo.com/collection/vaadin-flat-vectors/- India ICON SET (SVG) [NO attribution required]: https://icon666.com/collection/india_m7tgpnohh149 unmodified lineshttps://www.svgrepo.com/download/209887/tea-coffee-cup.svghttps://www.svgrepo.com/download/209855/restaurant-spoon.svghttps://www.svgrepo.com/download/209875/jelly-jar.svghttps://www.svgrepo.com/download/83723/handshake.svg
file_embeddings/embeddings.npy+2-2
file_embeddings/icons.npy+2-2
global_config.py+1-1
helpers/icons_embeddings.py+44-2
icons/png128/csv.pngAdded
icons/png128/handshake.pngAdded
icons/png128/html.pngAdded
icons/png128/lock.pngAdded
icons/png128/python.pngAdded
icons/png128/search.pngAdded
icons/png128/txt.pngAdded
icons/png128/xml.pngAdded
icons/png128/yml.pngAdded
icons/svg_repo.txt+2