Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
AntonXue
/
codebert-base
like
0
Text Generation
Transformers
Safetensors
roberta
Inference Endpoints
Model card
Files
Files and versions
Community
Train
Deploy
Use this model
AntonXue
commited on
Jul 24
Commit
ae35ead
•
1 Parent(s):
8aa316c
Update README.md
Browse files
Files changed (1)
hide
show
README.md
+4
-3
README.md
CHANGED
Viewed
@@ -1,3 +1,4 @@
1
-
---
2
-
{}
3
-
---
1
+
```
2
+
from transformers import AutoModelForCausalLM
3
+
model = AutoModelForCausalLM.from_pretrained("AntonXue/codebert-base")
4
+
```