Spaces:
Sleeping
Sleeping
Update app
Browse files
README.md
CHANGED
|
@@ -20,6 +20,11 @@ uvicorn app.main:app --reload
|
|
| 20 |
|
| 21 |
Open http://127.0.0.1:8000
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
Rebuild method index (from repo root, expects transformers clone at `./transformers` or `./transformers_repo`):
|
| 24 |
|
| 25 |
```bash
|
|
@@ -54,7 +59,7 @@ hf upload --repo-type space Molbap/modular-detector-v2 . \
|
|
| 54 |
Push method index to dataset:
|
| 55 |
|
| 56 |
```bash
|
| 57 |
-
hf upload --repo-type dataset
|
| 58 |
--include "embeddings_methods.safetensors" \
|
| 59 |
--include "code_index_map_methods.json" \
|
| 60 |
--include "code_index_tokens_methods.json" \
|
|
|
|
| 20 |
|
| 21 |
Open http://127.0.0.1:8000
|
| 22 |
|
| 23 |
+
Default embedding model: `Qwen/Qwen3-Embedding-0.6B`
|
| 24 |
+
Default dataset: `Molbap/modular-detector-embeddings`
|
| 25 |
+
|
| 26 |
+
Note: The embedding model and the index must match. If you change the model, you must rebuild and re-upload the index.
|
| 27 |
+
|
| 28 |
Rebuild method index (from repo root, expects transformers clone at `./transformers` or `./transformers_repo`):
|
| 29 |
|
| 30 |
```bash
|
|
|
|
| 59 |
Push method index to dataset:
|
| 60 |
|
| 61 |
```bash
|
| 62 |
+
hf upload --repo-type dataset Molbap/modular-detector-embeddings . \
|
| 63 |
--include "embeddings_methods.safetensors" \
|
| 64 |
--include "code_index_map_methods.json" \
|
| 65 |
--include "code_index_tokens_methods.json" \
|