derek-thomas
commited on
Commit
·
cada31e
1
Parent(s):
061a52a
Updating markdown and adding picture
Browse files- app.py +12 -3
- media/bro_hill.jpg +0 -0
app.py
CHANGED
|
@@ -30,8 +30,12 @@ with gr.Blocks() as demo:
|
|
| 30 |
"you probably wont be doing these in 20 years". A few of us being middle schoolers would love to contradict this.
|
| 31 |
Unfortunately he passed away in 2015, so I thought this would be a nice tribute.
|
| 32 |
|
|
|
|
|
|
|
| 33 |
# Instructions
|
| 34 |
-
1. Choose a model
|
|
|
|
|
|
|
| 35 |
2. Write your sentence
|
| 36 |
3. Click Run!
|
| 37 |
""")
|
|
@@ -44,8 +48,11 @@ with gr.Blocks() as demo:
|
|
| 44 |
# Information
|
| 45 |
This doesnt look like the sentences we used to do!
|
| 46 |
|
| 47 |
-
There are some slight differences
|
| 48 |
-
[
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
How did you do this?
|
| 51 |
|
|
@@ -56,6 +63,8 @@ with gr.Blocks() as demo:
|
|
| 56 |
Dependency Parsing was a popular task in NLP to feed to models to improve performance, but in the age of the
|
| 57 |
[transformer](https://arxiv.org/abs/1706.03762) it's rarelu used in anymore.
|
| 58 |
|
|
|
|
|
|
|
| 59 |
# To Brother Hlll
|
| 60 |
Thanks for being a great teacher. As an adult I appreciate that you dont get to witness a lot of the fruits of your
|
| 61 |
investment in us as we were just middle schoolers, yet you invested nonetheless. I have a lot of fond memories of
|
|
|
|
| 30 |
"you probably wont be doing these in 20 years". A few of us being middle schoolers would love to contradict this.
|
| 31 |
Unfortunately he passed away in 2015, so I thought this would be a nice tribute.
|
| 32 |
|
| 33 |
+

|
| 34 |
+
|
| 35 |
# Instructions
|
| 36 |
+
1. Choose a model
|
| 37 |
+
-`ptb.biaffine.dep.roberta` is slower but marginally better
|
| 38 |
+
-`ptb.biaffine.dep.lstm.char` is faster but marginally worse
|
| 39 |
2. Write your sentence
|
| 40 |
3. Click Run!
|
| 41 |
""")
|
|
|
|
| 48 |
# Information
|
| 49 |
This doesnt look like the sentences we used to do!
|
| 50 |
|
| 51 |
+
There are some slight differences between
|
| 52 |
+
[Reed-Kellogg](https://blog.ung.edu/press/classroom-grammar-an-introduction-to-the-reed-kellogg-system/)
|
| 53 |
+
and [Dependency Parsing](https://en.wikipedia.org/wiki/Dependency_grammar)
|
| 54 |
+
in both presentation and linquistic analysis as shown [here](https://en.wikipedia.org/wiki/Sentence_diagram),
|
| 55 |
+
but they are similar enough for me not to mind too much.
|
| 56 |
|
| 57 |
How did you do this?
|
| 58 |
|
|
|
|
| 63 |
Dependency Parsing was a popular task in NLP to feed to models to improve performance, but in the age of the
|
| 64 |
[transformer](https://arxiv.org/abs/1706.03762) it's rarelu used in anymore.
|
| 65 |
|
| 66 |
+
Then I deployed this in a [Gradio App](https://gradio.app) on a [Hugging Face Space](https://huggingface.co/spaces).
|
| 67 |
+
|
| 68 |
# To Brother Hlll
|
| 69 |
Thanks for being a great teacher. As an adult I appreciate that you dont get to witness a lot of the fruits of your
|
| 70 |
investment in us as we were just middle schoolers, yet you invested nonetheless. I have a lot of fond memories of
|
media/bro_hill.jpg
ADDED
|