Comments (4)
Hi @maxymy98
That's because you're trying to fine-tune the pre-trained model (which was trained with 50000 tokens dictionary), but your new dataset (dummy one) has much fewer distinct tokens in it (39).
I think you can just re-use index_to_token.json file from the pre-trained model if you want to fine-tune it with a new corpus.
from cakechat.
@maxymy98 Seems like you have a wrong tokens index file. Check data/tokens_index/t_idx_processed_dialogs.json
– it should have 50k different token values, not 39.
The original index file might have been replaced in case you run tools/prepare_index_files.py
script on a dummy corpus.
How to fix:
- remove
data/tokens_index/t_idx_processed_dialogs.json
- run
tools/download_model.py
script, it should get you the original index file
from cakechat.
@nicolas-ivanov @nsmetanin thank you so much for the quick reply. The issue is resolved!
from cakechat.
Awesome!
from cakechat.
Related Issues (20)
- Using the trained model HOT 5
- How to get only 1 sentence of answer? HOT 3
- Grammatically-correct response HOT 3
- ValueError: numpy.ufunc has the wrong size when launching Docker container HOT 4
- AttributeError: 'module' object has no attribute '_get_ndarray_c_version' HOT 7
- Syntax Error:Invalid Syntax HOT 3
- tools/fetch.py ImportError: DLL load failed: The specified module could not be found. error HOT 12
- tools/fetch.py fails. File can not be downloaded. HOT 2
- When the training model is successfully restarted, the start-up service fails to find the model. HOT 8
- Dataset Format HOT 4
- cannot get trained model HOT 1
- Tensorflow GPU issue HOT 7
- Quick start for GPU version: HOT 2
- DialogFlow HOT 3
- Installing on Google Cloud Platform HOT 4
- APK? HOT 6
- Recommended server specs? HOT 2
- How to train data with new condition HOT 2
- add actions when asked something HOT 1
- Gives import error on running fetch.py HOT 3
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 cakechat.