Instructions to use FluidInference/gliner2-5-small-coreml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use FluidInference/gliner2-5-small-coreml with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("FluidInference/gliner2-5-small-coreml") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - Notebooks
- Google Colab
- Kaggle
File size: 305 Bytes
55bd028 | 1 2 3 4 5 6 7 8 9 10 | {
"source": "build/gliner2_small_classification_fp16_L128_K8.mlpackage",
"output": "build/gliner2_small_classification_w8_pc_L128_K8.mlpackage",
"method": "linear",
"granularity": "per_channel",
"source_bytes": 151542752,
"output_bytes": 76664593,
"compression_seconds": 2.327086499950383
}
|