Update README.md
Browse files
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
```python
|
2 |
from modeling_deltalm import DeltalmForConditionalGeneration # modeling_deltalm: https://huggingface.co/nguyenvulebinh/deltalm-base/blob/main/modeling_deltalm.py
|
3 |
from configuration_deltalm import DeltalmConfig # configuration_deltalm: https://huggingface.co/nguyenvulebinh/deltalm-base/blob/main/configuration_deltalm.py
|
4 |
-
from transformers AutoTokenizer
|
5 |
|
6 |
src_text = "i'm steve and<mask> 25 years old"
|
7 |
encoded_hi = tokenizer(src_text, return_tensors="pt")
|
|
|
1 |
```python
|
2 |
from modeling_deltalm import DeltalmForConditionalGeneration # modeling_deltalm: https://huggingface.co/nguyenvulebinh/deltalm-base/blob/main/modeling_deltalm.py
|
3 |
from configuration_deltalm import DeltalmConfig # configuration_deltalm: https://huggingface.co/nguyenvulebinh/deltalm-base/blob/main/configuration_deltalm.py
|
4 |
+
from transformers import AutoTokenizer
|
5 |
|
6 |
src_text = "i'm steve and<mask> 25 years old"
|
7 |
encoded_hi = tokenizer(src_text, return_tensors="pt")
|