saribasmetehan
commited on
Commit
•
7749315
1
Parent(s):
799e6b0
Update README.md
Browse files
README.md
CHANGED
@@ -43,6 +43,13 @@ print(preds)
|
|
43 |
|
44 |
#[{'label': 'LABEL_2', 'score': 0.7510055303573608}]
|
45 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
## Training procedure
|
47 |
|
48 |
### Training hyperparameters
|
|
|
43 |
|
44 |
#[{'label': 'LABEL_2', 'score': 0.7510055303573608}]
|
45 |
```
|
46 |
+
# Load model directly
|
47 |
+
```markdown
|
48 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
49 |
+
|
50 |
+
tokenizer = AutoTokenizer.from_pretrained("saribasmetehan/bert-base-turkish-sentiment-analysis")
|
51 |
+
model = AutoModelForSequenceClassification.from_pretrained("saribasmetehan/bert-base-turkish-sentiment-analysis")
|
52 |
+
```
|
53 |
## Training procedure
|
54 |
|
55 |
### Training hyperparameters
|