Vijayendra
commited on
Commit
•
3ce8da5
1
Parent(s):
e72855c
Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
4 |
|
5 |
```python
|
@@ -83,4 +91,4 @@ sentences = [
|
|
83 |
# Translate each sentence and print the top-p sampled translation + beam search candidates
|
84 |
for sentence in sentences:
|
85 |
top_p_translation, beam_translations = translate(sentence)
|
86 |
-
print(f"French: {sentence}\nTop-P Translation: {top_p_translation}\nBeam Search Candidates: {beam_translations}\n")
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
datasets:
|
4 |
+
- wmt/wmt14
|
5 |
+
language:
|
6 |
+
- fr
|
7 |
+
- en
|
8 |
+
base_model:
|
9 |
+
- google-t5/t5-base
|
10 |
+
pipeline_tag: translation
|
11 |
---
|
12 |
|
13 |
```python
|
|
|
91 |
# Translate each sentence and print the top-p sampled translation + beam search candidates
|
92 |
for sentence in sentences:
|
93 |
top_p_translation, beam_translations = translate(sentence)
|
94 |
+
print(f"French: {sentence}\nTop-P Translation: {top_p_translation}\nBeam Search Candidates: {beam_translations}\n")
|