How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("feature-extraction", model="deliciouscat/leobert")
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("deliciouscat/leobert")
model = AutoModel.from_pretrained("deliciouscat/leobert")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

This model is designed for the Leo language and is based on microsoft/codebert-base.

With the code data written in the Leo language crawled from GitHub, the model is trained using self-supervised learning with triplet loss.

Anchor and positive code chunks are from the same code, while negatives are not.

Downloads last month
2
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support