scale-score's People
Forkers
jjhwscale-score's Issues
Issue with the prompt - scale score and sentli
@blattimer-asapp @fvivas-asapp
Below is the prompt used in the code:
'{{premise}} Question: Does this imply that "{{hypothesis}}"? Yes or no?'
Is it expected to be "no" or it should be "No". I see you are considering "Yes" & "No" tokens.
Replication for true benchmark
Hi,
Thanks for sharing your work!
I wanted to replicate results on the True Benchmark. Can you please let me know how were the sentence level scores combined to get a single score for the summary. A single inconsistent sentence makes the whole summary inconsistent I guess. Also the thresholds used at the sentence level.
Thanks.
Factual consistency of a simple sentence pair is not giving expected result.
Hi ,
I try to test this on a simple sentence and it seems the score doesn't confirm the factual consistency of the premise and hypothesis. here is the code and output
`
from scale_score.scorer import SCALEScorer
scorer = SCALEScorer(size='small', device='mps')
premise=["My name is Ibrahim Lincoln"]
hypothesis=["I am Ibrahim Lincoln"]
scorer.score(premise,[hypothesis])
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 2.03it/s]
[0.053020697087049484]
`
Is there something wrong with the code ? Any possible explanation of the result above ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.