1-800-BAD-CODE
commited on
Commit
•
5a1019f
1
Parent(s):
ef74cf6
Update README.md
Browse files
README.md
CHANGED
@@ -37,14 +37,16 @@ m = PunctCapSegModelONNX.from_pretrained("pcs_en")
|
|
37 |
|
38 |
# Define some input texts to punctuate
|
39 |
input_texts: List[str] = [
|
|
|
40 |
"i woke up at 6 am and took the dog for a hike in the metacomet mountains we like to take morning adventures on the weekends",
|
41 |
"despite being mid march it snowed overnight and into the morning here in connecticut it was snowier up in the mountains than in the farmington valley where i live",
|
42 |
"when i got home i trained this model on the lambda cloud on an a100 gpu with about 10 million lines of text the total budget was less than 5 dollars",
|
|
|
43 |
"george hw bush was the president of the us for 8 years",
|
44 |
"i saw mr smith at the store he was shopping for a new lawn mower i suggested he get one of those new battery operated ones they're so much quieter",
|
45 |
# See how the model performs on made-up acronyms
|
46 |
"i went to the fgw store and bought a new tg optical scope",
|
47 |
-
# First few sentences from today's featured article on wikipedia
|
48 |
"it's that man again itma was a radio comedy programme that was broadcast by the bbc for twelve series from 1939 to 1949 featuring tommy handley in the central role itma was a character driven comedy whose satirical targets included officialdom and the proliferation of minor wartime regulations parts of the scripts were rewritten in the hours before the broadcast to ensure topicality"
|
49 |
]
|
50 |
results: List[List[str]] = m.infer(input_texts)
|
|
|
37 |
|
38 |
# Define some input texts to punctuate
|
39 |
input_texts: List[str] = [
|
40 |
+
# Literally my weekend
|
41 |
"i woke up at 6 am and took the dog for a hike in the metacomet mountains we like to take morning adventures on the weekends",
|
42 |
"despite being mid march it snowed overnight and into the morning here in connecticut it was snowier up in the mountains than in the farmington valley where i live",
|
43 |
"when i got home i trained this model on the lambda cloud on an a100 gpu with about 10 million lines of text the total budget was less than 5 dollars",
|
44 |
+
# Real acronyms in sentences that I made up
|
45 |
"george hw bush was the president of the us for 8 years",
|
46 |
"i saw mr smith at the store he was shopping for a new lawn mower i suggested he get one of those new battery operated ones they're so much quieter",
|
47 |
# See how the model performs on made-up acronyms
|
48 |
"i went to the fgw store and bought a new tg optical scope",
|
49 |
+
# First few sentences from today's featured article summary on wikipedia
|
50 |
"it's that man again itma was a radio comedy programme that was broadcast by the bbc for twelve series from 1939 to 1949 featuring tommy handley in the central role itma was a character driven comedy whose satirical targets included officialdom and the proliferation of minor wartime regulations parts of the scripts were rewritten in the hours before the broadcast to ensure topicality"
|
51 |
]
|
52 |
results: List[List[str]] = m.infer(input_texts)
|