Comments (7)
Hi, style accuracy is a reference-free metric, you just need a binary style classifier (informal vs formal) to evaluate the given sentence.
from pre-trained-formality-transfer.
Thanks for your reply. But I wonder if so, why the code need to compare 0.txt
and 1.txt
.
from pre-trained-formality-transfer.
This is not a comparison but the evaluation of the outputs of the two transfer directions.
from pre-trained-formality-transfer.
Thanks! I understand it now.
from pre-trained-formality-transfer.
However, I use it to evaluate the files under outputs.
The result of em is 74.5396%.
The result of fr is 72.3522%.
They seem strange.
from pre-trained-formality-transfer.
I guess you can check the dependencies, especially the version of transformers.
from pre-trained-formality-transfer.
Oh yes! After changing the version of transformers, I can get satisfactory results, now!!
Best wishes!
from pre-trained-formality-transfer.
Related Issues (9)
- Should I tokenize the reference files when computing BLEU ? HOT 2
- How did you get the test.0 file? HOT 3
- Could you help me with the cal_reward_loss fucntion? HOT 2
- Request a trained model HOT 1
- Questions about cal_sc_loss?
- Questions about cal_bl_loss? HOT 1
- Evaluation
- Using the provided output cannot reproduce the result for BLEURT and ACC HOT 3
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.
from pre-trained-formality-transfer.