You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Summary

Refer to this manuscript for details about training and model backgrounds. You can also refer to the associated GitHub repo. The figure given here summarizes the models trained and their expected performance (error bars below are 1 standard deviation). Models in this repo are labeled by model{name}[metric].pkl, where metric refers to the performance metric used to evaluate and optimize the model (either total efficiency, teff, or accuracy, acc). In the figure at the right, the performance metric is reported in parentheses. These performances and uncertainties are intended to reflect the expected performance on new data.

Warnings

These models were generated as part of an academic exercise and are not intended for a production environment. These are provided "as-is" with no warranty of any kind. Refer to the license for more information.

Inputs

The inputs are stable isotope and trace element measurements in the following order:

SITE Units
18O per mille
13C per mille
15N per mille
34S per mille
Na micrograms/gram
Mg milligrams/gram
P milligrams/gram
S milligrams/gram
K milligrams/gram
Ca milligrams/gram
Mn micrograms/gram
Fe micrograms/gram
Co nanograms/gram
Ni nanograms/gram
Cu micrograms/gram
Zn micrograms/gram
As nanograms/gram
Se nanograms/gram
Rb micrograms/gram
Sr micrograms/gram
Mo nanograms/gram
Cd nanograms/gram
Ba micrograms/gram

These units should follow the convention of the models' training set, datasets/mahynski/slovenian-site-garlic.

Usage

import joblib
from huggingface_hub import hf_hub_download

model = joblib.load(
  hf_hub_download(
    repo_id="mahynski/slovenian-site-garlic",
    filename="model-dt-stump[acc].pkl", # Select one of the models in this repo
  )
)

model.predict(X)

Or you can use the PyChemAuth library.

import pychemauth

model = pychemauth.utils.HuggingFace.from_pretrained(
  model_id="mahynski/slovenian-site-garlic",
  filename="model-dt-stump[acc].pkl",
)

model.predict(X)
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train mahynski/slovenian-site-garlic

Collection including mahynski/slovenian-site-garlic