FaheemBEG commited on
Commit
c9a3433
·
verified ·
1 Parent(s): f14b2ba

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -50,7 +50,7 @@ The dataset is provided in **Parquet format** and contains the following columns
50
  | `hierarchy` | `list[dict]` | Links to parent or child entities. |
51
  | `directory_url` | `str` | Source URL from the official state directory website. |
52
  | `chunk_text` | `str` | Textual content of the administrative chunk. |
53
- | `embeddings` | `str` (stringified list) | Embeddings of `chunk_text` using `BAAI/bge-m3`. Stored as a JSON array string. |
54
 
55
  ---
56
 
@@ -81,12 +81,12 @@ A synthetic text field called `chunk_text` was created to summarize key aspects
81
 
82
  There was no need here to split characters here.
83
 
84
- ### 🧠 3. Embedding Generation
85
 
86
- Each `chunk_text` was embedded using the [**`BAAI/bge-m3`**](https://huggingface.co/BAAI/bge-m3) model. The resulting embedding vector is stored in the `embeddings` column as a **string**, but can easily be parsed back into a `list[float]` or NumPy array.
87
 
88
  ## 📌 Embeddings Notice
89
- ⚠️ The `embeddings` column is stored as a stringified list (e.g., `"[-0.03062629,-0.017049594,...]"`). To use it as a vector, you need to parse it into a list of floats or NumPy array.
90
  For example, if you want to load the dataset into a dataframe :
91
 
92
  ```python
@@ -94,7 +94,7 @@ import pandas as pd
94
  import json
95
 
96
  df = pd.read_parquet("state_administrations_directory.parquet")
97
- df["embeddings"] = df["embeddings"].apply(json.loads)
98
  ```
99
 
100
  ## 📚 Source & License
 
50
  | `hierarchy` | `list[dict]` | Links to parent or child entities. |
51
  | `directory_url` | `str` | Source URL from the official state directory website. |
52
  | `chunk_text` | `str` | Textual content of the administrative chunk. |
53
+ | `embeddings_bge-m3` | `str` (stringified list) | Embeddings of `chunk_text` using `BAAI/bge-m3`. Stored as a JSON array string. |
54
 
55
  ---
56
 
 
81
 
82
  There was no need here to split characters here.
83
 
84
+ ### 🧠 3. Embeddings Generation
85
 
86
+ Each `chunk_text` was embedded using the [**`BAAI/bge-m3`**](https://huggingface.co/BAAI/bge-m3) model. The resulting embedding vector is stored in the `embeddings_bge-m3` column as a **string**, but can easily be parsed back into a `list[float]` or NumPy array.
87
 
88
  ## 📌 Embeddings Notice
89
+ ⚠️ The `embeddings_bge-m3` column is stored as a stringified list (e.g., `"[-0.03062629,-0.017049594,...]"`). To use it as a vector, you need to parse it into a list of floats or NumPy array.
90
  For example, if you want to load the dataset into a dataframe :
91
 
92
  ```python
 
94
  import json
95
 
96
  df = pd.read_parquet("state_administrations_directory.parquet")
97
+ df["embeddings_bge-m3"] = df["embeddings_bge-m3"].apply(json.loads)
98
  ```
99
 
100
  ## 📚 Source & License