Giter Site home page Giter Site logo

law-ai / semantic-segmentation Goto Github PK

View Code? Open in Web Editor NEW
54.0 3.0 27.0 6.41 MB

Semantic Segmentation of Legal texts that labels sentences with one of 7 rhetorical roles.

License: MIT License

Python 100.00%
legal-text-analytics artificial-intelligence rhetorical-aspects semantic-segmentation sentence-classification legal-documents

semantic-segmentation's People

Contributors

paheli avatar shounakpaul95 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

semantic-segmentation's Issues

Index out-of-bounds error in prepare_data.py

image

I encountered an issue in the prepare_data.py where an index out-of-bounds error occurs. After investigating, I found that the line causing the error is:
f = (f + 1) % 5
To fix this issue and avoid the out-of-bounds error, I suggest updating the line to use a variable docs_per_fold instead of the hardcoded value 5:
f = (f + 1) % docs_per_fold

Issue when using the trained model for inference

There seems to be an issue when I'm using the trained model on unannotated data for inference.
Also the link provided for the Sen2vec for using the pre-trained model does not work.
Could you please help me with this

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.