HQRD 67M (fine tuned from distilbert-base-uncased)
This is a 67M parameter model fine-tuned to detect high quality responses. It outputs a score ranging from 0 (bad) to 1 (good). However, occasionally it can output a value slightly outside of that range, such as 1.01 or -0.013
Example Inference Code
from transformers import AutoModelForSequenceClassification, AutoTokenizer
# Load the model and tokenizer from the Hugging Face Hub
model_name = "qingy2024/HQRD-67M"
model = AutoModelForSequenceClassification.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
# Example text to classify
text = "Quantum mechanics is a fundamental branch of physics that describes the behavior of particles on very small scales, such as atoms and subatomic particles. It differs significantly from classical mechanics, which governs macroscopic objects, because it introduces concepts like wave-particle duality, uncertainty, and probabilistic outcomes."# Tokenize the text
inputs = tokenizer(text, truncation=True, max_length=512, padding=True, return_tensors="pt")
import torch
# Perform inferencewith torch.no_grad(): # Disable gradient computation for inference
outputs = model(**inputs)
prediction = outputs.logits.item() # Extract the single float value# Interpret the resultprint(f"Prediction score: {prediction:.3f}")
Runs of qingy2024 HQRD-67M on huggingface.co
29
Total runs
0
24-hour runs
0
3-day runs
29
7-day runs
29
30-day runs
More Information About HQRD-67M huggingface.co Model
HQRD-67M huggingface.co is an AI model on huggingface.co that provides HQRD-67M's model effect (), which can be used instantly with this qingy2024 HQRD-67M model. huggingface.co supports a free trial of the HQRD-67M model, and also provides paid use of the HQRD-67M. Support call HQRD-67M model through api, including Node.js, Python, http.
HQRD-67M huggingface.co is an online trial and call api platform, which integrates HQRD-67M's modeling effects, including api services, and provides a free online trial of HQRD-67M, you can try HQRD-67M online for free by clicking the link below.
qingy2024 HQRD-67M online free url in huggingface.co:
HQRD-67M is an open source model from GitHub that offers a free installation service, and any user can find HQRD-67M on GitHub to install. At the same time, huggingface.co provides the effect of HQRD-67M install, users can directly use HQRD-67M installed effect in huggingface.co for debugging and trial. It also supports api for free installation.