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)# pip install -U transformers accelerate # 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
Commit History
-
Add GitHub repo `RepoAnalysis/PythonCloneDetection` to README
a57837d
-
Add pipeline usage to the model card
8442c47 -
Add pipeline for clone detection
d0e1e46
-
Rename config key '_name_or_path'
f820bce -
Upload model
92c76d1
-
Add a model card
7c92b66
-
Init commit, upload model to the hub
8e667e7 -
initial commit
45d76c8