update readme
Browse files
README.md
CHANGED
|
@@ -1,3 +1,55 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
# mirror-chinese-mrcqa-alpha
|
| 6 |
+
|
| 7 |
+
🎉 Congratulations, you've found something fantastic!
|
| 8 |
+
|
| 9 |
+
This is a ckpt of [🪞Mirror](https://github.com/Spico197/Mirror) for Chinese language.
|
| 10 |
+
|
| 11 |
+
This model supports a lot of schema-guided Chinese Information Extraction tasks, e.g. NER, RE, Keyword extraction, MRC, Classification.
|
| 12 |
+
|
| 13 |
+
The model is developed in a very early stage (before the final Mirror) and it is based on MRC.
|
| 14 |
+
|
| 15 |
+
Please contact [Tong Zhu](https://spico197.github.io/) for more information about the model usage.
|
| 16 |
+
|
| 17 |
+
## 🚀 QuickStart
|
| 18 |
+
|
| 19 |
+
- downloading
|
| 20 |
+
|
| 21 |
+
```bash
|
| 22 |
+
git clone https://github.com/Spico197/Mirror
|
| 23 |
+
# Mirror is the working dir
|
| 24 |
+
cd Mirror
|
| 25 |
+
mkdir outputs
|
| 26 |
+
cd outputs
|
| 27 |
+
git lfs install
|
| 28 |
+
git clone https://huggingface.co/Spico/mirror-chinese-mrcqa-alpha
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
- usage
|
| 32 |
+
|
| 33 |
+
```bash
|
| 34 |
+
# 1. go to Mirror (the working dir)
|
| 35 |
+
# 2. change `src/app/demo1_deprecated.py`: `MrcQaPipeline("outputs/RobertaBase_data20230314v2")` to `MrcQaPipeline("outputs/mirror-chinese-mrcqa-alpha")`
|
| 36 |
+
python -m src.app.demo1_deprecated
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## 📖 Citation
|
| 40 |
+
|
| 41 |
+
```bibtex
|
| 42 |
+
@misc{zhu_mirror_2023,
|
| 43 |
+
shorttitle = {Mirror},
|
| 44 |
+
title = {Mirror: A Universal Framework for Various Information Extraction Tasks},
|
| 45 |
+
author = {Zhu, Tong and Ren, Junfei and Yu, Zijian and Wu, Mengsong and Zhang, Guoliang and Qu, Xiaoye and Chen, Wenliang and Wang, Zhefeng and Huai, Baoxing and Zhang, Min},
|
| 46 |
+
url = {http://arxiv.org/abs/2311.05419},
|
| 47 |
+
doi = {10.48550/arXiv.2311.05419},
|
| 48 |
+
urldate = {2023-11-10},
|
| 49 |
+
publisher = {arXiv},
|
| 50 |
+
month = nov,
|
| 51 |
+
year = {2023},
|
| 52 |
+
note = {arXiv:2311.05419 [cs]},
|
| 53 |
+
keywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language},
|
| 54 |
+
}
|
| 55 |
+
```
|