Instructions to use john-dope/ben_bionlp_shared_task_2009 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use john-dope/ben_bionlp_shared_task_2009 with PEFT:
from peft import PeftModel from transformers import AutoModelForTokenClassification base_model = AutoModelForTokenClassification.from_pretrained("/data/hf_cache/models/microsoft/PubMedBERT") model = PeftModel.from_pretrained(base_model, "john-dope/ben_bionlp_shared_task_2009") - Notebooks
- Google Colab
- Kaggle
Download stats.json from john-dope/ben_bionlp_shared_task_2009: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/john-dope/ben_bionlp_shared_task_2009/resolve/refs%2Fpr%2F1/stats.json
- Command line
-
hf download hf://john-dope/ben_bionlp_shared_task_2009@refs/pr/1/stats.json
-
curl -L -o stats.json https://huggingface.co/john-dope/ben_bionlp_shared_task_2009/resolve/refs%2Fpr%2F1/stats.json
1.33 kB
| { | |
| "train": { | |
| "text": { | |
| "character_length": { | |
| "min": 440, | |
| "5%": 863, | |
| "median": 1549, | |
| "95%": 2194, | |
| "max": 3688, | |
| "total": 1447976, | |
| "count": 950 | |
| } | |
| }, | |
| "entities": { | |
| "containing_text_count": { | |
| "SEQUENCE_FEATURE": 270, | |
| "GENETIC_ELEMENT": 906 | |
| }, | |
| "character_length": { | |
| "GENETIC_ELEMENT": { | |
| "min": 1, | |
| "5%": 3, | |
| "median": 5, | |
| "95%": 23, | |
| "max": 107, | |
| "total": 84966, | |
| "count": 11380 | |
| }, | |
| "SEQUENCE_FEATURE": { | |
| "min": 1, | |
| "5%": 7, | |
| "median": 8, | |
| "95%": 23, | |
| "max": 38, | |
| "total": 5286, | |
| "count": 528 | |
| } | |
| } | |
| } | |
| }, | |
| "test": { | |
| "text": { | |
| "character_length": { | |
| "min": 432, | |
| "5%": 818, | |
| "median": 1473, | |
| "95%": 2488, | |
| "max": 3225, | |
| "total": 397171, | |
| "count": 260 | |
| } | |
| }, | |
| "entities": { | |
| "containing_text_count": { | |
| "GENETIC_ELEMENT": 260 | |
| }, | |
| "character_length": { | |
| "GENETIC_ELEMENT": { | |
| "min": 1, | |
| "5%": 3, | |
| "median": 5, | |
| "95%": 23, | |
| "max": 72, | |
| "total": 26183, | |
| "count": 3589 | |
| } | |
| } | |
| } | |
| } | |
| } |