santoshdahal commited on
Commit
6dac960
·
verified ·
1 Parent(s): 095f90d

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -65,19 +65,19 @@ from transformers import AutoModel
65
  model = AutoModel.from_pretrained("santoshdahal/setu", trust_remote_code=True)
66
 
67
  # Translate text
68
- result = model("mero ghar kathmandu ma cha")
69
  print("Translation:", result)
70
- # Output: "my home in kathmandu"
71
 
72
  # Works with Devanagari script too
73
- result = model("mero name ram poudel ho")
74
  print("Translation:", result)
75
- # Output: "my name is ram poudel"
76
 
77
  # Handles informal text
78
- result = model("where is your home?")
79
  print("Translation:", result)
80
- # Output: "where's your home?"
81
 
82
  ```
83
 
 
65
  model = AutoModel.from_pretrained("santoshdahal/setu", trust_remote_code=True)
66
 
67
  # Translate text
68
+ result = model("mero name ramesh ho")
69
  print("Translation:", result)
70
+ # Output: "My name is Ramesh."
71
 
72
  # Works with Devanagari script too
73
+ result = model("सामाजिक मिडिया ग्राउण्ड वास्तविकता फरक छ।")
74
  print("Translation:", result)
75
+ # Output: "Social media and reality are different."
76
 
77
  # Handles informal text
78
+ result = model("what is your nam")
79
  print("Translation:", result)
80
+ # Output: "what's your name"
81
 
82
  ```
83
 
assets/decoder.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b07150550ea258faac1ea62095ce63da348fd37a4ed560a274b6cb134ce649a
3
  size 242959762
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:933393ebf81a97cfcd51c0ca655b3e566d8a0ccfccf624cb6096a0eb1826bb93
3
  size 242959762
assets/encoder.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2bf8f37df0f8f066023cc41b7c65d9e8a4dd82badeb3d0f3a7d6abe2e4587dfd
3
  size 135159477
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aea444d021bf32cbbe4d26c91dcc8513bba037a8c89c286ad5b8c54d0313c672
3
  size 135159477
assets/spm.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d26da1faa7fa9c8b8b30f1ea44da83939be6656e7c077f63ab271d34abe877b
3
- size 948113
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e77740dfc37b24f064f031aafa824cba8ff354f52081317f0afd88088d192811
3
+ size 1013520
assets/spm.vocab CHANGED
The diff for this file is too large to render. See raw diff