Commit
·
3361835
1
Parent(s):
ea1c0a3
Update readme
Browse files
README.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
- text: "Is this text really worth it?"
|
| 6 |
|
| 7 |
# Model Trained Using AutoNLP
|
|
@@ -42,7 +48,7 @@ model = AutoModelForSequenceClassification.from_pretrained("wajidlinux99/gibberi
|
|
| 42 |
|
| 43 |
tokenizer = AutoTokenizer.from_pretrained("wajidlinux99/gibberish-text-detector-492513457", use_auth_token=True)
|
| 44 |
|
| 45 |
-
inputs = tokenizer("
|
| 46 |
|
| 47 |
outputs = model(**inputs)
|
| 48 |
```
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
pipeline_tag: text-classification
|
| 5 |
+
tags:
|
| 6 |
+
- text
|
| 7 |
+
- nlp
|
| 8 |
+
- correction
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
- text: "Is this text really worth it?"
|
| 12 |
|
| 13 |
# Model Trained Using AutoNLP
|
|
|
|
| 48 |
|
| 49 |
tokenizer = AutoTokenizer.from_pretrained("wajidlinux99/gibberish-text-detector-492513457", use_auth_token=True)
|
| 50 |
|
| 51 |
+
inputs = tokenizer("Is this text really worth it?", return_tensors="pt")
|
| 52 |
|
| 53 |
outputs = model(**inputs)
|
| 54 |
```
|