Instructions to use mayflowergmbh/tractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use mayflowergmbh/tractor with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("mayflowergmbh/tractor") # 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
Download thresholds.json from mayflowergmbh/tractor: direct link, hf CLI and curl.
- Browser
- Download file 54 Bytes
-
https://huggingface.co/mayflowergmbh/tractor/resolve/main/thresholds.json
- Command line
-
hf download hf://mayflowergmbh/tractor/thresholds.json
-
curl -L -o thresholds.json https://huggingface.co/mayflowergmbh/tractor/resolve/main/thresholds.json
54 Bytes
| { | |
| "text": 0.5, | |
| "quantity": 0.5, | |
| "anchor": 0.5 | |
| } | |