saiful9379 commited on
Commit
2f599c1
1 Parent(s): 846b6da

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -10,7 +10,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
10
 
11
  tokenizer = AutoTokenizer.from_pretrained("saiful9379/Bangla_GPT2")
12
 
13
- model = AutoModelForCausalLM.from_pretrained("saiful9379/Bangla_GPT2")
14
  text = "বহুল আলোচিত দশম জাতীয় সংসদ"
15
  input_ids = tokenizer.encode(text, return_tensors='tf')
16
 
 
10
 
11
  tokenizer = AutoTokenizer.from_pretrained("saiful9379/Bangla_GPT2")
12
 
13
+ model = AutoModelForCausalLM.from_pretrained("saiful9379/Bangla_GPT2", from_tf=True)
14
  text = "বহুল আলোচিত দশম জাতীয় সংসদ"
15
  input_ids = tokenizer.encode(text, return_tensors='tf')
16