Instructions to use XQ112/OpCodeBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use XQ112/OpCodeBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="XQ112/OpCodeBERT")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("XQ112/OpCodeBERT") model = AutoModel.from_pretrained("XQ112/OpCodeBERT") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,7 +3,7 @@ base_model:
|
|
| 3 |
- microsoft/unixcoder-base
|
| 4 |
datasets:
|
| 5 |
- CoIR-Retrieval/CodeSearchNet
|
| 6 |
-
library_name:
|
| 7 |
---
|
| 8 |
|
| 9 |
|
|
|
|
| 3 |
- microsoft/unixcoder-base
|
| 4 |
datasets:
|
| 5 |
- CoIR-Retrieval/CodeSearchNet
|
| 6 |
+
library_name: transformers
|
| 7 |
---
|
| 8 |
|
| 9 |
|