Biomedical datasets & models
Collection
11 items โข Updated โข 6
Run almanach/Biomed-Enriched-classifier 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:
Use HF Jobs to fine-tune https://huggingface.co/almanach/Biomed-Enriched-classifier. 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.
Use HF Jobs to run batch inference with https://huggingface.co/almanach/Biomed-Enriched-classifier 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.
How to use almanach/Biomed-Enriched-classifier with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("almanach/Biomed-Enriched-classifier")
model = AutoModel.from_pretrained("almanach/Biomed-Enriched-classifier", device_map="auto")This is the model used to create the Biomed-Enriched dataset.
xlm-roberta-baseThe model was trained on a set of 400,000 paragraphs from PubMed Central, which were annotated by the Llama 3.1 70B Instruct model.
This classifier was created to scale the initial high-quality annotations to the entire PubMed Open Access dataset. This distillation process enabled the creation of the large-scale Biomed-Enriched dataset while maintaining annotation consistency.
The model predicts the following outputs:
ClinicalBiomedicalOtherClinical CaseStudyReviewOther1 (low quality) to 5 (high quality).Base model
FacebookAI/xlm-roberta-base