santoshdahal commited on
Commit
1a32bf1
·
verified ·
1 Parent(s): f523352

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -14,9 +14,9 @@ tags:
14
  - onnx
15
  pipeline_tag: translation
16
  widget:
17
- - text: "mero name santosh ho"
18
  example_title: "Romanized Nepali"
19
- - text: "मेरो ाम सन्तोष हो"
20
  example_title: "Devanagari Nepali"
21
  - text: "bro i gonna go ktm"
22
  example_title: "Informal English"
@@ -57,14 +57,14 @@ from transformers import AutoModel
57
  model = AutoModel.from_pretrained("santoshdahal/setu", trust_remote_code=True)
58
 
59
  # Translate text
60
- result = model("mero name santosh ho")
61
  print("Translation:", result)
62
- # Output: "My name is Santosh."
63
 
64
  # Works with Devanagari script too
65
- result = model("मेरो ाम सन्तोष हो")
66
  print("Translation:", result)
67
- # Output: "My name is Santosh."
68
 
69
  # Handles informal text
70
  result = model("bro i gonna go ktm")
 
14
  - onnx
15
  pipeline_tag: translation
16
  widget:
17
+ - text: "mero ghar kathmandu ma cha"
18
  example_title: "Romanized Nepali"
19
+ - text: "मेरो घर काडौंमा "
20
  example_title: "Devanagari Nepali"
21
  - text: "bro i gonna go ktm"
22
  example_title: "Informal English"
 
57
  model = AutoModel.from_pretrained("santoshdahal/setu", trust_remote_code=True)
58
 
59
  # Translate text
60
+ result = model("mero ghar kathmandu ma cha")
61
  print("Translation:", result)
62
+ # Output: "My house is in Kathmandu."
63
 
64
  # Works with Devanagari script too
65
+ result = model("मेरो घर काडौंमा ")
66
  print("Translation:", result)
67
+ # Output: "My house is in Kathmandu."
68
 
69
  # Handles informal text
70
  result = model("bro i gonna go ktm")