Skip to content
/ fed Public

Code for SIGdial 2020 paper: Unsupervised Evaluation of Interactive Dialog with DialoGPT (https://arxiv.org/abs/2006.12719)

Notifications You must be signed in to change notification settings

Shikib/fed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

FED

import fed
  
# Load model
model, tokenizer = fed.load_models("microsoft/DialoGPT-large")

# Evaluate
conversation = "<|endoftext|> Hi! <|endoftext|> Hello, how is your day? <|endoftext|> It's good. It's raining a bit, but I am enjoying a good book. How about you? <|endoftext|> It's good, I just got back from walking my dog What book did you read?"
scores = fed.evaluate(conversation,
                      model,
                      tokenizer)

About

Code for SIGdial 2020 paper: Unsupervised Evaluation of Interactive Dialog with DialoGPT (https://arxiv.org/abs/2006.12719)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages