This model is a fine-tuned version of
microsoft/deberta-v3-base
on a subset of the
Zyphra/Zyda-2
dataset. It was trained using the Masked Language Modeling (MLM) objective to enhance its understanding of the English language.
Performance
The model achieves the following results on the evaluation set:
Loss: 2.1833
Accuracy: 0.6191
Intended Uses & Limitations
This model is designed to be used and finetuned for the following tasks:
Text embedding
Text classification
Fill-in-the-blank tasks
Limitations:
English language only
May be inaccurate for specialized jargon, dialects, slang, code, and LaTeX
Training Data
The model was trained on the first 300 000 rows of the
Zyphra/Zyda-2
dataset.
5% of that data was used for validation.
Training Procedure
Hyperparameters
The following hyperparameters were used during training:
Learning rate: 5e-05
Train batch size: 8
Eval batch size: 8
Seed: 42
Optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
Learning rate scheduler: Linear
Number of epochs: 1.0
Framework versions
Transformers: 4.46.3
Pytorch: 2.5.1+cu124
Datasets: 3.1.0
Tokenizers: 0.20.3
Usage Examples
Masked Language Modeling
from transformers import pipeline
unmasker = pipeline('fill-mask', model='agentlans/deberta-v3-base-zyda-2')
result = unmasker("[MASK] is the capital of France.")
print(result)
Text Embedding
from transformers import AutoTokenizer, AutoModel
import torch
model_name = "agentlans/deberta-v3-base-zyda-2"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
text = "Example sentence for embedding."
inputs = tokenizer(text, return_tensors='pt')
with torch.no_grad():
outputs = model(**inputs)
embeddings = outputs.last_hidden_state.mean(dim=1)
print(embeddings)
Ethical Considerations and Bias
As this model is trained on a subset of the Zyda-2 dataset, it may inherit biases present in that data. Users should be aware of potential biases and evaluate the model's output critically, especially for sensitive applications.
deberta-v3-base-zyda-2 huggingface.co is an AI model on huggingface.co that provides deberta-v3-base-zyda-2's model effect (), which can be used instantly with this agentlans deberta-v3-base-zyda-2 model. huggingface.co supports a free trial of the deberta-v3-base-zyda-2 model, and also provides paid use of the deberta-v3-base-zyda-2. Support call deberta-v3-base-zyda-2 model through api, including Node.js, Python, http.
deberta-v3-base-zyda-2 huggingface.co is an online trial and call api platform, which integrates deberta-v3-base-zyda-2's modeling effects, including api services, and provides a free online trial of deberta-v3-base-zyda-2, you can try deberta-v3-base-zyda-2 online for free by clicking the link below.
agentlans deberta-v3-base-zyda-2 online free url in huggingface.co:
deberta-v3-base-zyda-2 is an open source model from GitHub that offers a free installation service, and any user can find deberta-v3-base-zyda-2 on GitHub to install. At the same time, huggingface.co provides the effect of deberta-v3-base-zyda-2 install, users can directly use deberta-v3-base-zyda-2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
deberta-v3-base-zyda-2 install url in huggingface.co: