word similarity

This commit is contained in:
gcw_4spBpAfv
2026-04-21 23:05:59 +08:00
parent e23aaaa4ba
commit 1550783eef
36 changed files with 44822 additions and 12 deletions

View File

@@ -110,6 +110,19 @@ object AppConfig {
const val MODEL_SIZE_ESTIMATE = 500L * 1024 * 1024 // 500MB
}
/** BGE-small-zh-v1.5 文本嵌入RKNN用于语义相似度 / 检索。 */
object Bge {
const val ASSET_DIR = "bge_models"
const val MODEL_FILE = "bge-small-zh-v1.5.rknn"
}
/**
* app/note/ref 通过 Gradle 额外 assets 目录打入 apk 后,在 assets 中的根路径为 `ref/`。
*/
object RefCorpus {
const val ASSETS_ROOT = "ref"
}
object OnboardTesting {
// 测试人脸识别
const val FACE_REGONITION = false