usage:

from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("heegyu/1011-hh-rlhf-1.1b-128-1e-5-epoch-1")
model = AutoModelForSequenceClassification.from_pretrained("heegyu/1011-hh-rlhf-1.1b-128-1e-5-epoch-1")

text = """Human: Hi, how are you today?

Assistant: It's so nice!"""

inputs = tokenizer(text, return_tensors="pt")
print(model(**inputs).logits)
# tensor([[0.4552]])

text = """Human: Hi, how are you today?

Assistant: It's so nice!

Human: Really? I'm not so good today

Assistant: Haha!! That's too bad!"""

inputs = tokenizer(text, return_tensors="pt")
print(model(**inputs).logits)
# tensor([[0.0179]])
Downloads last month
10
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Dataset used to train heegyu/1011-hh-rlhf-1.1b-128-1e-5-epoch-1