File tree Expand file tree Collapse file tree
api/src/main/kotlin/dev/paulee/api/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,19 +6,33 @@ object Embedding {
66 val description : String ,
77 val author : String ,
88 val parameter : String ,
9+ val link : String ,
910 val modelData : ModelData ,
1011 ) {
1112 EmbeddingGemma (
1213 " onnx-community/embeddinggemma-300m-ONNX" ,
1314 " A lightweight open embedding model from Google, built on Gemma 3 and trained on 100+ spoken languages." ,
1415 " Google DeepMind" ,
1516 " 300M" ,
17+ " https://huggingface.co/google/embeddinggemma-300m" ,
1618 ModelData ()
19+ ),
20+ AncientGreekBert (
21+ " onnx-community/Ancient-Greek-BERT-ONNX" ,
22+ " A BERT model specialized for Greek and Ancient Greek texts." ,
23+ " Pranaydeep Singh, Gorik Rutten and Els Lefever" ,
24+ " 110M" ,
25+ " https://huggingface.co/pranaydeeps/Ancient-Greek-BERT" ,
26+ ModelData (
27+ maxLength = 512 ,
28+ modelData = " "
29+ )
1730 )
1831 }
1932
2033 data class ModelData (
2134 val dimension : Int = 768 ,
35+ val maxLength : Int = 2048 ,
2236 val model : String = " onnx/model.onnx" ,
2337 val modelData : String = " onnx/model.onnx_data" ,
2438 val tokenizer : String = " tokenizer.json" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ coroutines.version=1.10.2
1212tokenizers.version =0.34.0
1313onnx.version =1.22.0
1414
15- api.version =1.12.2
15+ api.version =1.12.3
1616core.version =1.15.5
1717ui.version =1.16.4
1818app.version =1.5.0
You can’t perform that action at this time.
0 commit comments