Comments (3)
Hey,
The predict.py and train.py files are works in progress and do not work yet. To start your baseline please refer to the duet.py file. While not fully productionalized it is a fully functional baseline.
from msmarco.
Sorry, I didn't make it clear in my last question.
I run predict in the Q+A task, not in the ranking task. Why did the keyerror happen?
from msmarco.
Hey I dont know what may be going on for you. I've been testing and I created a clean ubuntu box, downloaded the data and repo, followed the instructions for training(trained for 1 epoch) and then ran prediction no problem both with no custom embeddings and using glove. I think this is likley related to your embeddings.
erasmus@spacemanidol:/MSMARCOV2/Q+A/Baseline$ python3 scripts/predict.py exp/ ../data/dev_v2.1.json prediction.json --cuda=True --word_rep ../data/glove.840B.300d.txt/MSMARCOV2/Q+A/Baseline$
/usr/local/lib/python3.5/dist-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
Loading Model...
Augmenting with pre-trained embeddings...
Augmenting with random char embeddings...
erasmus@spacemanidol:
from msmarco.
Related Issues (20)
- MSMARCOV2/Ranking/README.md is not formatted correctly HOT 1
- How were passage reranking triples generated? HOT 2
- Cannot find the top1000.eval for testing HOT 1
- Full Document May be incorrect tokenization in document_text HOT 2
- Collection paragraph metadata HOT 3
- BM25 relevance values for top 1000 eval/dev? HOT 1
- Training data with QID and PID HOT 2
- Broken eval script link in Ranking/README.md file HOT 1
- encoding, top1000.train, qrels.train HOT 1
- [encoding,Â] top1000.dev.tsv HOT 6
- Need more explanation about Reranking Dataset HOT 1
- KeyError for converttowellformed.py HOT 1
- Different number of queries in collectionandqueries.tar.gz and top1000.dev.tar.gz HOT 1
- Invalid line breaks in the top1000 TSV files of the reranking datasets HOT 4
- Partially duplicated passages extracted HOT 4
- Passage IDs in Qna Dataset HOT 1
- OpenKPAnnotations.tsv for Key Phrase Extraction HOT 1
- dev_as_references.json is from V1? HOT 2
- Regarding the Test Set for Q&A HOT 2
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 msmarco.