Token Classification
Transformers
Safetensors
English
bert
named-entity-recognition
biomedical-nlp
chemical-entity-recognition
drug-discovery
pharmacology
chemistry
chem
Run this model with HF Jobs
Run OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M") model = AutoModelForTokenClassification.from_pretrained("OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
feat: Upload fine-tuned medical NER model OpenMed-NER-ChemicalDetect-ElectraMed-33M
0174583 verified Download test_results.json from OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M: direct link, hf CLI and curl.
- Browser
- Download file 197 Bytes
-
https://huggingface.co/OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M/resolve/main/test_results.json
- Command line
-
hf download hf://OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M/test_results.json
-
curl -L -o test_results.json https://huggingface.co/OpenMed/OpenMed-NER-ChemicalDetect-ElectraMed-33M/resolve/main/test_results.json
197 Bytes
| { | |
| "eval_accuracy": 0.9791816300175138, | |
| "eval_f1": 0.9185082117144935, | |
| "eval_loss": 0.33566537499427795, | |
| "eval_precision": 0.9102049669233272, | |
| "eval_recall": 0.9269643420637425 | |
| } |