Comments (1)
One can also go the __init__.py
route. I had success adding an empty __init__.py
file in each subdirectory that throws this sort of error (e.g. utils
). I'm not an expert with the new Python package logic, but I believe the __init__.py
file allows Python to make subdirectories recognizable/importable as packages as is done here.
from ance.
Related Issues (15)
- Issue during downloading "roberta-base-config.json"
- ANCE encoders HOT 3
- How long does inference take? HOT 1
- some confusion about msmarco_data.py
- CUDA nccl library issue
- where is bm25 introduced? HOT 3
- module 'transformers' has no attribute 'TFRobertaDot_NLL_LN'
- DPR checkpoint on MSMARCO?
- Can't reproduce the performance of warmup(60k)
- Cannot download ANCE(FirstP) checkpoint HOT 2
- Download link not working
- data preprocess and inference HOT 2
- Provide pretrained BM25 checkpoint for TREC Document
- Using testset to test NDCG while training
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 ance.