deepsweet commited on
Commit
27230ee
·
verified ·
1 Parent(s): f5c8f2e

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -58,3 +58,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/mdn-en-us.lance/data/11011001010101001110100010024f4b3da099780c812b9433.lance filter=lfs diff=lfs merge=lfs -text
62
+ data/mdn-en-us.lance/_indices/75bc64b9-3c49-4475-a98a-ab3d6856ab1d/part_1_invert.lance filter=lfs diff=lfs merge=lfs -text
63
+ data/mdn-en-us.lance/_indices/75bc64b9-3c49-4475-a98a-ab3d6856ab1d/part_1_tokens.lance filter=lfs diff=lfs merge=lfs -text
64
+ data/mdn-en-us.lance/_indices/75bc64b9-3c49-4475-a98a-ab3d6856ab1d/part_1_docs.lance filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .DS_Store
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_link: https://github.com/mdn/content/blob/main/LICENSE.md
4
+ language:
5
+ - en
6
+ tags:
7
+ - rag
8
+ - embeddings
9
+ - lancedb
10
+ ---
11
+
12
+ Pre‑ingested [LanceDB](https://lancedb.com/) of 50k+ rows from [MDN Web Docs](https://developer.mozilla.org/).
13
+
14
+ > [!NOTE]
15
+ > Main intention is to use it with the [companion RAG-MCP server](https://github.com/deepsweet/mdn) ready for semantic search with hybrid vector (1024-d) and full‑text (BM25) retrieval. Other use cases are welcome as long as it complies with the [license](#license).
16
+
17
+ ## Content
18
+
19
+ The dataset covers the core MDN documentation sections, including:
20
+
21
+ - Web API
22
+ - JavaScript
23
+ - HTML
24
+ - CSS
25
+ - SVG
26
+ - HTTP
27
+
28
+ The [source content](https://github.com/mdn/content), originally in a fairly custom markdown format, is thoroughly processed into plain yet still structured text and then semantically split into meaningful standalone chunks without a hard token limit or overlap.There may still be some minor nuances and room for improvement in the chunked text. Please let me know if you spot any quirks.
29
+
30
+ The embedding model used for data ingestion is [BGE-M3](https://huggingface.co/BAAI/bge-m3) (1024 dimensions, 8192 tokens), specifically the quantized [Q4_K_M GGUF](https://huggingface.co/deepsweet/bge-m3-GGUF-Q4_K_M) version. Looking forward to trying [pplx-embed-context-v1](https://research.perplexity.ai/articles/pplx-embed-state-of-the-art-embedding-models-for-web-scale-retrieval) once it's [added](https://github.com/ggml-org/llama.cpp/issues/20055) to llama.cpp.
31
+
32
+ > [!WARNING]
33
+ > It is strongly recommended to use exactly the same model for correct similarity during query embedding.
34
+
35
+ ## Usage
36
+
37
+ See [development repo](https://github.com/deepsweet/mdn) on GitHub for more details.
38
+
39
+ ## License
40
+
41
+ This dataset is definitely a "derivative work" based upon the original MDN Web Docs content which [license](https://github.com/mdn/content/blob/main/LICENSE.md) is quite complex:
42
+
43
+ - "Prose" content is available under CC-BY-SA-2.5.
44
+ - Code examples and snippets added on or after August 20, 2010 are in the public domain (CC0).
45
+ - Code examples and snippets added before August 20, 2010 are available under MIT.
46
+
47
+ All code examples are never explicitly modified during the chunking step, and therefore are provided as is.
48
+
49
+ This dataset as a whole is provided under the same terms. No new copyright is asserted.
data/mdn-en-us.lance/_indices/75bc64b9-3c49-4475-a98a-ab3d6856ab1d/metadata.lance ADDED
Binary file (742 Bytes). View file
 
data/mdn-en-us.lance/_indices/75bc64b9-3c49-4475-a98a-ab3d6856ab1d/part_1_docs.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18efaeb9340b5ae9dd04c7682a02ddb710689c0691b6697208842424e8497b47
3
+ size 655295
data/mdn-en-us.lance/_indices/75bc64b9-3c49-4475-a98a-ab3d6856ab1d/part_1_invert.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:645eeb579c5f92f0951694ebfa07e4053fe86afcc4ca6941e67cc7f80444ec55
3
+ size 5688354
data/mdn-en-us.lance/_indices/75bc64b9-3c49-4475-a98a-ab3d6856ab1d/part_1_tokens.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9668b2a3b2fb8148552f2cbc78d5c8a63fc3d821caf3e14fdd263db36119b91b
3
+ size 284232
data/mdn-en-us.lance/_transactions/0-224aeda2-2cda-41a8-b365-cf1aa40b1ac1.txn ADDED
Binary file (285 Bytes). View file
 
data/mdn-en-us.lance/_transactions/1-f4cb06dd-2528-4c93-baa5-fcb7f80e6b8a.txn ADDED
Binary file (284 Bytes). View file
 
data/mdn-en-us.lance/_versions/18446744073709551613.manifest ADDED
Binary file (903 Bytes). View file
 
data/mdn-en-us.lance/_versions/18446744073709551614.manifest ADDED
Binary file (656 Bytes). View file
 
data/mdn-en-us.lance/data/11011001010101001110100010024f4b3da099780c812b9433.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a825a014904b19aef5bc3ddc12f666315f42ee581ea59974c4384cfe3bf3d93
3
+ size 251856205