Instructions to use apwic/nerui-base-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apwic/nerui-base-0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="apwic/nerui-base-0")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("apwic/nerui-base-0") model = AutoModelForTokenClassification.from_pretrained("apwic/nerui-base-0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download predict_results.json from apwic/nerui-base-0: direct link, hf CLI and curl.
- Browser
- Download file 898 Bytes
-
https://huggingface.co/apwic/nerui-base-0/resolve/main/predict_results.json
- Command line
-
hf download hf://apwic/nerui-base-0/predict_results.json
-
curl -L -o predict_results.json https://huggingface.co/apwic/nerui-base-0/resolve/main/predict_results.json
898 Bytes
| { | |
| "predict_LOCATION_f1": 0.9895615866388309, | |
| "predict_LOCATION_number": 237, | |
| "predict_LOCATION_precision": 0.9793388429752066, | |
| "predict_LOCATION_recall": 1.0, | |
| "predict_ORGANIZATION_f1": 0.9843971631205674, | |
| "predict_ORGANIZATION_number": 354, | |
| "predict_ORGANIZATION_precision": 0.9886039886039886, | |
| "predict_ORGANIZATION_recall": 0.980225988700565, | |
| "predict_PERSON_f1": 0.9960159362549801, | |
| "predict_PERSON_number": 378, | |
| "predict_PERSON_precision": 1.0, | |
| "predict_PERSON_recall": 0.9920634920634921, | |
| "predict_loss": 0.015306070446968079, | |
| "predict_overall_accuracy": 0.9983159312899966, | |
| "predict_overall_f1": 0.9901910170366547, | |
| "predict_overall_precision": 0.9907024793388429, | |
| "predict_overall_recall": 0.9896800825593395, | |
| "predict_runtime": 0.7061, | |
| "predict_samples_per_second": 601.92, | |
| "predict_steps_per_second": 9.914 | |
| } |