Skip to content

Instantly share code, notes, and snippets.

View PhilipMay's full-sized avatar
🇺🇦

Philip May PhilipMay

🇺🇦
View GitHub Profile
@PhilipMay
PhilipMay / gist:7bec8e09b45581393a68f3d3d5281d63
Created September 10, 2018 18:14
Feedback on conda-forge.github.io
Hi everybody,
my name is Philip and I am new to conda-force.
At the moment I am maintaining the hyperopt package.
@jakirkham asked me on Gitter to give some feedback.
I think this is a very good idea - so here it is:
1. When I was first thinking to build a conda package
I had a look into conda-forge and asked myself: "Hey,
what's the difference of uploading packaged to anaconda.org
or publishing them to conda-forge?"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import logging
from pathlib import Path
import torch
from farm.data_handler.data_silo import DataSilo, DataSiloForCrossVal
from farm.data_handler.processor import TextClassificationProcessor
from farm.modeling.optimization import initialize_optimizer
from farm.modeling.adaptive_model import AdaptiveModel
from farm.modeling.language_model import LanguageModel
from farm.modeling.prediction_head import TextClassificationHead
import logging
from pathlib import Path
import torch
import random
import pandas as pd
from sklearn.metrics import f1_score
from farm.data_handler.data_silo import DataSilo, DataSiloForCrossVal
from farm.data_handler.processor import TextClassificationProcessor
from farm.modeling.optimization import initialize_optimizer