Instructions to use apwic/nerui-base-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apwic/nerui-base-3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="apwic/nerui-base-3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("apwic/nerui-base-3") model = AutoModelForTokenClassification.from_pretrained("apwic/nerui-base-3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download predict_results.json from apwic/nerui-base-3: direct link, hf CLI and curl.
- Browser
- Download file 928 Bytes
-
https://huggingface.co/apwic/nerui-base-3/resolve/main/predict_results.json
- Command line
-
hf download hf://apwic/nerui-base-3/predict_results.json
-
curl -L -o predict_results.json https://huggingface.co/apwic/nerui-base-3/resolve/main/predict_results.json
928 Bytes
| { | |
| "predict_LOCATION_f1": 0.9073724007561437, | |
| "predict_LOCATION_number": 261, | |
| "predict_LOCATION_precision": 0.8955223880597015, | |
| "predict_LOCATION_recall": 0.9195402298850575, | |
| "predict_ORGANIZATION_f1": 0.8778054862842892, | |
| "predict_ORGANIZATION_number": 398, | |
| "predict_ORGANIZATION_precision": 0.8712871287128713, | |
| "predict_ORGANIZATION_recall": 0.8844221105527639, | |
| "predict_PERSON_f1": 0.9713541666666666, | |
| "predict_PERSON_number": 381, | |
| "predict_PERSON_precision": 0.9638242894056848, | |
| "predict_PERSON_recall": 0.979002624671916, | |
| "predict_loss": 0.18400143086910248, | |
| "predict_overall_accuracy": 0.9815227779547626, | |
| "predict_overall_f1": 0.9194854692710814, | |
| "predict_overall_precision": 0.9112370160528801, | |
| "predict_overall_recall": 0.9278846153846154, | |
| "predict_runtime": 0.7112, | |
| "predict_samples_per_second": 597.586, | |
| "predict_steps_per_second": 9.843 | |
| } |