Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# UIE ONNX模型使用指南
|
| 2 |
|
| 3 |
本指南介绍如何使用和导出UIE (Universal Information Extraction) 模型的ONNX版本。
|
|
@@ -30,7 +43,6 @@ UIE模型是一个通用信息抽取模型,基于BERT架构。该模型可以
|
|
| 30 |
## 使用示例
|
| 31 |
|
| 32 |
```python
|
| 33 |
-
python
|
| 34 |
import onnxruntime as ort
|
| 35 |
|
| 36 |
tokenizer = AutoTokenizer.from_pretrained("xusenlin/uie-base")
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- "zh"
|
| 4 |
+
tags:
|
| 5 |
+
- "information-extraction"
|
| 6 |
+
- "token-classification"
|
| 7 |
+
- "uie"
|
| 8 |
+
- "bert"
|
| 9 |
+
- "onnx"
|
| 10 |
+
library_name: "onnxruntime"
|
| 11 |
+
pipeline_tag: "feature-extraction"
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
# UIE ONNX模型使用指南
|
| 15 |
|
| 16 |
本指南介绍如何使用和导出UIE (Universal Information Extraction) 模型的ONNX版本。
|
|
|
|
| 43 |
## 使用示例
|
| 44 |
|
| 45 |
```python
|
|
|
|
| 46 |
import onnxruntime as ort
|
| 47 |
|
| 48 |
tokenizer = AutoTokenizer.from_pretrained("xusenlin/uie-base")
|