Instructions to use wesley7137/codebertDM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wesley7137/codebertDM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="wesley7137/codebertDM")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("wesley7137/codebertDM") model = AutoModel.from_pretrained("wesley7137/codebertDM") - Notebooks
- Google Colab
- Kaggle
Commit ·
6b766aa
1
Parent(s): 87ac0e6
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "wesley7137/codebertDM",
|
| 3 |
"architectures": [
|
| 4 |
+
"RobertaModel"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|