Upload 2 files
Browse files- config.json +12 -0
- preprocessor_config.json +7 -0
config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "distilbert-base-uncased",
|
| 3 |
+
"dim": 768,
|
| 4 |
+
"description": "DistilBERT model for text embedding, suitable for general English tasks.",
|
| 5 |
+
"license": "apache-2.0",
|
| 6 |
+
"size_in_GB": 0.25,
|
| 7 |
+
"sources": {
|
| 8 |
+
"hf": "your_hf_username/distilbert-base-uncased-onnx"
|
| 9 |
+
},
|
| 10 |
+
"model_file": "model.onnx"
|
| 11 |
+
}
|
| 12 |
+
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_length": 512,
|
| 3 |
+
"do_lower_case": true,
|
| 4 |
+
"tokenizer_class": "DistilBertTokenizer",
|
| 5 |
+
"special_tokens_map_file": null
|
| 6 |
+
}
|
| 7 |
+
|