Maybe this goes against the idea of few-shot learning, but it would go something like the following:
# Create the model object
asktell = bolift.AskTellFewShotTopk()
# Tell some points to the model
asktell.tell("Ag(AuS)2", 0.0)
asktell.tell("BaCaB2O5", 5.6)
asktell.tell("DyFeSi", 0.0)
asktell.tell("K2Ho4Cu4S9", 2.43)
# Make a prediction
yhat = asktell.predict("Mg(As2Rh3)2")
print(yhat.mean(), yhat.std())
With the chemical formulas and property values (in this case, experimental band gap), obtained per the Matbench instructions, and submitting it to the leaderboard.
It has ~4500 datapoints though.
Maybe this goes against the idea of few-shot learning, but it would go something like the following:
With the chemical formulas and property values (in this case, experimental band gap), obtained per the Matbench instructions, and submitting it to the leaderboard.
It has ~4500 datapoints though.