Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Bump to v1.0.0 (#3395)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenroller committed Jan 19, 2021
1 parent 934b61b commit c724720
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 30 deletions.
7 changes: 7 additions & 0 deletions NEWS.md
@@ -1,4 +1,11 @@
## News

**Archive Information**
We are now making most of our major announcements on [Twitter](https://twitter.com/parlai_parley) and in our
[Release Notes](https://github.com/facebookresearch/ParlAI/releases).

### Older news

2020-07-21: We have added a new `parlai` super command, complete with [autocompletion](https://parl.ai/docs/tutorial_tipsntricks.html#command-line-tool).

2020-07-17: We've added a new tutorial showing how to [speed up training](https://parl.ai/docs/tutorial_fast.html).
Expand Down
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -44,7 +44,11 @@ ParlAI is described in the following paper:
[“ParlAI: A Dialog Research Software Platform", arXiv:1705.06476](https://arxiv.org/abs/1705.06476)
or see these [more up-to-date slides](https://drive.google.com/file/d/1JfUW4AVrjSp8X8Fp0_rTTRoLxUfW0aUm/view?usp=sharing).

See the [news page](https://github.com/facebookresearch/ParlAI/blob/master/NEWS.md) for the latest additions & updates, and the website [http://parl.ai](http://parl.ai) for further docs.
Follow us on [Twitter](https://twitter.com/parlai_parley) and check out our [Release
notes](https://github.com/facebookresearch/ParlAI/releases) to see the latest
information about new features & updates, and the website
[http://parl.ai](http://parl.ai) for further docs. For an archived list of updates,
check out [NEWS.md](https://github.com/facebookresearch/ParlAI/blob/master/NEWS.md).

<p align="center"><img width="90%" src="https://raw.githubusercontent.com/facebookresearch/ParlAI/master/docs/source/_static/img/parlai_example.png" /></p>

Expand Down
2 changes: 1 addition & 1 deletion parlai/__init__.py
Expand Up @@ -4,4 +4,4 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

__version__ = '0.10.0'
__version__ = '1.0.0'
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -9,7 +9,7 @@

from setuptools import setup, find_packages

VERSION = '0.10.0' # if you update, update parlai/__init__.py too!
VERSION = '1.0.0' # if you update, update parlai/__init__.py too!

if sys.version_info < (3, 7):
sys.exit('Sorry, Python >=3.7 is required for ParlAI.')
Expand Down
7 changes: 1 addition & 6 deletions website/generate.py
Expand Up @@ -80,12 +80,7 @@ def make_aboutpage():

def make_homepage():
template = _read_file(os.path.join(TEMPLATES, 'home.html'))
news = _read_file(os.path.join(GIT_ROOT_LEVEL, 'NEWS.md'))
news = news.replace('## News', '')
news_html = ghmarkdown(news)
content = template.replace('{{{CONTENT}}}', news_html)
html = wrap_base(content, "ParlAI")
_write_file('index.html', html)
_write_file('index.html', template)


def make_projects_landing():
Expand Down
45 changes: 24 additions & 21 deletions website/templates/home.html
Expand Up @@ -16,24 +16,25 @@
<section class="install-wizard wrap" style="background-color: #f7f7f7">
<div class="container">

<div class="twitter-feed">
<a class="twitter-timeline" data-lang="en" data-width="600"
data-height="600" data-theme="light" data-link-color="#E81C4F"
href="https://twitter.com/parlai_parley?ref_src=twsrc%5Etfw">Tweets
by parlai_parley</a> <script async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"></script> </div>
<div class="row">
<div class="col-md-5">
<h3>What's New</h3>
</div>
</div>
<!-- <div class="row"> -->
<h2>What's new?</h2>
<article class="markdown-body">
{{{CONTENT}}}
You can find the latest information about ParlAI by
[following us on twitter](https://twitter.com/parlai_parley) and
checking out our
[Release Notes](https://github.com/facebookresearch/ParlAI/releases).
</article>
<!-- </div> -->
</div>
<div class="twitter-feed">
<a class="twitter-timeline" data-lang="en" data-width="600"
data-height="600" data-theme="light" data-link-color="#E81C4F"
href="https://twitter.com/parlai_parley?ref_src=twsrc%5Etfw">Tweets
by parlai_parley
</a>
<script async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"></script>
</div>
</section>

<section class="install-wizard wrap">
Expand All @@ -43,15 +44,16 @@ <h3>What's New</h3>
<a name="getstarted"></a><h3>Get Started</h3>
</div>
</div>
<!-- <div class="row">
<div class="row">
<div class="col-md-7" style="padding-top: 20px; padding-bottom: 20px">
<h4 style="color: #555"><b>To install ParlAI:</b></h4>
</div>
</div>
<div class="command" style="margin-bottom: 20px">
<div class="label">Run this command:</div>
<div class="text">pip install parlai</div>
</div> -->
</div>
<!--
<div class="row">
<div class="col-md-7" style="padding-top: 20px; padding-bottom: 20px">
<h4 style="color: #555"><b>Check out our <a href="https://github.com/facebookresearch/ParlAI/blob/master/README.md">GitHub repository</a>:</b></h4>
Expand All @@ -61,6 +63,7 @@ <h4 style="color: #555"><b>Check out our <a href="https://github.com/facebookres
<div class="label">Run this command:</div>
<div class="text"><code>git clone https://github.com/facebookresearch/ParlAI.git<br>cd ParlAI; python setup.py develop</code></div>
</div>
-->
</div>
</section>

Expand Down Expand Up @@ -93,7 +96,7 @@ <h4 style="color: #555; margin-bottom: 20px; font-size: 16px; line-height: 140%"
</div>
<div class="command" style="margin-bottom: 20px">
<div class="label">Run this command:</div>
<div class="text" style="background-color: #fff"><code>parlai display_data -t babi:task1k:1</code></div>
<div class="text" style="background-color: #fff"><code>parlai display_data --task babi:task1k:1</code></div>
</div>

<div class="row">
Expand All @@ -103,7 +106,7 @@ <h4 style="color: #555; margin-bottom: 20px; font-size: 16px; line-height: 140%"
</div>
<div class="command" style="margin-bottom: 20px">
<div class="label">Run this command:</div>
<div class="text" style="background-color: #fff"><code>parlai display_data -t babi:task1k:1,squad -n 100</code></div>
<div class="text" style="background-color: #fff"><code>parlai display_data --task babi:task1k:1,squad -n 100</code></div>
</div>

<div class="row">
Expand All @@ -113,7 +116,7 @@ <h4 style="color: #555; margin-bottom: 20px; font-size: 16px; line-height: 140%"
</div>
<div class="command" style="margin-bottom: 20px">
<div class="label">Run this command:</div>
<div class="text" style="background-color: #fff"><code>parlai eval_model -m ir_baseline -t "#moviedd-reddit" -dt valid</code></div>
<div class="text" style="background-color: #fff"><code>parlai eval_model --model ir_baseline --task "#moviedd-reddit" --datatype valid</code></div>
</div>

<div class="row">
Expand All @@ -123,7 +126,7 @@ <h4 style="color: #555; margin-bottom: 20px; font-size: 16px; line-height: 140%"
</div>
<div class="command" style="margin-bottom: 20px">
<div class="label">Run this command:</div>
<div class="text" style="background-color: #fff"><code>parlai display_model -m ir_baseline -t "#moviedd-reddit" -dt valid</code></div>
<div class="text" style="background-color: #fff"><code>parlai display_model --model ir_baseline --task "#moviedd-reddit" --datatype valid</code></div>
</div>

<div class="row">
Expand All @@ -133,7 +136,7 @@ <h4 style="color: #555; margin-bottom: 20px; font-size: 16px; line-height: 140%"
</div>
<div class="command" style="margin-bottom: 20px">
<div class="label">Run this command:</div>
<div class="text" style="background-color: #fff"><code>parlai train_model -m drqa -t squad -bs 32 -mf /tmp/model_drqa</code></div>
<div class="text" style="background-color: #fff"><code>parlai train_model --model drqa --task squad --batchsize 32 --model-file /tmp/model_drqa</code></div>
</div>

<div class="row">
Expand Down

0 comments on commit c724720

Please sign in to comment.