KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
CEPN
★ 12
Open GitHub ↗
Code for causality extraction.
Download README (.md)
Explore Similar Repositories
SpaceStation8
:
A demo game created for Ludum Jam 49
binance-nft-bot
:
Allows automatically participate in NFT sales. Buys maximum amount of NTFs automatically when a sale starts. Supports only English site version.
architectural-katas-2021-fall
:
O'Reilly Architectural Katas 2021 fall
secret-android
:
android
HelloAce
:
Example Ace3 addon
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
CEPN
?
Download (.md)
This repo contains the code and data for causality extraction task. ### Requirements ### 1) python 3.6 2) pytorch 1.7.1 3) CUDA 10.1 4) Transformers 3.5.0 ### Dataset ### https://drive.google.com/drive/folders/1DGmljtCkvNY2PUzZH94G74agPNyMoKPi?usp=sharing 5 fold splits for FinCausal2020 and FinCausal2021 is given in the above location. Use data_prep.py to convert them into the proper format for our code. python3.6 data_prep.py in_file_csv out_file_json out_bert_file_json bert_tokenizer_name in_file_csv: csv file in the splits out_file_json: intermediate non-beat json file out_bert_file_json: json file with BERT tokens. This file is used by cepn.py to train and test the model. bert_tokenizer_name: bert-base-cased or bert-large-cased ### How to run ### CEPN_Base python3.6 cepn.py FinCausal2020 config.ini target_dir train5fold python3.6 cepn.py FinCausal2021 config.ini target_dir train5fold CEPN_Large python3.6 cepn.py FinCausal2020 config_large.ini target_dir train5fold python3.6 cepn.py FinCausal2021 config_large.ini target_dir train5fold target_dir: Some directory where model and other output files are saved. ### Publication ### If you use the source code or models from this work, please cite our paper: ``` @inproceedings{nayak2022cepn, author = {Tapas Nayak, Soumya Sharma, Yash Butala, Koustuv Dasgupta, Pawan Goyal, and Niloy Ganguly}, title = {A Generative Approach for Financial Causality Extraction}, booktitle = {Proceedings of The 2nd Workshop on Financial Technology on the Web (FinWeb)}, year = {2022} } ```