cjstadler / fnc-adversarial Goto Github PK
View Code? Open in Web Editor NEWGenerating adversarial examples for the Fake News Challenge
Generating adversarial examples for the Fake News Challenge
three options
i
-j
items in the list; parallelize with shell scriptcurrently have number 3 implemented with joblib, here's performance on a small subset.
Clearly, there's something happening (pickling results?) at the end (after 91 done) that causes it to take 2 min for the final join. It may not matter though because I think this time will be constant with larger subsets.
Replacing 4 words in each example
[Parallel(n_jobs=38)]: Using backend LokyBackend with 38 concurrent workers.
[Parallel(n_jobs=38)]: Done 9 tasks | elapsed: 11.5s
[Parallel(n_jobs=38)]: Done 22 tasks | elapsed: 12.6s
[Parallel(n_jobs=38)]: Done 36 out of 100 | elapsed: 13.4s remaining: 23.8s
[Parallel(n_jobs=38)]: Done 47 out of 100 | elapsed: 14.3s remaining: 16.1s
[Parallel(n_jobs=38)]: Done 58 out of 100 | elapsed: 15.8s remaining: 11.5s
[Parallel(n_jobs=38)]: Done 69 out of 100 | elapsed: 16.8s remaining: 7.6s
[Parallel(n_jobs=38)]: Done 80 out of 100 | elapsed: 19.2s remaining: 4.8s
[Parallel(n_jobs=38)]: Done 91 out of 100 | elapsed: 20.9s remaining: 2.1s
[Parallel(n_jobs=38)]: Done 100 out of 100 | elapsed: 2.2min finished
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.