SummarizationPipeline crashes
See original GitHub issuesummarize = pipeline("summarization")
summarize("Sam Shleifer writes the best docstring examples in the whole world.")
➡️
/usr/local/lib/python3.6/dist-packages/transformers/pipelines.py in _parse_and_tokenize(self, pad_to_max_length, *args, **kwargs)
461 # Parse arguments
462 inputs = self._args_parser(*args, **kwargs)
--> 463 inputs = self.tokenizer.batch_encode_plus(
464 inputs, add_special_tokens=True, return_tensors=self.framework, pad_to_max_length=pad_to_max_length,
465 )
AttributeError: 'dict' object has no attribute 'batch_encode_plus'
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Pipelines - Hugging Face
Even worse, on bigger batches, the program simply crashes. ... The models that this pipeline can use are models that have been fine-tuned...
Read more >[vtk-developers] [VTK 0011515]: Pipeline crashes with multiple ...
[vtk-developers] [VTK 0011515]: Pipeline crashes with multiple update extent requests, if different extents are requested.
Read more >Pipeline jobs crashing on user names beginning with special ...
Summary Pipeline jobs triggered by users with names beginning with special characters, are crashing. I'm not sure if this...
Read more >Data-driven accident consequence assessment on urban gas ...
The accidents in Urban Pipeline Network (UPN) may cause enormous economic loss ... factors affecting accident consequence of gas UPN are first summarized....
Read more >Pipeline transportation occurrences in 2020
Pipeline transportation occurrences in 2020 - Statistical Summary - ... Pipeline accidents and incidents reported to the TSB (according to reporting ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah that sounds like this issue. It will be fixed in the next release or you can build from source with
@sshleifer It works finally. There was a problem with GPU allocation. Thanks for your response.