Andrefty's picture
Upload DeBERTa-v3-large PII models, tokenizers, and code
9b08c94 verified
Raw History Blame Contribute Delete
914 Bytes
import kagglehub
kagglehub.login()
# Replace with path to directory containing model files.
LOCAL_MODEL_DIR = '/export/home/acs/stud/t/tudor.farcasanu/SSL_Assignment/single_model/model/deberta_v3_large_w10_ado1_wd0_bs2_lr1e5_5epo_simplified_labels_fold0_best_hf'
MODEL_SLUG = 'Single_model_only_comp_data' # Replace with model slug.
# Learn more about naming model variations at
# https://www.kaggle.com/docs/models#name-model.
VARIATION_SLUG = 'training_length_4096_8labels_moredata' # Replace with variation slug.
kagglehub.model_upload(
handle = f"andreifrcanu/{MODEL_SLUG}/transformers/{VARIATION_SLUG}",
local_model_dir = LOCAL_MODEL_DIR,
version_notes = 'training_length_4096_8labels_moredata')
# kagglehub.model_upload(
# handle = f"andreifrcanu/{MODEL_SLUG}/pyTorch/{VARIATION_SLUG}",
# local_model_dir = LOCAL_MODEL_DIR,
# version_notes = 'training_length_4096_origlabels_actualmoredata')