Skip to content

Commit

Permalink
debugged
Browse files Browse the repository at this point in the history
  • Loading branch information
LiyuanLucasLiu committed Sep 14, 2017
1 parent 664c273 commit 8e34eb5
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 55 deletions.
52 changes: 0 additions & 52 deletions comment_test.py

This file was deleted.

2 changes: 1 addition & 1 deletion model/crf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
.. module:: model.crf
.. module:: crf
:synopsis: conditional random field
.. moduleauthor:: Liyuan Liu
Expand Down
4 changes: 2 additions & 2 deletions model/evaluator.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
.. module:: model.evaluator
:synopsis: evaluator for f1 and acc
.. module:: evaluator
:synopsis: evaluation method (f1 score and accuracy)
.. moduleauthor:: Liyuan Liu, Frank Xu
"""
Expand Down
7 changes: 7 additions & 0 deletions model/highway.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
"""
.. module:: highway
:synopsis: highway network
.. moduleauthor:: Liyuan Liu
"""

import torch
import torch.nn as nn
import model.utils as utils
Expand Down
7 changes: 7 additions & 0 deletions model/lm_lstm_crf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
"""
.. module:: LM_LSTM_CRF
:synopsis: LM_LSTM_CRF
.. moduleauthor:: Liyuan Liu
"""

import torch
import torch.autograd as autograd
import torch.nn as nn
Expand Down
7 changes: 7 additions & 0 deletions model/lstm_crf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
"""
.. module:: LSTM_CRF
:synopsis: LSTM_CRF
.. moduleauthor:: Liyuan Liu
"""

import torch
import torch.autograd as autograd
import torch.nn as nn
Expand Down
7 changes: 7 additions & 0 deletions model/ner_dataset.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
"""
.. module:: datasets
:synopsis: datasets
.. moduleauthor:: Liyuan Liu
"""

from torch.utils.data import Dataset


Expand Down
7 changes: 7 additions & 0 deletions model/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
"""
.. module:: utils
:synopsis: utility tools
.. moduleauthor:: Liyuan Liu
"""

import codecs
import csv
import itertools
Expand Down

0 comments on commit 8e34eb5

Please sign in to comment.