Update README.md
Browse files
README.md
CHANGED
@@ -9,4 +9,31 @@ metrics:
|
|
9 |
- accuracy
|
10 |
library_name: transformers
|
11 |
pipeline_tag: fill-mask
|
12 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
- accuracy
|
10 |
library_name: transformers
|
11 |
pipeline_tag: fill-mask
|
12 |
+
---
|
13 |
+
### SRDberta
|
14 |
+
|
15 |
+
This is a BERT model trained for Masked Language Modeling for Higlish Data.
|
16 |
+
|
17 |
+
Hinglish is a term used to describe the hybrid language spoken in India, which combines elements of Hindi and English. It is commonly used in informal conversations and in media such as Bollywood films
|
18 |
+
|
19 |
+
### Inference
|
20 |
+
```
|
21 |
+
from transformers import AutoTokenizer, AutoModelForMaskedLM, pipeline
|
22 |
+
|
23 |
+
tokenizer = AutoTokenizer.from_pretrained("SRDdev/SRDBerta")
|
24 |
+
|
25 |
+
model = AutoModelForMaskedLM.from_pretrained("SRDdev/SRDBerta")
|
26 |
+
|
27 |
+
fill = pipeline('fill-mask', model='SRDberta', tokenizer='SRDberta')
|
28 |
+
```
|
29 |
+
```
|
30 |
+
fill_mask = fill.tokenizer.mask_token
|
31 |
+
fill(f'Aap {fill_mask} ho?')
|
32 |
+
```
|
33 |
+
|
34 |
+
### Citation
|
35 |
+
Author: @[SRDdev](https://huggingface.co/SRDdev)
|
36 |
+
```
|
37 |
+
framework : Pytorch
|
38 |
+
Year: Jan 2023
|
39 |
+
```
|