Spaces:
Runtime error
Runtime error
Commit
•
b6f8c08
1
Parent(s):
a6deb48
Updating details
Browse files
app.py
CHANGED
@@ -44,16 +44,12 @@ Check out the original on [Nomic](https://atlas.nomic.ai/data/derek2/boru-subred
|
|
44 |
details_md = """
|
45 |
# Details
|
46 |
## Creation Details
|
47 |
-
1. This space is triggered by a webhook for changes on [
|
48 |
-
2. It then takes the updates from that dataset and get embeddings by making leveraging [
|
49 |
-
- [
|
50 |
- Im calling this via [gradio_client](https://www.gradio.app/docs/client) which allows any space to be used as an API
|
51 |
-
3. The calculated embeddings are stored in this dataset [
|
52 |
-
4. These get visualized by [nomic atlas](https://docs.nomic.ai/atlas/introduction/quick-start). You can see how I process it in [build_nomic.py](https://huggingface.co/spaces/
|
53 |
-
|
54 |
-
## Todo
|
55 |
-
- Ignore the colors for now, I need to clean that up :)
|
56 |
-
- I need to integrate with Nomic's semantic search
|
57 |
"""
|
58 |
|
59 |
url = "https://atlas.nomic.ai/data/derek2/boru-subreddit-neural-search/map"
|
|
|
44 |
details_md = """
|
45 |
# Details
|
46 |
## Creation Details
|
47 |
+
1. This space is triggered by a webhook for changes on [reddit-tools-HF/dataset-creator-reddit-bestofredditorupdates](https://huggingface.co/datasets/reddit-tools-HF/dataset-creator-reddit-bestofredditorupdates).
|
48 |
+
2. It then takes the updates from that dataset and get embeddings by making leveraging [reddit-tools-HF/nomic-embeddings](https://huggingface.co/spaces/reddit-tools-HF/nomic-embeddings)
|
49 |
+
- [reddit-tools-HF/nomic-embeddings](https://huggingface.co/spaces/reddit-tools-HF/nomic-embeddings) is using [zero-spaces](https://huggingface.co/zero-gpu-explorers) a free GPU service to compute the model [nomic-ai/nomic-embed-text-v1.5](https://huggingface.co/nomic-ai/nomic-embed-text-v1.5)
|
50 |
- Im calling this via [gradio_client](https://www.gradio.app/docs/client) which allows any space to be used as an API
|
51 |
+
3. The calculated embeddings are stored in this dataset [reddit-tools-HF/reddit-bestofredditorupdates-processed](https://huggingface.co/datasets/reddit-tools-HF/reddit-bestofredditorupdates-processed)
|
52 |
+
4. These get visualized by [nomic atlas](https://docs.nomic.ai/atlas/introduction/quick-start). You can see how I process it in [build_nomic.py](https://huggingface.co/spaces/reddit-tools-HF/processing-bestofredditorupdates/blob/main/src/build_nomic.py)
|
|
|
|
|
|
|
|
|
53 |
"""
|
54 |
|
55 |
url = "https://atlas.nomic.ai/data/derek2/boru-subreddit-neural-search/map"
|