sebastianruder / learn-to-select-data Goto Github PK
View Code? Open in Web Editor NEWCode for Learning to select data for transfer learning with Bayesian Optimization
Code for Learning to select data for transfer learning with Bayesian Optimization
Within the jensen_shannon_divergence function in the similarity file should the following line be this:
sim = 1 - 0.5 * (scipy.stats.entropy(repr1, avg_repr) + scipy.stats.entropy(repr1, avg_repr))
and not this:
sim = 1 - 0.5 * (scipy.stats.entropy(repr1, avg_repr) + scipy.stats.entropy(repr2, avg_repr))
is the 'features' module in the import of bayes_opt.py missing?
Hi,
I just downloaded this code and tried to work around with some examples. However, I got the following errors:
(I use python 3.5)
Traceback (most recent call last): File "bayes_opt.py", line 444, in <module> num_iterations=args.num_iterations) TypeError: 'module' object is not callable
Thanks for any help!
Hi,
The article is quite fascinating and very impressing in its methodological rigor and the breadth of validation tasks. And now, coming to adapt the method for a task that is not one of the ones used for validation in the paper โ e.g. a classification task (and not sentiment analysis, part-of-speech tagging, or parsing), I wonder whether anyone may kindly point out the point in the code to intervene for this sake, or more generally, how to use this project for a scenario where the task is not one of the three employed here.
I ask this not to avoid studying the code per-se, but rather as I'm not currently sure from the project structure, whether there's a certain pipeline of executions (of the different python executables) that needs to be taken in order to materialize a result. The documentation is very good, but somewhat oriented to reproducing the specific experiments, whereas I wish to try out the code, as mentioned above, for a different downstream task...
I am eager to hopefully have your comments, regarding this great work vis-a-vis my use case for it.
Thanks in advance!
learn-to-select-data/bilstm_tagger/src/simplebilty.py
from bilstm_tagger.src.lib.mnnl import FFSequencePredictor, Layer, RNNSequencePredictor, BiRNNSequencePredictor
from bilstm_tagger.src.lib.mio import read_conll_file, load_embeddings_file
bilstm_tagger.src.lib is missing
In the original repo, this library exists.
Hi @sebastianruder ,
I'm currently trying to reproduce your experiment using the SANCL 2012 data. I have obtained the SANCL 2012 LDC but I am not clear how did you split the data into train, dev, and test.
In the LDC data they don't provide the split and also the CONLL format of the annotation.
Can you explain in more details about this? It would be helpful if you have the scripts that process the SANCL 2012 data that construct the split and conll data format that are used by your code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.