Create huggingface.yaml
Browse files- huggingface.yaml +24 -0
huggingface.yaml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
filter: [
|
| 2 |
+
{
|
| 3 |
+
bool: {
|
| 4 |
+
/// Include model files matching at least one of these rules
|
| 5 |
+
should: [
|
| 6 |
+
/// ONNX encoder
|
| 7 |
+
{
|
| 8 |
+
term: { path: "encoder_model.onnx" },
|
| 9 |
+
},
|
| 10 |
+
|
| 11 |
+
/// ONNX decoder
|
| 12 |
+
{
|
| 13 |
+
term: { path: "decoder_model.onnx" },
|
| 14 |
+
},
|
| 15 |
+
|
| 16 |
+
/// SentencePiece tokenizer
|
| 17 |
+
{
|
| 18 |
+
term: { path: "spm.model" },
|
| 19 |
+
},
|
| 20 |
+
],
|
| 21 |
+
minimum_should_match: 1,
|
| 22 |
+
},
|
| 23 |
+
},
|
| 24 |
+
]
|