buelfhood's picture
Upload model
d533f81 verified
|
raw
history blame
1.12 kB
metadata
tags:
  - roberta
  - adapter-transformers
datasets:
  - buelfhood/ConPlag_version_1

Adapter buelfhood/ConPlag_1_codeberta_ep50_bs16_lr0_0001_l512_s42_houlsby for huggingface/CodeBERTa-small-v1

An adapter for the huggingface/CodeBERTa-small-v1 model that was trained on the buelfhood/ConPlag_version_1 dataset and includes a prediction head for classification.

This adapter was created for usage with the Adapters library.

Usage

First, install adapters:

pip install -U adapters

Now, the adapter can be loaded and activated like this:

from adapters import AutoAdapterModel

model = AutoAdapterModel.from_pretrained("huggingface/CodeBERTa-small-v1")
adapter_name = model.load_adapter("buelfhood/ConPlag_1_codeberta_ep50_bs16_lr0_0001_l512_s42_houlsby", set_active=True)

Architecture & Training

Evaluation results

Citation