Coder Social home page Coder Social logo

freddyheppell / crowdeval Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 3.32 MB

A crowdsourced system for multiplatform rumour evaluation

License: GNU General Public License v3.0

JavaScript 2.19% SCSS 2.85% Python 61.94% HTML 30.08% Shell 0.79% Mako 0.38% Dockerfile 1.78%
bert flask misinformation nlp python rumour-evaluation university-of-sheffield

crowdeval's Introduction

Hey, I'm Freddy. You can have a look at my open and visible source projects here, and see more of what I've done on my website.

crowdeval's People

Contributors

dependabot[bot] avatar freddyheppell avatar greenwoodma avatar

Watchers

 avatar  avatar  avatar  avatar

crowdeval's Issues

Fix Elastic deprecation warning

DeprecationWarning: The 'body' parameter is deprecated for the 'index' API and will be removed in a future version. Instead use the 'document' parameter. See https://github.com/elastic/elasticsearch-py/issues/1698 for more information (raised from .../crowdeval/webapp/crowdeval/search/support/elasticsearch.py:25)

Post->Ratings and Rating->Post relationships conflicts

SAWarning: relationship 'Rating.post' will copy column posts.id to column ratings.post_id, which conflicts with relationship(s): 'Post.ratings' (copies posts.id to ratings.post_id). If this is not the intention, consider if these relationships should be linked with back_populates, or if viewonly=True should be applied to one or more if they are read-only. For the less common case that foreign key constraints are partially overlapping, the orm.foreign() annotation can be used to isolate the columns that should be written towards. To silence this warning, add the parameter 'overlaps="ratings"' to the 'Rating.post' relationship. (Background on this error at: https://sqlalche.me/e/14/qzyx)

Terms of Service & Privacy Policy

According to the OAuth settings for "Login via Twitter" the app should have both a "terms of service" and a "privacy policy" page. The deployed version currently uses the home page for both of these links but it would be nice to have specific pages for both.

Fix occasional BERT sentence length warning

UserWarning: some of your sentences have more tokens than "max_seq_len=25" set on the server, as consequence you may get less-accurate or truncated embeddings.
here is what you can do:
- disable the length-check by create a new "BertClient(check_length=False)" when you do not want to display this warning
- or, start a new server with a larger "max_seq_len"
  warnings.warn('some of your sentences have more tokens than "max_seq_len=%d" set on the server, '

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.