Skip to content

Commit

Permalink
add Colab notebook for multilingual NER
Browse files Browse the repository at this point in the history
  • Loading branch information
asahi417 committed Mar 9, 2021
1 parent c8fca1d commit fe9f9ff
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,20 @@ Paper [here](https://github.com/asahi417/tner/blob/master/asset/2021_01_EACL_TNE
1. **[Setup](#get-started)**
2. **[Web API](#web-app)**
3. **[Pretrained Models](https://github.com/asahi417/tner/blob/master/MODEL_CARD.md)**
4. **[Model Finetuning](#model-finetuning)** [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1AlcTbEsp8W11yflT7SyT0L4C4HG6MXYr?usp=sharing)
5. **[Model Evaluation](#model-evaluation)** [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1jHVGnFN4AU8uS-ozWJIXXe2fV8HUj8NZ?usp=sharing)
6. **[Model Inference](#model-inference)** [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1mQ_kQWeZkVs6LgV0KawHxHckFraYcFfO?usp=sharing)
4. **[Model Finetuning](#model-finetuning)**
5. **[Model Evaluation](#model-evaluation)**
6. **[Model Inference](#model-inference)**
7. **[Datasets](#datasets)**
8. **[Reference](#reference-paper)**

### Google Colab Examples
| Description | Link |
|---------------------------|-------|
| Model Finetuning | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1AlcTbEsp8W11yflT7SyT0L4C4HG6MXYr?usp=sharing) |
| Model Evaluation | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1jHVGnFN4AU8uS-ozWJIXXe2fV8HUj8NZ?usp=sharing) |
| Model Prediction | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1mQ_kQWeZkVs6LgV0KawHxHckFraYcFfO?usp=sharing) |
| Multilingual NER Workflow | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1Mq0UisC2dwlVMP9ar2Cf6h5b1T-7Tdwb?usp=sharing) |

## Get Started
Install pip package
```shell script
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

with open('README.md', 'r') as f:
readme = f.read()
version = '0.0.5'
version = '0.0.6'
setup(
name='tner',
packages=find_packages(exclude=["asset", "examples", "static", "templates", "tests"]),
Expand Down
2 changes: 1 addition & 1 deletion tner/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .model import TrainTransformersNER
from .model_prediction import TransformersNER
from .get_dataset import get_dataset_ner, SHARED_NER_LABEL, VALID_DATASET
from .get_dataset import get_dataset_ner, SHARED_NER_LABEL, VALID_DATASET, PANX as panx_language_list
from .japanese_tokenizer import SudachiWrapper
from .tokenizer import Transforms

0 comments on commit fe9f9ff

Please sign in to comment.