-
Notifications
You must be signed in to change notification settings - Fork 0
/
filters.py
25 lines (22 loc) · 1.11 KB
/
filters.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
def blog_date_format(value):
return value.strftime('%B {0}, %Y').format(value.strftime('%d').lstrip('0'))
def default_description(value):
if value:
return 'Description: ' + value
else:
return ''
def news(_):
import markdown
html = markdown.markdown(
"""
## News
* November 3: [Presenting EMNLP 2021 Paper on Evaluation Paradigms in Question Answering](https://www.pedro.ai/paradigms-emnlp2021)
* August 3: [Presenting ACL 2021 Paper on Item Response Theory for NLP Leaderboards](https://irt.pedro.ai)
* April 19: [Started as a Research Scientist at Facebook Reality Labs](https://research.fb.com/people/rodriguez-pedro/)
* April 9: Defended PhD Thesis on [Evaluating Machine Intelligence with Question Answering](https://www.pedro.ai/static/publications/pedro_rodriguez_phd_thesis.pdf)
## Posts
* [Blog post on AllenNLP Callbacks and CometML](https://www.pedro.ai/blog/2020/04/08/allennlp-callback-trainer-cometml/)
* [Blog post on Reproducible ML](/blog/2020/03/24/reproducible-ml-and-parameter-sweeps/)
* [Blog post on Debugging ML Code](/blog/2019/12/15/debug-ml-code/)
""")
return html