Comments (10)
Hey I just tried adding newlines after each of your Entities
and got it to generate the training data. Let me know if this
helped. (I attached the generated training data as a txt-file since
github doesn't accept json-files)
training_dataset_1539100313.txt
from chatito.
Where is the newline needs to be added?
Example?
And is there a syntax that the rule file missed to follow?
from chatito.
I'm on my phone right now, so this probably won't won't be formatted well.
%[weather]
stuff
/newline
@[some_entity]
more stuff
/newline
~[some_alias]
even more stuff
/newline
replace the /newline
with an extra newline.
I'm not sure if this is the reason, why the script fails. Maybe the documentation offers more insight.
from chatito.
// Find restaurants by city
%weather
~[greet?] ~[whats?] ~[the?] ~[weather] ~[located at] @[ENTITY_location?] @[ENTITY_temporal?]
~[greet?] ~[ask?] ~[the?] ~[weather] ~[located at] @[ENTITY_location?] @[ENTITY_temporal?]
~[greet?] ~[ask] ~[if_it_is] ~[rain_verb] ~[located at] @[ENTITY_location] ~[city?] @[ENTITY_temporal?]
~[greet?] ~[ask] ~[if_it_is] ~[snow_verb] ~[located at] @[ENTITY_location] ~[city?] @[ENTITY_temporal?]
%weather_future
~[greet?] ~[whats?] ~[the?] ~[weather] ~[forecast] ~[located at] @[ENTITY_location?] @[ENTITY_temporal?]
~[greet?] ~[ask?] ~[the?] ~[weather] ~[forecast] ~[located at] @[ENTITY_location?] @[ENTITY_temporal?]
~[greet?] ~[ask_future] ~[if_it_is] ~[rain_verb] ~[located at] @[ENTITY_location] ~[city?] @[ENTITY_temporal?]
~[greet?] ~[ask_future] ~[if_it_is] ~[snow_verb] ~[located at] @[ENTITY_location] ~[city?] @[ENTITY_temporal?]
@[ENTITY_location]
~[new york]
~[san francisco]
~[atlanta]
~[rome]
@[ENTITY_temporal]
~[tomorrow]
~[now]
~[right now]
~[next week]
~[greet]
hey
hi
hello
greetings
~[located at]
at
in the area of
in
around
~[restaurants]
restaurants
places to eat
where to eat
~[whats]
whats
what is
how is
hows
~[weather]
weather
temperature
climate
~[forecast]
forecast
prediction
estimation
~[ask]
tell me
do you know
can you tell me
find out
~[if_it_is]
if it is
is it
~[ask_future]
can
possible that
how likely is
can
~[rain_noun]
rain
pour
shower
~[rain_verb]
raining
pouring
showering
~[snow_noun]
snow
snow fall
~[snow_verb]
snowing
snow falling
from chatito.
The system says "Correct syntax" for the above rule data. But I dont get to download the right content.
from chatito.
do you have your intents in brackets (%[weather])?
What does your JSON-file look like? Is it just empty?
Maybe it's a problem with your browser?
You could try installing Chatito via node and run the script locally, this might also give you some error messages
from chatito.
Its a empty JSON : {}
Containing two brackets.
from chatito.
I will try that too.
from chatito.
hi @jcopps,
I tested on chrome, and i get to download two files, the training file, containing 100 examples, and the testing file that is what you describe {}
So my intuition is that maybe you are not aware that you are downloading two files of maybe your browser only gets you the last download, which is the testing dataset.
from chatito.
Thanks! Got the files now.
from chatito.
Related Issues (20)
- relex
- Unhandled crash when generating testing data HOT 3
- Online ide HOT 2
- Optional slots HOT 1
- [BUG] Slot regression between v2.1.5 and v.2.2.1 HOT 5
- Import failing HOT 2
- Weighted probability HOT 10
- Snips NLU output format error HOT 1
- 数据量太大,然后速度太慢了 HOT 2
- How can I add previous generated json file with new examples? HOT 1
- How can I add Number? HOT 1
- "Can't generate X examples" warning doesn't say which intent it is referring to HOT 2
- How to use Chatito in angularjs HOT 1
- Training/Testing Number Via Cli? HOT 2
- how to use regex_features? HOT 1
- Downloading dsl files? HOT 1
- How to start Chatito on local host HOT 1
- I got JavaScript heap out of memory when training HOT 1
- How to determine whether happened over-fit?
- Save entities for test HOT 1
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 chatito.