Run this model with HF Jobs

Run liuyanyi/AlignScore-large-hf 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:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/liuyanyi/AlignScore-large-hf. 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.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/liuyanyi/AlignScore-large-hf 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.

AlignScore Large in Huggingface Format

This is a convert version for AlignScore Model, it can inference without alignscore package.

Usage

First download the inference.py, this is a copied code from original codebase.

inference sample

from inferencer import Inferencer


inferencer = Inferencer(
    "/model/AlignScore-large-hf/", # <-- Path to the model
    device="cuda:0", # Use "cpu" if you don't have a GPU
)
inferencer.nlg_eval_mode = "nli_sp"  # Set the evaluation mode
score = inferencer.score(["hello world."], ["hello world."])
print(score)  # Output the score
Downloads last month
1,682
Safetensors
Model size
0.4B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for liuyanyi/AlignScore-large-hf

Base model

yzha/AlignScore
Finetuned
(1)
this model