haystack/haystack/__init__.py
Malte Pietsch 2164e8550f
Add gpu dockerfile, improve logging, fix minor bug with filtering (#36)
* add gpu dockerfile. improve logging. fix minor bug with filtering

* fix path
2020-03-12 18:30:42 +01:00

17 lines
426 B
Python

import logging
import pandas as pd
from haystack.finder import Finder
pd.options.display.max_colwidth = 80
logger = logging.getLogger(__name__)
logging.getLogger('farm').setLevel(logging.WARNING)
logging.getLogger('farm.utils').setLevel(logging.INFO)
logging.getLogger('farm.infer').setLevel(logging.INFO)
logging.getLogger('transformers').setLevel(logging.WARNING)
logging.getLogger('farm.eval').setLevel(logging.INFO)