SAA-Lab / Llama8B-CreativeWritingVerifier

huggingface.co
Total runs: 1.3K
24-hour runs: 2
7-day runs: 144
30-day runs: 408
Model's Last Updated: June 13 2026
text-classification

Introduction of Llama8B-CreativeWritingVerifier

Model Details of Llama8B-CreativeWritingVerifier

Llama 8B Creative Writing Verifier

This model is a LlamaForSequenceClassification reward model for scoring creative-writing stories. It should be used as a scalar verifier/reward model, not as a text-generation model.

Usage

This is a reward model, not a text-generation model. Load it with AutoModelForSequenceClassification and score the story directly as raw text. Do not apply a chat template or wrap the story in a prompt.

import torch
from transformers import AutoModelForSequenceClassification, AutoTokenizer

model_id = "SAA-Lab/Llama8B-CreativeWritingVerifier"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSequenceClassification.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

if tokenizer.pad_token is None:
    tokenizer.pad_token = tokenizer.eos_token
if model.config.pad_token_id is None:
    model.config.pad_token_id = tokenizer.pad_token_id

def reward(story: str) -> float:
    inputs = tokenizer(
        story.strip(),
        return_tensors="pt",
        truncation=True,
        max_length=4096,
    ).to(model.device)
    with torch.inference_mode():
        return model(**inputs).logits.squeeze(-1).float().item()

chosen_score = reward(chosen_story)
rejected_score = reward(rejected_story)
print(chosen_score > rejected_score)

Runs of SAA-Lab Llama8B-CreativeWritingVerifier on huggingface.co

1.3K
Total runs
2
24-hour runs
2
3-day runs
144
7-day runs
408
30-day runs

More Information About Llama8B-CreativeWritingVerifier huggingface.co Model

More Llama8B-CreativeWritingVerifier license Visit here:

https://choosealicense.com/licenses/llama3.1

Llama8B-CreativeWritingVerifier huggingface.co

Llama8B-CreativeWritingVerifier huggingface.co is an AI model on huggingface.co that provides Llama8B-CreativeWritingVerifier's model effect (), which can be used instantly with this SAA-Lab Llama8B-CreativeWritingVerifier model. huggingface.co supports a free trial of the Llama8B-CreativeWritingVerifier model, and also provides paid use of the Llama8B-CreativeWritingVerifier. Support call Llama8B-CreativeWritingVerifier model through api, including Node.js, Python, http.

Llama8B-CreativeWritingVerifier huggingface.co Url

https://huggingface.co/SAA-Lab/Llama8B-CreativeWritingVerifier

SAA-Lab Llama8B-CreativeWritingVerifier online free

Llama8B-CreativeWritingVerifier huggingface.co is an online trial and call api platform, which integrates Llama8B-CreativeWritingVerifier's modeling effects, including api services, and provides a free online trial of Llama8B-CreativeWritingVerifier, you can try Llama8B-CreativeWritingVerifier online for free by clicking the link below.

SAA-Lab Llama8B-CreativeWritingVerifier online free url in huggingface.co:

https://huggingface.co/SAA-Lab/Llama8B-CreativeWritingVerifier

Llama8B-CreativeWritingVerifier install

Llama8B-CreativeWritingVerifier is an open source model from GitHub that offers a free installation service, and any user can find Llama8B-CreativeWritingVerifier on GitHub to install. At the same time, huggingface.co provides the effect of Llama8B-CreativeWritingVerifier install, users can directly use Llama8B-CreativeWritingVerifier installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Llama8B-CreativeWritingVerifier install url in huggingface.co:

https://huggingface.co/SAA-Lab/Llama8B-CreativeWritingVerifier

Url of Llama8B-CreativeWritingVerifier

Llama8B-CreativeWritingVerifier huggingface.co Url

Provider of Llama8B-CreativeWritingVerifier huggingface.co

SAA-Lab
ORGANIZATIONS

Other API from SAA-Lab