Instructions to use taeminlee/gliner_ko with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use taeminlee/gliner_ko with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("taeminlee/gliner_ko") 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
Download gliner_config.json from taeminlee/gliner_ko: direct link, hf CLI and curl.
- Browser
- Download file 570 Bytes
-
https://huggingface.co/taeminlee/gliner_ko/resolve/main/gliner_config.json
- Command line
-
hf download hf://taeminlee/gliner_ko/gliner_config.json
-
curl -L -o gliner_config.json https://huggingface.co/taeminlee/gliner_ko/resolve/main/gliner_config.json
570 Bytes
| { | |
| "lr_encoder": "1e-5", | |
| "lr_others": "5e-5", | |
| "warmup_ratio": 0.1, | |
| "max_width": 12, | |
| "model_name": "lighthouse/mdeberta-v3-base-kor-further", | |
| "fine_tune": true, | |
| "subtoken_pooling": "first", | |
| "hidden_size": 768, | |
| "span_mode": "markerV0", | |
| "dropout": 0.4, | |
| "root_dir": "ablation_backbone", | |
| "prev_path": "none", | |
| "size_sup": -1, | |
| "max_types": 25, | |
| "shuffle_types": true, | |
| "random_drop": true, | |
| "max_neg_type_ratio": 1, | |
| "max_len": 384, | |
| "name": "largev2_ko_m", | |
| "log_dir": "logs", | |
| "token_splitter": "mecab-ko", | |
| "words_splitter_type": "mecab" | |
| } |