Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
tags:
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
library_name: transformers
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Your Model Name
|
| 12 |
+
LugatitDistilBert
|
| 13 |
+
|
| 14 |
+
## Model description
|
| 15 |
+
Provide a description of your model here.
|
| 16 |
+
|
| 17 |
+
## Intended uses & limitations
|
| 18 |
+
Provide information about the intended uses and limitations of your model.
|
| 19 |
+
|
| 20 |
+
## How to use
|
| 21 |
+
|
| 22 |
+
You can use this model directly with the `transformers` library:
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 26 |
+
|
| 27 |
+
tokenizer = AutoTokenizer.from_pretrained("LugatitTurk/LugatitDistilBert")
|
| 28 |
+
model = AutoModelForSequenceClassification.from_pretrained("LugatitTurk/LugatitDistilBert")
|
| 29 |
+
|
| 30 |
+
inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
|
| 31 |
+
outputs = model(**inputs)
|
| 32 |
+
|