Language Model Training Hyperparameters [optional]
Epochs:
3
Batch size:
32
Learning rate:
2e-05
Weight Decay:
0.01
Optimizer
: AdamW
ESM Training Hyperparameters [optional]
Epochs:
10
Batch size:
32
Learning rate:
0.001
Weight Decay:
0.01
Optimizer
: AdamW
Additional trainiung details [optional]
Model evaluation
Evaluation of fine-tuned language model [optional]
Evaluation of ESM [optional]
MSE:
Additional evaluation details [optional]
What are Embedding Space Maps?
Embedding Space Maps (ESMs) are neural networks that approximate the effect of fine-tuning a language model on a task. They can be used to quickly transform embeddings from a base model to approximate how a fine-tuned model would embed the the input text.
ESMs can be used for intermediate task selection with the ESM-LogME workflow.
How can I use Embedding Space Maps for Intermediate Task Selection?
We release
hf-dataset-selector
, a Python package for intermediate task selection using Embedding Space Maps.
hf-dataset-selector
fetches ESMs for a given language model and uses it to find the best dataset for applying intermediate training to the target task. ESMs are found by their tags on the Huggingface Hub.
from hfselect import Dataset, compute_task_ranking
# Load target dataset from the Hugging Face Hub
dataset = Dataset.from_hugging_face(
name="stanfordnlp/imdb",
split="train",
text_col="text",
label_col="label",
is_regression=False,
num_examples=1000,
seed=42
)
# Fetch ESMs and rank tasks
task_ranking = compute_task_ranking(
dataset=dataset,
model_name="bert-base-multilingual-uncased"
)
# Display top 5 recommendationsprint(task_ranking[:5])
If you are using this Embedding Space Maps, please cite our
paper
.
BibTeX:
@misc{schulte2024moreparameterefficientselectionintermediate,
title={Less is More: Parameter-Efficient Selection of Intermediate Tasks for Transfer Learning},
author={David Schulte and Felix Hamborg and Alan Akbik},
year={2024},
eprint={2410.15148},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2410.15148},
}
APA:
Schulte, D., Hamborg, F., & Akbik, A. (2024). Less is More: Parameter-Efficient Selection of Intermediate Tasks for Transfer Learning. arXiv preprint arXiv:2410.15148.
Additional Information
Runs of davidschulte ESM_ejschwartz__oo-method-test-split_bylibrarydedup on huggingface.co
14
Total runs
0
24-hour runs
-1
3-day runs
2
7-day runs
6
30-day runs
More Information About ESM_ejschwartz__oo-method-test-split_bylibrarydedup huggingface.co Model
More ESM_ejschwartz__oo-method-test-split_bylibrarydedup license Visit here:
ESM_ejschwartz__oo-method-test-split_bylibrarydedup huggingface.co is an AI model on huggingface.co that provides ESM_ejschwartz__oo-method-test-split_bylibrarydedup's model effect (), which can be used instantly with this davidschulte ESM_ejschwartz__oo-method-test-split_bylibrarydedup model. huggingface.co supports a free trial of the ESM_ejschwartz__oo-method-test-split_bylibrarydedup model, and also provides paid use of the ESM_ejschwartz__oo-method-test-split_bylibrarydedup. Support call ESM_ejschwartz__oo-method-test-split_bylibrarydedup model through api, including Node.js, Python, http.
ESM_ejschwartz__oo-method-test-split_bylibrarydedup huggingface.co is an online trial and call api platform, which integrates ESM_ejschwartz__oo-method-test-split_bylibrarydedup's modeling effects, including api services, and provides a free online trial of ESM_ejschwartz__oo-method-test-split_bylibrarydedup, you can try ESM_ejschwartz__oo-method-test-split_bylibrarydedup online for free by clicking the link below.
davidschulte ESM_ejschwartz__oo-method-test-split_bylibrarydedup online free url in huggingface.co:
ESM_ejschwartz__oo-method-test-split_bylibrarydedup is an open source model from GitHub that offers a free installation service, and any user can find ESM_ejschwartz__oo-method-test-split_bylibrarydedup on GitHub to install. At the same time, huggingface.co provides the effect of ESM_ejschwartz__oo-method-test-split_bylibrarydedup install, users can directly use ESM_ejschwartz__oo-method-test-split_bylibrarydedup installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
ESM_ejschwartz__oo-method-test-split_bylibrarydedup install url in huggingface.co: