-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added huggingface tagger (without LFS)
- Loading branch information
Showing
90 changed files
with
491,428 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "pie/base/pie"] | ||
path = pie/base/pie | ||
url = https://github.com/INL/int-pie | ||
[submodule "huggingface/base/huggingface"] | ||
path = huggingface/base/huggingface | ||
url = https://github.com/INL/int-huggingface-tagger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Huggingface tagger | ||
`base/` provides a base docker image from which the specific huggingface models derive. | ||
The base image provides the needed runtime (python, packages, `process.py`, etc.). A huggingface model simply has to derive from the base image, copy a `model.config` and the files that model.config refers to. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ARG tag=dev | ||
FROM instituutnederlandsetaal/taggers-dockerized-hug-base:$tag | ||
|
||
COPY --link . ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"[CLS]": 2, | ||
"[MASK]": 4, | ||
"[PAD]": 0, | ||
"[SEP]": 3, | ||
"[UNK]": 1 | ||
} |
Oops, something went wrong.