allenai/scirepeval
Viewer โข Updated โข 12.4M โข 8.6k โข 24
Run allenai/scirepeval_adapters_clf 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/allenai/scirepeval_adapters_clf. 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/allenai/scirepeval_adapters_clf 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 allenai/scirepeval_adapters_clf with Adapters:
from adapters import AutoAdapterModel
model = AutoAdapterModel.from_pretrained("malteos/scincl")
model.load_adapter("allenai/scirepeval_adapters_clf", set_active=True)allenai/scirepeval_adapters_clf for malteos/scincl
An adapter for the malteos/scincl model that was trained on the scirepeval/classification dataset.
This adapter was created for usage with the adapter-transformers library.
First, install adapter-transformers:
pip install -U adapter-transformers
Note: adapter-transformers is a fork of transformers that acts as a drop-in replacement with adapter support. More
Now, the adapter can be loaded and activated like this:
from transformers import AutoAdapterModel
model = AutoAdapterModel.from_pretrained("malteos/scincl")
adapter_name = model.load_adapter("allenai/scirepeval_adapters_clf", source="hf", set_active=True)