Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

web3se
/
SmartBERT-v2

Feature Extraction
Transformers
PyTorch
English
roberta
fill-mask
smart-contract
web3
software-engineering
embedding
codebert
solidity
code-understanding
Model card Files Files and versions
xet
Community
5

Instructions to use web3se/SmartBERT-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use web3se/SmartBERT-v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="web3se/SmartBERT-v2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("web3se/SmartBERT-v2")
    model = AutoModelForMaskedLM.from_pretrained("web3se/SmartBERT-v2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
SmartBERT-v2
500 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 15 commits
devilyouwei's picture
devilyouwei
Update README.md
82c2aac verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    5.97 kB
    Update README.md 5 months ago
  • config.json
    713 Bytes
    initial model files, v2 is trained on 16000 smart contracts over 1 year ago
  • framework.png
    91.3 kB
    update readme over 1 year ago
  • merges.txt
    456 kB
    initial model files, v2 is trained on 16000 smart contracts over 1 year ago
  • pytorch_model.bin
    499 MB
    xet
    initial model files, v2 is trained on 16000 smart contracts over 1 year ago
  • special_tokens_map.json
    167 Bytes
    initial model files, v2 is trained on 16000 smart contracts over 1 year ago
  • tokenizer_config.json
    1.31 kB
    initial model files, v2 is trained on 16000 smart contracts over 1 year ago
  • training_args.bin
    4.02 kB
    xet
    initial model files, v2 is trained on 16000 smart contracts over 1 year ago
  • vocab.json
    999 kB
    initial model files, v2 is trained on 16000 smart contracts over 1 year ago