vasudevgupta
commited on
Commit
·
284e312
1
Parent(s):
1dbd456
Update README.md
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ model = BigBirdModel.from_pretrained("google/bigbird-roberta-base", attention_ty
|
|
34 |
# you can change `block_size` & `num_random_blocks` like this:
|
35 |
model = BigBirdModel.from_pretrained("google/bigbird-roberta-base", block_size=16, num_random_blocks=2)
|
36 |
|
37 |
-
text = "Replace me by any text you'd like.
|
38 |
encoded_input = tokenizer(text, return_tensors='pt')
|
39 |
output = model(**encoded_input)
|
40 |
```
|
|
|
34 |
# you can change `block_size` & `num_random_blocks` like this:
|
35 |
model = BigBirdModel.from_pretrained("google/bigbird-roberta-base", block_size=16, num_random_blocks=2)
|
36 |
|
37 |
+
text = "Replace me by any text you'd like."
|
38 |
encoded_input = tokenizer(text, return_tensors='pt')
|
39 |
output = model(**encoded_input)
|
40 |
```
|