Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkwee committed Jun 18, 2021
1 parent 49e20eb commit 7b287be
Show file tree
Hide file tree
Showing 9 changed files with 1,587 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.pythonPath": "C:\\Python38\\python.exe"
}
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
# SubjectiveBiasABS
code for the arxiv paper "Subjective Bias in Abstractive Summarization"
- code for the arxiv paper "Subjective Bias in Abstractive Summarization"

# introduction
- params.py:hyperparameters
- get_datasets.py:get the topk oracle sentences in article then parse
- process_dataset:turn parsed file into the format of DGL graph triplet
- model.py:the self-supervised GCN model for extractive subjective style embedding
- train.py:train, concat small graphs into a batch
- infer.py: infer the whole training set to get subjective style embedding

# detail
- negative samples of oracle sentences are uniform-sampled by the jaccard sim
Loading

0 comments on commit 7b287be

Please sign in to comment.