Comments (4)
Interesting. My versions are the same and I can't replicate.
This question might be relevant: https://stackoverflow.com/questions/726690/what-killed-my-process-and-why, specifically seeing whether dmesg -T| grep -E -i -B100 'killed process'
says anything informative.
from transfer-learning-conv-ai.
Hi. Unfortunately I can't replicate this on my machine. Can you try torch.load('dataset_cache_OpenAIGPTTokenizer')
in a python shell and see if that works? Alternatively, what version of pytorch/pytorch-transformers are you on?
from transfer-learning-conv-ai.
I was able to avoid the Killed prompt and now the
python ./interact.py
works well by deleting dataset_cache_OpenAIGPTTokenizer from the local dir before running the command.
But if I Ctrl+C and then I run it again without erasing the file dataset_cache_OpenAIGPTTokenizer it fails.
I've tried a lot of usual commands into the dialogue prompt to exit clean, without any success.
Using Ctrl+Z works, but because the process is not canceled but paused (it continues after sending the fg command, as usually happens with any excution in linux).
Regarding your question:
pytorch-ignite==0.2.1
pytorch-transformers==1.2.0
torch==1.3.0
and torch.load('dataset_cache_OpenAIGPTTokenizer') loads perfectly well within a python3 shell.
Any idea how to finish the dialogue smoothly?
from transfer-learning-conv-ai.
Thank you sshleifer!!! maybe that's the problem.
This is a docker running on a mac. There may not be enough resources assigned.
from transfer-learning-conv-ai.
Related Issues (20)
- pip version problems - updated requirements.txt
- Issue when running interact script HOT 1
- Custom vocabulary HOT 1
- GPT2 chat-bot single interaction… Attribute Error: 'NoneType' object has no attribute 'multiprocessing_chunksize' issue:2
- How to use Interaction through a web api call instead CLI
- Train.py not working
- Reason for parameter 'personality_permutations' HOT 1
- Question about "token_type_ids"
- Batchwise padding dataset
- Load model checkpoint
- I just figured it out. You need both "train" and "valid" examples, following the same structure as: HOT 1
- Questions about interact.py
- Is It Possible To Train With Unsupported Language In Spacy
- Questions about segment embedding
- Which Python version to use to install the libraries from requirements.txt
- How should the value of --num_candidates and --personality_permutations be determined?
- the meaning of code
- metrics: HOT 1
- cannot import name 'cached_path' from 'transformers' HOT 3
- How to input personality?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transfer-learning-conv-ai.