基于 Electron + Vue3 + TypeScript + LanceDB 的本地化 RAG 问答桌面应用。 仅支持 Linux(Kylin V10 / Ubuntu),适配 ER160(揽月 M50 NPU)和 ER25(芯动力 RPP)计算卡。 服务进程管理委托给 er_backend(HTTP 17700),前端专注 RAG 逻辑与用户交互。 包含: - src/elec_rag_ui 前端工程(Electron + Vue3) - models/ 本地嵌入模型(bge-small/base/large,ASR,标点恢复,onnx 文件由 Git LFS 管理) - docs/ 示例文档(用于测试索引与问答)
32 lines
716 B
JSON
32 lines
716 B
JSON
{
|
|
"_name_or_path": "BAAI/bge-small-zh-v1.5",
|
|
"architectures": [
|
|
"BertModel"
|
|
],
|
|
"attention_probs_dropout_prob": 0.1,
|
|
"classifier_dropout": null,
|
|
"gradient_checkpointing": false,
|
|
"hidden_act": "gelu",
|
|
"hidden_dropout_prob": 0.1,
|
|
"hidden_size": 512,
|
|
"id2label": {
|
|
"0": "LABEL_0"
|
|
},
|
|
"initializer_range": 0.02,
|
|
"intermediate_size": 2048,
|
|
"label2id": {
|
|
"LABEL_0": 0
|
|
},
|
|
"layer_norm_eps": 1e-12,
|
|
"max_position_embeddings": 512,
|
|
"model_type": "bert",
|
|
"num_attention_heads": 8,
|
|
"num_hidden_layers": 4,
|
|
"pad_token_id": 0,
|
|
"position_embedding_type": "absolute",
|
|
"transformers_version": "4.34.0.dev0",
|
|
"type_vocab_size": 2,
|
|
"use_cache": true,
|
|
"vocab_size": 21128
|
|
}
|