You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

This is an example model trained on C declarations. It is a foundational model that can essentially only complete C declarations.

It has been trained on a variety of OSS software declarations, not entire functions.

Usage:

# make a prediction
from transformers import pipeline
from pprint import pprint

fill_mask = pipeline(
    "fill-mask",
    model="mstaron/declBERTa",
    tokenizer="mstaron/declBERTa"
)

strPredicted = fill_mask("int i = <mask>;", top_k=10)

pprint(strPredicted)
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support