ofig commited on
Commit
c47dcc4
1 Parent(s): e3c1abf

Update critic/critic.py

Browse files
Files changed (1) hide show
  1. critic/critic.py +1 -1
critic/critic.py CHANGED
@@ -20,7 +20,7 @@ import streamlit as st
20
 
21
  st.subheader('Exploring Unsupervised Grammatical Error Correction with Transformer-Based Models')
22
  st.write('This live demonstration is adapted from the paper [LM-Critic: Language Models for Unsupervised Grammatical Error Correction](https://aclanthology.org/2021.emnlp-main.611.pdf) (EMNLP 2021) by Michihiro Yasunaga, Jure Leskovec, Percy Liang.')
23
- st.write('Enter any sentence in the text box, press submit, and see the grammatical scoring and judgement results outputted by LM-Critic using different LMs dislpayed below. Upon running this for the first time, it will initialize each LM.')
24
 
25
  def get_gpt2_loss(model, tokenizer, input_ids, attention_mask, labels):
26
  with torch.no_grad():
 
20
 
21
  st.subheader('Exploring Unsupervised Grammatical Error Correction with Transformer-Based Models')
22
  st.write('This live demonstration is adapted from the paper [LM-Critic: Language Models for Unsupervised Grammatical Error Correction](https://aclanthology.org/2021.emnlp-main.611.pdf) (EMNLP 2021) by Michihiro Yasunaga, Jure Leskovec, Percy Liang.')
23
+ st.write('Enter any sentence in the text box, press submit, and see the grammatical scoring and judgement results outputted by LM-Critic using different LMs displayed below.')
24
 
25
  def get_gpt2_loss(model, tokenizer, input_ids, attention_mask, labels):
26
  with torch.no_grad():