Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

codeparrot
/
unixcoder-java-complexity-prediction

Text Classification
Transformers
PyTorch
code
roberta
Model card Files Files and versions
xet
Community
2

Instructions to use codeparrot/unixcoder-java-complexity-prediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use codeparrot/unixcoder-java-complexity-prediction with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="codeparrot/unixcoder-java-complexity-prediction")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("codeparrot/unixcoder-java-complexity-prediction")
    model = AutoModelForSequenceClassification.from_pretrained("codeparrot/unixcoder-java-complexity-prediction")
  • Notebooks
  • Google Colab
  • Kaggle
unixcoder-java-complexity-prediction
1.37 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
loubnabnl's picture
loubnabnl HF Staff
initial commit
771f699 over 3 years ago
  • .gitattributes
    1.34 kB
    initial commit over 3 years ago
  • README.md
    28 Bytes
    initial commit over 3 years ago