Downloads · 30 days
18
23% of all-time downloads
agentlans/deberta-v3-base-zyda-2
deberta-v3-base-zyda-2 is a text classification model from agentlans. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
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 l…
Downloads · 30 days
18
23% of all-time downloads
All-time downloads
78
Public
Parameters
185M
741 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors738 MB · 99%
From the Hugging Face model README
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.
The model achieves the following results on the evaluation set:
This model is designed to be used and finetuned for the following tasks:
Limitations:
The model was trained on the first 300 000 rows of the Zyphra/Zyda-2 dataset. 5% of that data was used for validation.
The following hyperparameters were used during training:
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)
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)
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.
For more details about the base model, please refer to microsoft/deberta-v3-base.