Fill-Mask
Transformers
PyTorch
English
roberta
smart-contract
web3
software-engineering
embedding
codebert
Instructions to use web3se/SmartBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use web3se/SmartBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="web3se/SmartBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("web3se/SmartBERT") model = AutoModelForMaskedLM.from_pretrained("web3se/SmartBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,17 +1,19 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
language:
|
| 4 |
-
|
|
|
|
| 5 |
base_model:
|
| 6 |
-
|
| 7 |
-
pipeline_tag:
|
| 8 |
tags:
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# SmartBERT V1 RoBERTa (2022)
|
|
@@ -28,4 +30,4 @@ Please update to [SmartBERT V2](https://huggingface.co/web3se/SmartBERT-v2)
|
|
| 28 |
|
| 29 |
## Thanks
|
| 30 |
|
| 31 |
-
- [Institute of Intelligent Computing Technology, Suzhou, CAS](http://iict.ac.cn/)
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
language:
|
| 4 |
+
- en
|
| 5 |
+
inference: true
|
| 6 |
base_model:
|
| 7 |
+
- FacebookAI/roberta-base
|
| 8 |
+
pipeline_tag: fill-mask
|
| 9 |
tags:
|
| 10 |
+
- fill-mask
|
| 11 |
+
- smart-contract
|
| 12 |
+
- web3
|
| 13 |
+
- software-engineering
|
| 14 |
+
- embedding
|
| 15 |
+
- codebert
|
| 16 |
+
library_name: transformers
|
| 17 |
---
|
| 18 |
|
| 19 |
# SmartBERT V1 RoBERTa (2022)
|
|
|
|
| 30 |
|
| 31 |
## Thanks
|
| 32 |
|
| 33 |
+
- [Institute of Intelligent Computing Technology, Suzhou, CAS](http://iict.ac.cn/)
|