Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
poldeepner2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Information extraction
poldeepner2
Commits
923c30f0
Commit
923c30f0
authored
May 16, 2022
by
Michał Marcińczuk
Browse files
Options
Downloads
Patches
Plain Diff
Fix dataclass import.
parent
48204281
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!41
Dev v07
Pipeline
#5003
passed
May 16, 2022
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
poldeepner2/model/hf_for_token_calssification.py
+1
-2
1 addition, 2 deletions
poldeepner2/model/hf_for_token_calssification.py
poleval_ner_test_v2.py
+1
-1
1 addition, 1 deletion
poleval_ner_test_v2.py
with
2 additions
and
3 deletions
poldeepner2/model/hf_for_token_calssification.py
+
1
−
2
View file @
923c30f0
...
...
@@ -5,8 +5,7 @@ import yaml
from
typing
import
List
import
torch
from
attr
import
dataclass
from
dataclasses
import
field
from
dataclasses
import
field
,
dataclass
from
transformers
import
AutoModel
,
AutoTokenizer
,
AutoConfig
import
torch.nn
as
nn
import
torch.nn.functional
as
F
...
...
This diff is collapsed.
Click to expand it.
poleval_ner_test_v2.py
+
1
−
1
View file @
923c30f0
...
...
@@ -4,7 +4,7 @@ import getopt
import
json
import
sys
from
at
tr
import
dataclass
from
d
at
aclasses
import
dataclass
from
dateutil
import
parser
from
tqdm
import
tqdm
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment