Giter Site home page Giter Site logo

ropee's Introduction

ROPEE

1. Environments

- python (3.7.16)
- cuda (11.4)

2. Dependencies

- torch (1.7.0)
- transformers (4.9.1)

3. Dataset

  • FewFC: Chinese Financial Event Extraction dataset. The original dataset can be accessed at this repo. Here we follow the settings of CasEE. Note that the data is avaliable at /dataset/FewFC/data, and we adjust data format for simplicity of data loader. To run the code on other dataset, you could also adjust the data as the data format presented.

4. Run

  1. Download bert-base-chinese to file bert-base-chinese.

  2. Train/Dev/Test the model: Run as follows to train/dev/test the model:

CUDA_VISIBLE_DEVICES=0 python -u main.py --output_model_path ./models_save/model.bin --do_train True --do_eval True --do_test True > logs/model.log

The hyper-parameters are recorded in /utils/params.py.

ropee's People

Contributors

yang-4074 avatar

Watchers

 avatar

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.