Downloads · 30 days
46
1% of all-time downloads
predibase/glue_qnli
glue_qnli is a text generation model from predibase. Use it when you need the model to write or continue text. It is set up for peft.
Description: Does the response answer the question?\ Original dataset: https://huggingface.co/datasets/glue/viewer/qnli \ ---\ Try querying this adapter for free in Lora Land at https://predibase.com/lora-land! \ The…
Downloads · 30 days
46
1% of all-time downloads
All-time downloads
6.4K
Public
Repo size
13.6 MB
Likes
4
Public
Click a slice to open those files.
.safetensors13.6 MB · 100%
From the Hugging Face model README
Description: Does the response answer the question?
Original dataset: https://huggingface.co/datasets/glue/viewer/qnli
---
Try querying this adapter for free in Lora Land at https://predibase.com/lora-land!
The adapter_category is Academic Benchmarks and the name is Answer Validation (QNLI)
---
Sample input: You are provided a question and a corresponding response below. If the response properly answers the question, please return 0. Otherwise, please return 1.\n\n### Question: What is the seldom used force unit equal to one thousand newtons?\n\n### Response: The kilogram-force leads to an alternate, but rarely used unit of mass: the metric slug (sometimes mug or hyl) is that mass that accelerates at 1 m·s−2 when subjected to a force of 1 kgf.\n\n### Label:
---
Sample output: 1
---
Try using this adapter yourself!
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "mistralai/Mistral-7B-v0.1"
peft_model_id = "predibase/glue_qnli"
model = AutoModelForCausalLM.from_pretrained(model_id)
model.load_adapter(peft_model_id)