huseinzol05 commited on
Commit
e657aa6
1 Parent(s): f22668b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -13,11 +13,11 @@ Try it at https://huggingface.co/spaces/mesolitica/malaysian-translation
13
  ```python
14
  from transformers import T5ForConditionalGeneration, AutoTokenizer
15
  tokenizer = AutoTokenizer.from_pretrained(
16
- 'mesolitica/t5-base-standard-bahasa-cased',
17
  use_fast=False
18
  )
19
  model = T5ForConditionalGeneration.from_pretrained(
20
- 'mesolitica/t5-base-standard-bahasa-cased'
21
  )
22
  s = 'Hai, ada yang bisa saya bantu?'
23
  input_ids = tokenizer.encode(f'terjemah ke Melayu: {s}', return_tensors = 'pt')
 
13
  ```python
14
  from transformers import T5ForConditionalGeneration, AutoTokenizer
15
  tokenizer = AutoTokenizer.from_pretrained(
16
+ 'mesolitica/translation-t5-base-standard-bahasa-cased',
17
  use_fast=False
18
  )
19
  model = T5ForConditionalGeneration.from_pretrained(
20
+ 'mesolitica/translation-t5-base-standard-bahasa-cased'
21
  )
22
  s = 'Hai, ada yang bisa saya bantu?'
23
  input_ids = tokenizer.encode(f'terjemah ke Melayu: {s}', return_tensors = 'pt')