transformers pytorch roberta fill-mask smart-contract web3 software-engineering embedding codebert en base_model:FacebookAI/roberta-base base_model:finetune:FacebookAI/roberta-base license:mit autotrain_compatible endpoints_compatible region:us
---
base_model:
- FacebookAI/roberta-base
language:
- en
library_name: transformers
license: mit
pipeline_tag: fill-mask
tags:
- fill-mask
- smart-contract
- web3
- software-engineering
- embedding
- codebert
inference: true
---

# SmartBERT V1 RoBERTa (2022)

## Overview

This **smart contract pre-trained model** is used to transfer smart contract _function-level_ code to embeddings.

It is trained by **[Sen Fang](https://github.com/TomasAndersonFang)** in 2022 on over **40,000** smart contracts.

Initialized with **RoBERTa**

Please update to [SmartBERT V2](https://huggingface.co/web3se/SmartBERT-v2)

## Thanks

- [Institute of Intelligent Computing Technology, Suzhou, CAS](http://iict.ac.cn/)