allenai / allenai/scibert

ValueError in parsing using genia

Abierto
#118 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
1.7k
Forks
232
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi,

I am interested in the parsing field of nlp and am studying sciBERT. In parsing using genia, ValueError was raised as shown in the attached file.
How can I solve this?

Many thanks!

ps) Other TASKs run fine.

2021-07-01 12:51:39,366 - INFO - allennlp.training.trainer - Training
0%| | 1/896 [00:04<1:00:43, 4.07s/it]
Traceback (most recent call last):
File "/home/centos/miniconda3/envs/test_38/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/centos/miniconda3/envs/test_38/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/centos/ML/src/allennlp/allennlp/run.py", line 21, in
run()
File "/home/centos/ML/src/allennlp/allennlp/run.py", line 18, in run
main(prog="allennlp")
File "/home/centos/ML/src/allennlp/allennlp/commands/__init__.py", line 102, in main
args.func(args)
File "/home/centos/ML/src/allennlp/allennlp/commands/train.py", line 117, in train_model_from_args
train_model_from_file(args.param_path,
File "/home/centos/ML/src/allennlp/allennlp/commands/train.py", line 163, in train_model_from_file
return train_model(params,
File "/home/centos/ML/src/allennlp/allennlp/commands/train.py", line 252, in train_model
metrics = trainer.train()
File "/home/centos/ML/src/allennlp/allennlp/training/trainer.py", line 539, in train
train_metrics = self._train_epoch(epoch)
File "/home/centos/ML/src/allennlp/allennlp/training/trainer.py", line 372, in _train_epoch
raise ValueError("nan loss encountered")
ValueError: nan loss encountered

![error](https://user-images.githubusercontent.com/82014275/124090597-f1fcff00-da8f-11eb-8fc0-2e611f1e03c5.png)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.