devgpt-aimotion/the-stack-v2_PlantUML_filtered
Viewer • Updated • 109k • 39
How to use gokulsrinivasagan/codebert_base_code_uml_c with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="gokulsrinivasagan/codebert_base_code_uml_c") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("gokulsrinivasagan/codebert_base_code_uml_c")
model = AutoModelForMaskedLM.from_pretrained("gokulsrinivasagan/codebert_base_code_uml_c")This model is a fine-tuned version of microsoft/codebert-base-mlm on the devgpt-aimotion/the-stack-v2_PlantUML_filtered dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.5254 | 4.3592 | 10000 | 0.4521 | 0.9053 |
Base model
microsoft/codebert-base-mlm