Comments (6)
Yes. RNNSharp supports it. It's called TFeature (template feature). README file describes how it work and how to use it in details.
from rnnsharp.
Thanks for prompt reply, i read the mentioned source but i am still confused. Actually besides the training data i have a separate text file which contain Countries name stored in text file. so how this separate file can be used as feature along with training data for learning through RNNShrap.
e.g my training file named "mytrain" contains data in following format.
کو PSP NOR
بھارت PNN S_LOCATION
سے PSP NOR
تعلق NN NOR
رکھنے VBI NOR
The gazetteer list name " MyConList"
contains data in the following format.
1: PAKISTAN
2: INDIA
3: CHINA
4: USA
my template file contains the following templates
U01:%x[-1,0]
U02:%x[0,0]
so during training the mention template will generate features from only the training file named "mytrain"
so please guide that how to use the separate file or the gazetteer list named "MyConList" in training of RNN.
Thanks in advance
from rnnsharp.
You could read [Template Features] section in README file. It has an example about how to use template features. In RNNSharp, template features are binarized by TFatureBin.exe, and then RNNSharp uses it.
from rnnsharp.
apology in advance. still not clear, perhaps i am not explaining my problem well. i have no problem with template feature i can generate it easily by using the TFeatureBin.exe . following are the steps which i follow:
For template feature generation from the following data stored in file named "mytrain.txt" i use TFatureBin.exe build mode.
! PUN S
Tokyo NNP S_LOCATION
and CC S
New NNP B_LOCATION
York NNP E_LOCATION
are VBP S
major JJ S
After executing the Tfeature.exe it generates Two files named tfeature.template and tfeature. right
i mention the output file in config file to be used by RNNShrap e.g TFEATURE_FILENAME:tfeatures.
ok its work well.
in above steps i used only one file named "myTrain.txt" to generate template feature, in case if i have another file or gazetteer named " "myConList.txt" contains data in the following format. then how template feature will be generated from both files using TFeature.exe
1: PAKISTAN
2: INDIA
3: CHINA
4: USA
from rnnsharp.
@My-Khan , You need to create a script yourself for injecting this kind of feature in your "mytrain.txt"
from rnnsharp.
@bratao Many thanks for guidance..Hmmmm , now this become nutshell for me. if some body can help?
from rnnsharp.
Related Issues (20)
- Impact of run-time feature HOT 4
- LSTM RNN HOT 2
- Plan to Use LSTM for Time Series HOT 1
- Need Help With PRETRAIN_TYPE=Autoencoder HOT 2
- Null reference exception with ForwardRNN HOT 3
- Incremental training HOT 3
- imncremental training NullReferenceException after last update HOT 2
- Training takes too long!! HOT 20
- Using the library from .Net Core HOT 3
- maybe it's time to support CUDA ! HOT 2
- AdvUtils.dll Issue HOT 3
- puzzled about function : logsumexp HOT 1
- A question regarding usage or RNNSharp for a particular problem
- NullReferenceException in DropoutLayer
- System Total Fail due to double-Number conversion problems for non "es-US" Cultures
- A few questions regarding how to exploit RNNSharp
- Is there a way to further reduce file size of the model without affecting network size?
- Time Complexity
- RNNSharp Pseudo code
- About inference time
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 rnnsharp.