Instructions to use Lazyhope/python-clone-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Lazyhope/python-clone-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Lazyhope/python-clone-detection", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Lazyhope/python-clone-detection", trust_remote_code=True) model = AutoModel.from_pretrained("Lazyhope/python-clone-detection", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 130 Bytes
8e667e7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b3f31d9cd8b9343686ce0ba7b5b8826fe4a034f78096c334829d5e6067b62029
size 14575
|