smji commited on
Commit
1e38ea9
1 Parent(s): bb74e38

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -51,8 +51,8 @@ Supported district tokens:
51
  # Load model directly
52
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
53
 
54
- tokenizer = AutoTokenizer.from_pretrained("smji/ben2ipa-byt5small")
55
- model = AutoModelForSeq2SeqLM.from_pretrained("smji/ben2ipa-byt5small")
56
 
57
  """
58
  The format of the input text MUST BE: <district> <bengali_text>
@@ -70,7 +70,7 @@ from transformers import pipeline
70
 
71
  device = "cuda" if torch.cuda.is_available() else "cpu"
72
 
73
- pipe = pipeline("text2text-generation", model="smji/ben2ipa-byt5small", device=device)
74
 
75
 
76
  """
 
51
  # Load model directly
52
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
53
 
54
+ tokenizer = AutoTokenizer.from_pretrained("teamapocalypseml/ben2ipa-byt5small")
55
+ model = AutoModelForSeq2SeqLM.from_pretrained("teamapocalypseml/ben2ipa-byt5small")
56
 
57
  """
58
  The format of the input text MUST BE: <district> <bengali_text>
 
70
 
71
  device = "cuda" if torch.cuda.is_available() else "cpu"
72
 
73
+ pipe = pipeline("text2text-generation", model="teamapocalypseml/ben2ipa-byt5small", device=device)
74
 
75
 
76
  """