Huseyin Kir commited on
Commit ·
9ae8953
1
Parent(s): 95d07c2
readme update
Browse files- README.md +21 -0
- rag_config.json +25 -0
README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Index details
|
| 2 |
+
|
| 3 |
+
This dataset contains a FAISS index and associated chunk metadata to support
|
| 4 |
+
retrieval-augmented generation (RAG) use cases on [hkir-dev/ndl-core-corpus](https://huggingface.co/datasets/hkir-dev/ndl-core-corpus).
|
| 5 |
+
|
| 6 |
+
### Embeddings
|
| 7 |
+
- Model: sentence-transformers/all-MiniLM-L6-v2
|
| 8 |
+
- Dimension: 384
|
| 9 |
+
- Normalisation: L2
|
| 10 |
+
- Similarity: cosine (inner product)
|
| 11 |
+
|
| 12 |
+
### Chunking
|
| 13 |
+
- Strategy: recursive character-based chunking
|
| 14 |
+
- Chunk size: 800 characters
|
| 15 |
+
- Overlap: 100 characters
|
| 16 |
+
|
| 17 |
+
### Source data
|
| 18 |
+
Chunks reference records in the dataset:
|
| 19 |
+
[hkir-dev/ndl-core-corpus](https://huggingface.co/datasets/hkir-dev/ndl-core-corpus)
|
| 20 |
+
|
| 21 |
+
See `rag_config.json` for full, machine-readable configuration.
|
rag_config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"index_type": "faiss",
|
| 3 |
+
"faiss_index": {
|
| 4 |
+
"type": "IndexFlatIP",
|
| 5 |
+
"metric": "cosine"
|
| 6 |
+
},
|
| 7 |
+
"embedding": {
|
| 8 |
+
"model_name": "sentence-transformers/all-MiniLM-L6-v2",
|
| 9 |
+
"provider": "sentence-transformers",
|
| 10 |
+
"dimension": 384,
|
| 11 |
+
"normalised": true
|
| 12 |
+
},
|
| 13 |
+
"chunking": {
|
| 14 |
+
"strategy": "recursive",
|
| 15 |
+
"unit": "characters",
|
| 16 |
+
"chunk_size": 800,
|
| 17 |
+
"chunk_overlap": 100
|
| 18 |
+
},
|
| 19 |
+
"source": {
|
| 20 |
+
"dataset": "hkir-dev/ndl-core-corpus",
|
| 21 |
+
"id_field": "identifier"
|
| 22 |
+
},
|
| 23 |
+
"created_at": "2025-01-01",
|
| 24 |
+
"version": "v0.1"
|
| 25 |
+
}
|