Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
punctuator
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
nlpworkers
punctuator
Merge requests
!3
Hotfixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Hotfixes
nlpworkers_hotfixes
into
master
Overview
1
Commits
3
Pipelines
3
Changes
7
Merged
Hotfixes
Michał Pogoda
requested to merge
nlpworkers_hotfixes
into
master
Aug 18, 2020
Overview
1
Commits
3
Pipelines
3
Changes
7
Hotfixes to some errors made in refactoring + missing nlp_ws package
0
0
Merge request reports
Compare
master
version 2
c6bf26dc
Aug 18, 2020
version 1
e2e5586d
Aug 18, 2020
master (base)
and
latest version
latest version
2e93a16a
3 commits,
Aug 18, 2020
version 2
c6bf26dc
2 commits,
Aug 18, 2020
version 1
e2e5586d
1 commit,
Aug 18, 2020
7 files
+
14
−
15
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
src/pipelines/actions_based/utils.py
+
1
−
1
View file @ 2e93a16a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -6,12 +6,12 @@ import torch.nn as nn
from
transformers
import
BertForTokenClassification
,
BertTokenizerFast
,
PretrainedConfig
from
src.pipelines.actions_based.processing
import
(
ACTIONS_KEYS
,
action_vector
,
last_stop_label
,
recover_text
,
token_labels_to_word_labels
,
)
from
src.processing
import
ACTIONS_KEYS
def
load_model
(
Loading