my-vicinity-repo
收藏魔搭社区2025-07-16 更新2025-05-31 收录
下载链接:
https://modelscope.cn/datasets/minishlab/my-vicinity-repo
下载链接
链接失效反馈官方服务:
资源简介:
# Dataset Card for minishlab/my-vicinity-repo
This dataset was created using the [vicinity](https://github.com/MinishLab/vicinity) library, a lightweight nearest neighbors library with flexible backends.
It contains a vector space with 5 items.
## Usage
You can load this dataset using the following code:
```python
from vicinity import Vicinity
vicinity = Vicinity.load_from_hub("minishlab/my-vicinity-repo")
```
After loading the dataset, you can use the `vicinity.query` method to find the nearest neighbors to a vector.
## Configuration
The configuration of the dataset is stored in the `config.json` file. The vector backend is stored in the `backend` folder.
```bash
{
"metadata": {
"model": "minishlab/potion-base-8M"
},
"backend_type": "basic"
}
```
# 数据集卡片:minishlab/my-vicinity-repo
本数据集基于[vicinity](https://github.com/MinishLab/vicinity)库构建,该库是一款轻量级近邻搜索库,支持灵活的后端配置。
本数据集包含一个包含5个向量条目的向量空间。
## 使用方法
您可通过以下代码加载本数据集:
python
from vicinity import Vicinity
vicinity = Vicinity.load_from_hub("minishlab/my-vicinity-repo")
加载完成后,即可调用`vicinity.query`方法查询与指定向量的最近邻项。
## 配置说明
数据集的配置信息存储于`config.json`文件中,向量后端存储于`backend`文件夹内。
bash
{
"metadata": {
"model": "minishlab/potion-base-8M"
},
"backend_type": "basic"
}
提供机构:
maas
创建时间:
2025-05-29



