Update README.md
Browse files
README.md
CHANGED
@@ -70,7 +70,6 @@ def predict(data):
|
|
70 |
predicted = torch.argmax(model(input_values, attention_mask=attention_mask).logits, dim=-1)
|
71 |
|
72 |
data["predicted"] = processor.tokenizer.decode(predicted[0])
|
73 |
-
print(data["predicted"])
|
74 |
print("predicted:", buckwalter.untrans(data["predicted"]))
|
75 |
return data
|
76 |
|
@@ -78,7 +77,6 @@ predict(load_file_to_data("common_voice_ar_19058307.mp3"))
|
|
78 |
```
|
79 |
**Output Result**:
|
80 |
```shell
|
81 |
-
reference: ูู ูู
ูููู ุงูุชุญุฏุซ ู
ุน ุงูู
ุณุคูู ููุง
|
82 |
predicted: ูู ูู
ูููู ุงูุชุญุฏุซ ู
ุน ุงูู
ุณุคูู ููุง
|
83 |
```
|
84 |
|
|
|
70 |
predicted = torch.argmax(model(input_values, attention_mask=attention_mask).logits, dim=-1)
|
71 |
|
72 |
data["predicted"] = processor.tokenizer.decode(predicted[0])
|
|
|
73 |
print("predicted:", buckwalter.untrans(data["predicted"]))
|
74 |
return data
|
75 |
|
|
|
77 |
```
|
78 |
**Output Result**:
|
79 |
```shell
|
|
|
80 |
predicted: ูู ูู
ูููู ุงูุชุญุฏุซ ู
ุน ุงูู
ุณุคูู ููุง
|
81 |
```
|
82 |
|