File size: 801 Bytes
4d3595a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
license: mit
library_name: keras
pipeline_tag: fill-mask
tags:
  - keras
  - kerasformers
  - tf
  - jax
  - pytorch
  - backend-agnostic
  - deberta
  - fill-mask
base_model:
  - microsoft/deberta-large
---
# DeBERTa (deberta_large)

A pure [Keras 3](https://keras.io) port of **DeBERTa**, converted from [`microsoft/deberta-large`](https://huggingface.co/microsoft/deberta-large) (Hugging Face Transformers).

The weights are **backend-agnostic**: the same checkpoint loads and runs identically under the JAX, TensorFlow, or PyTorch Keras backend (`KERAS_BACKEND=jax|tensorflow|torch`), via [kerasformers](https://github.com/IMvision12/KerasFormers).

## Usage

```python
from kerasformers.models.deberta import DebertaModel

model = DebertaModel.from_weights("kerasformers/deberta_large")
```