Instructions to use cyclone/cyclone-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cyclone/cyclone-ner with Transformers:
# Load model directly from transformers import AutoTokenizer, BertCrfForNer tokenizer = AutoTokenizer.from_pretrained("cyclone/cyclone-ner") model = BertCrfForNer.from_pretrained("cyclone/cyclone-ner") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Cyclone Chinese NER
This model provides simplified Chinese NER model based on pretrained model BERT (specifically BERT + CRF) Currently, we only support 8 general type of entities ("address", "company", "government", "name", "organization", "position", "scene", "time")
Usage
from transformers import BertConfig
config = BertConfig.from_pretrained("bert-base-chinese", num_labels=num_labels)
model_path = "cyclone/cyclone-ner"
tokenizer = CNerTokenizer.from_pretrained(model_path, do_lower_case=True)
model = BertCrfForNer.from_pretrained(model_path, config=config)
- Downloads last month
- 7
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support