Instructions to use DataSign/gliner-ja-pii-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use DataSign/gliner-ja-pii-v1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("DataSign/gliner-ja-pii-v1") text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal." labels = ["person", "date", "location"] entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"]) - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
ab275e8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:723c6f30621bc42f3beb1ca910bdb35896349fee8b8060e6878ec4553e1e3144
size 1155877731
|