Instructions to use gokulsrinivasagan/codebert_base_code_uml_c with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 239 Bytes
a913ed8 | 1 2 3 4 5 6 7 8 9 | {
"epoch": 5.0,
"total_flos": 2.898276322152499e+17,
"train_loss": 0.5986486167209296,
"train_runtime": 10447.1842,
"train_samples": 220179,
"train_samples_per_second": 105.377,
"train_steps_per_second": 1.098
} |