Instructions to use henryscheible/stereoset_all_bert_predheadonly with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use henryscheible/stereoset_all_bert_predheadonly with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="henryscheible/stereoset_all_bert_predheadonly")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("henryscheible/stereoset_all_bert_predheadonly") model = AutoModel.from_pretrained("henryscheible/stereoset_all_bert_predheadonly", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download validation.json from henryscheible/stereoset_all_bert_predheadonly: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/henryscheible/stereoset_all_bert_predheadonly/resolve/main/validation.json
- Command line
-
hf download hf://henryscheible/stereoset_all_bert_predheadonly/validation.json
-
curl -L -o validation.json https://huggingface.co/henryscheible/stereoset_all_bert_predheadonly/resolve/main/validation.json
1.09 kB
| {"best_model_step": "2.70", "best_model_acc": 0.5361067503924647, "eval_results": {"0.0": {"accuracy": 0.13657770800627944}, "0.10": {"accuracy": 0.45604395604395603}, "0.20": {"accuracy": 0.5156985871271585}, "0.30": {"accuracy": 0.5290423861852434}, "0.40": {"accuracy": 0.5266875981161695}, "0.50": {"accuracy": 0.532967032967033}, "0.60": {"accuracy": 0.5259026687598116}, "0.70": {"accuracy": 0.5282574568288854}, "1.0": {"accuracy": 0.5282574568288854}, "1.10": {"accuracy": 0.5251177394034537}, "1.20": {"accuracy": 0.5298273155416012}, "1.30": {"accuracy": 0.5266875981161695}, "1.40": {"accuracy": 0.5298273155416012}, "1.50": {"accuracy": 0.5321821036106751}, "1.60": {"accuracy": 0.5321821036106751}, "1.70": {"accuracy": 0.532967032967033}, "2.0": {"accuracy": 0.5353218210361067}, "2.10": {"accuracy": 0.5353218210361067}, "2.20": {"accuracy": 0.5353218210361067}, "2.30": {"accuracy": 0.5353218210361067}, "2.40": {"accuracy": 0.532967032967033}, "2.50": {"accuracy": 0.5353218210361067}, "2.60": {"accuracy": 0.5361067503924647}, "2.70": {"accuracy": 0.5361067503924647}}} |