Downloads · 30 days
11
19% of all-time downloads
ducanhdinh/jepa_proof_bert
jepa_proof_bert is a machine learning model from ducanhdinh. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
BERT base pretrained from scratch với hai mục tiêu: - Masked Language Modeling (MLM) — 80/10/10 replacement rule, mask probability 0.15 - Next Sentence Prediction (NSP)
Downloads · 30 days
11
19% of all-time downloads
All-time downloads
58
Public
Parameters
110M
440 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors440 MB · 100%
From the Hugging Face model README
BERT base pretrained from scratch với hai mục tiêu:
0.15| Tham số | Giá trị |
|---|---|
| Max sequence length | 256 |
| Batch size | 256 |
| Epochs | 10 |
| Learning rate | 0.0001 |
| MLM probability | 0.15 |
from transformers import BertForPreTraining, BertTokenizerFast
import torch
tokenizer = BertTokenizerFast.from_pretrained("ducanhdinh/jepa_proof_bert")
model = BertForPreTraining.from_pretrained("ducanhdinh/jepa_proof_bert")
encoded = tokenizer("Hello world!", return_tensors="pt")
with torch.no_grad():
output = model(**encoded)