Downloads · 30 days
0
Icelandic-lt/neural-parser
neural-parser is a machine learning model from Icelandic-lt. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
The docker container can be also be located on dockerhub (docker pull mideind/neural-parser). To load the saved image into docker use:
Downloads · 30 days
0
Access
Public
Updated May 27, 2024
Repo size
6.3 GB
Likes
0
Public
Click a slice to open those files.
.gz6.3 GB · 100%
From the Hugging Face model README
The docker container can be also be located on dockerhub (docker pull mideind/neural-parser). To load the saved image into docker use:
gunzip neural-parser.gz
docker load -i neural-parser.tar
The input to the parser is a text file (${INPUT_FILE}) where each line contains a tokenized sentence that will be parsed.
The output file will be located in ${OUTPUT_DIR}/output.txt . To run the parser use the following:
docker run --volume ${INPUT_FILE}:/data/input.txt --volume ${OUTPUT_DIR}:/data/ mideind/neural-parser
Athugið að einnig má finna gáminn á dockerhub (docker pull mideind/neural-parser). Til að hlaða vistuðum gámi inn í docker skal nota:
gunzip neural-parser.gz
docker load -i neural-parser.tar
Inntakið í þáttarann er texta skrá (${INPUT_FILE}) þar sem hver lína geymir eina tókaða málsgrein. Eftir keyrslu má finna úttakið í skránni ${OUTPUT_DIR}/output.txt .
Til að keyra þáttarann skal nota:
docker run --volume ${INPUT_FILE}:/data/input.txt --volume ${OUTPUT_DIR}:/data/ mideind/neural-parser