Run this model with HF Jobs
Run 0xhikae/ja-ner-ja on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/0xhikae/ja-ner-ja. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/0xhikae/ja-ner-ja on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use 0xhikae/ja-ner-ja with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use 0xhikae/ja-ner-ja with spaCy:
!pip install https://huggingface.co/0xhikae/ja-ner-ja/resolve/main/ja-ner-ja-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("ja-ner-ja") # Importing as module. import ja-ner-ja nlp = ja-ner-ja.load() - Notebooks
- Google Colab
- Kaggle
ja-ner-ja
Japanese Named Entity Recognition model built with spaCy.
Labels
| Label | Precision | Recall | F1 |
|---|---|---|---|
| PERSON | 0.950 | 0.949 | 0.949 |
| DATE_OF_BIRTH | 0.872 | 0.872 | 0.872 |
| ADDRESS | 0.904 | 0.967 | 0.934 |
| ORGANIZATION | 0.929 | 0.828 | 0.876 |
| BANK_ACCOUNT | 0.947 | 0.857 | 0.900 |
Architecture
- Pipeline: tok2vec → ner
- spaCy version: >=3.8.13,<3.9.0
Install
pip install https://huggingface.co/0xhikae/ja-ner-ja/resolve/main/ja_ner_ja-0.2.0-py3-none-any.whl
Usage
import spacy
nlp = spacy.load("ja_ner_ja")
doc = nlp("田中太郎は東京都渋谷区に住んでいます。")
for ent in doc.ents:
print(ent.text, ent.label_)
- Downloads last month
- 22
Evaluation results
- F1self-reported0.922
- Precisionself-reported0.931
- Recallself-reported0.914