metadata
language: tr
widget:
- text: Mustafa Kemal Atatürk 19 Mayıs 1919'da Samsun'a çıktı.
Turkish Named Entity Recognition (NER) Quantized Model
This model is the dynamically quantized version of the model "akdeniz27/bert-base-turkish-cased-ner"
How to use:
model_onnx = ORTModelForTokenClassification.from_pretrained("akdeniz27/bert-base-turkish-cased-ner-quantized", file_name="model_quantized.onnx")
tokenizer = AutoTokenizer.from_pretrained("akdeniz27/bert-base-turkish-cased-ner-quantized")
ner = pipeline('ner', model=model, tokenizer=tokenizer, aggregation_strategy="first")
ner("<your text here>")
Pls refer "https://github.com/akdeniz27/dynamic_quantization/blob/main/Dynamic_Quantization.ipynb" for details of quantization.