Update README.md
Browse files
README.md
CHANGED
@@ -33,6 +33,14 @@ model = WordTransformer.from_pretrained(Roksana/hindi_wic_muril)
|
|
33 |
```
|
34 |
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
## Citations and Acknowledgements
|
37 |
```
|
38 |
@inproceedings{dubossarsky-dairkee-2024-strengthening-wic,
|
|
|
33 |
```
|
34 |
|
35 |
|
36 |
+
OR load it as a simple embedding model:
|
37 |
+
```python
|
38 |
+
# Load pre-trained model and tokenizer
|
39 |
+
tokenizer = BertTokenizer.from_pretrained(model_name)
|
40 |
+
model = BertModel.from_pretrained(model_name)
|
41 |
+
```
|
42 |
+
|
43 |
+
|
44 |
## Citations and Acknowledgements
|
45 |
```
|
46 |
@inproceedings{dubossarsky-dairkee-2024-strengthening-wic,
|