# Create your own writing assistant

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%3E%5C
**Category:** 🤗 Course Projects\
**Created:** [November 10, 2021, 4:44pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568 "2021-11-10T16:44:08Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flewtun)%5C
**Post date:** [November 10, 2021, 4:44pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F1 "2021-11-10T16:44:08Z")

</div>

> 👋 Please read the topic category [description](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fabout-the-course-projects-category%2F11510) to understand what this is all about

### Description

Many email and word processing applications can now automatically detect and correct common grammatical errors as you write. For example, the sentence “I am doing fine. How is you?” might be corrected to “I am doing fine. How are you?”. The goal of this project is to fine-tune a Transformer model to be able to automatically provide these corrections, similar to how [Grammarly](https://www.grammarly.com/?q=brand&utm_source=bing&utm_medium=cpc&utm_campaign=brand_f1&utm_content=sa360test&utm_term=grammarly%2B&matchtype=e&placement=&network=s&&msclkid=5ad0b2d216851d68f932d356506c4bd5&gclid=5ad0b2d216851d68f932d356506c4bd5&gclsrc=3p.ds) does

### Model(s)

This task can be viewed as a sequence-to-sequence task, so models like T5 would be a great starting point

### Datasets

- [jfleg](https://huggingface.co/datasets/jfleg)

### Challenges

If you use T5, you’ll need to define a suitable prefix for the text-to-text task. You’ll also need to think about suitable metrics for the evaluation.

### Desired project outcomes

- Create a Streamlit or Gradio app on [🤗 Spaces](https://huggingface.co/spaces) that can automatically provide suggestions to improve the grammar of some input text. Check out Grammarly for some inspiration on the visualization side.
- Don’t forget to push all your models and datasets to the Hub so others can build on them!

### Additional resources

- [https://towardsdatascience.com/fine-tune-a-transformer-model-for-grammar-correction-b5c8ca49cc26](https://towardsdatascience.com/fine-tune-a-transformer-model-for-grammar-correction-b5c8ca49cc26)
- [https://github.com/PrithivirajDamodaran/Gramformer](https://github.com/PrithivirajDamodaran/Gramformer)

### Discord channel

To chat and organise with other people interested in this project, head over to our [Discord](http://xwo7x.mjt.lu/lnk/CAAAAkdkZwAAAAAAAAAAALG-MTEAAYCr4H8AAAAAAAyFyQBhjpnimM4rcE5DT5ibCUtRT96tWwAMh8Y/15/U6BYNMNDksyyGG4jgtzPKQ/aHR0cHM6Ly9odWdnaW5nZmFjZS5jby9qb2luL2Rpc2NvcmQ) and:

- Follow the instructions on the `#join-course` channel
- Join the `writing-assistant` channel

Just make sure you comment here to indicate that you’ll be contributing to this project 🙂

### Team organization on the Hub

To join this team, make sure you join the following organisation on the Hub:

- [team-writing-assistant (🤗 Course Team Writing Assistant)](https://huggingface.co/team-writing-assistant)

---

<div class="post-metadata">

**Author:** ![Modfiededition](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Modfiededition](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FModfiededition)%5C
**Post date:** [November 12, 2021, 6:04pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F2 "2021-11-12T18:04:28Z")

</div>

Hi, I am Ashish and I am interested in this project and would like to build it.

---

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flewtun)%5C
**Post date:** [November 12, 2021, 8:24pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F4 "2021-11-12T20:24:57Z")

</div>

Hey @Modfiededition, great to hear that you’re interested in this project! I’ve created a Discord channel (details in the topic description) for you and others join 🙂

---

<div class="post-metadata">

**Author:** ![Modfiededition](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Modfiededition](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FModfiededition)%5C
**Post date:** [November 14, 2021, 5:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F5 "2021-11-14T05:05:57Z")

</div>

Hi, I am not able to find the discord channel for this project.

---

<div class="post-metadata">

**Author:** ![satpalsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/satpalsr/32/3553_2.png) [@satpalsr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsatpalsr)%5C
**Post date:** [November 14, 2021, 8:23am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F6 "2021-11-14T08:23:43Z")

</div>

Hey! I am Satpal and would be contributing to this project.

---

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flewtun)%5C
**Post date:** [November 14, 2021, 10:46am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F7 "2021-11-14T10:46:54Z")

</div>

Hey @Modfiededition, did you find the channel in the end? I see there is already someone called Ashish in the channel. If not, you first need to follow the instructions on the `#join-course` channel, which will then give you access to the project channels 🙂

---

<div class="post-metadata">

**Author:** ![Modfiededition](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Modfiededition](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FModfiededition)%5C
**Post date:** [November 14, 2021, 11:28am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F8 "2021-11-14T11:28:32Z")

</div>

@lewtun I got the channel. Sorry, for the inconvenience.

---

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flewtun)%5C
**Post date:** [November 14, 2021, 4:44pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F9 "2021-11-14T16:44:42Z")

</div>

Hey @Modfiededition and @satpalsr, I’ve created an organisation on the Hub for your team so that you can push your models there and deploy your Streamlit / Gradio application 🙂

See the topic description for the link

---

<div class="post-metadata">

**Author:** ![cahya](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/cahya/32/48725_2.png) [@cahya](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fcahya)%5C
**Post date:** [November 14, 2021, 8:23pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F10 "2021-11-14T20:23:39Z")

</div>

Hi, I am also interested to this topic. I always wanted to know how grammarly works

---

<div class="post-metadata">

**Author:** ![Modfiededition](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Modfiededition](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FModfiededition)%5C
**Post date:** [November 15, 2021, 4:23am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F11 "2021-11-15T04:23:36Z")

</div>

Hey! @lewtun I would like to build this project individually. So, do I need to push my model to this organisation on the Hub?

---

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flewtun)%5C
**Post date:** [November 15, 2021, 8:54am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F12 "2021-11-15T08:54:01Z")

</div>

Hey @Modfiededition, you’re certainly welcome to build the project by yourself 🙂

In that case, you can push the models and Space to your Hub account - just drop a link here to the Space so we can check it at the end of the event!

---

<div class="post-metadata">

**Author:** ![Modfiededition](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Modfiededition](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FModfiededition)%5C
**Post date:** [November 17, 2021, 11:49am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F13 "2021-11-17T11:49:34Z")

</div>

hey @lewtun, please check the below screenshot. I don’t understand why I am getting this error on the Hub Inference API.  
here is my hub model card link: [https://huggingface.co/Modfiededition/t5-base-fine-tuned-jfleg?text=this+is+bads](https://huggingface.co/Modfiededition/t5-base-fine-tuned-jfleg?text=this+is+bads)

 ![Screenshot (49)](https://us1.discourse-cdn.com/hellohellohello/original/2X/a/ad40a4444948997d48a28012ddb64fdce0340945.png)

---

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flewtun)%5C
**Post date:** [November 17, 2021, 2:31pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F14 "2021-11-17T14:31:26Z")

</div>

Hey @Modfiededition it seems that your tokenizer is somehow missing files like `tokenizer.json`. What happens if you run `tokenizer.push_to_hub()`?

---

<div class="post-metadata">

**Author:** ![Modfiededition](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Modfiededition](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FModfiededition)%5C
**Post date:** [November 18, 2021, 9:14am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F15 "2021-11-18T09:14:38Z")

</div>

Hey @lewtun , I have successfully built the Course project: " Create your own writing assistant".

Please find below my hub model card and Space link for this project.

Hub Model Card Link: [Modfiededition/t5-base-fine-tuned-on-jfleg · Hugging Face](https://huggingface.co/Modfiededition/t5-base-fine-tuned-on-jfleg)  
Space Link: [Writing\_Assistant - a Hugging Face Space by Modfiededition](https://huggingface.co/spaces/Modfiededition/Writing_Assistant)

Thanks & Regards:

Ashish Goyal  
Email id: [ashishgy77@gmail.com](mailto:ashishgy77@gmail.com)

---

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flewtun)%5C
**Post date:** [November 18, 2021, 10:08am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F16 "2021-11-18T10:08:11Z")

</div>

This is sooo cool @Modfiededition !

It really works nicely 🙂

 ![Screen Shot 2021-11-18 at 11.07.54](https://us1.discourse-cdn.com/hellohellohello/original/2X/e/e86bedd6417e7b65de99a98571ca4eff4c790b3b.png)

---

<div class="post-metadata">

**Author:** ![Modfiededition](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Modfiededition](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FModfiededition)%5C
**Post date:** [November 18, 2021, 11:14am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F17 "2021-11-18T11:14:50Z")

</div>

Actually, I am thankful to you @lewtun and all the huggingface team members for creating this wonderful course. I am only able to build this cool project because of the course. The content is also so easy to understand and I just couldn’t stop loading pre-trained models and fine tuning them on different tasks 😅

---

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flewtun)%5C
**Post date:** [November 18, 2021, 1:01pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F18 "2021-11-18T13:01:23Z")

</div>

Thank you for the very kind words @Modfiededition ❤ It’s a real pleasure to hear that the course is useful and enabling people like yourself to build these cool applications!

---

<div class="post-metadata">

**Author:** ![rajhlinux](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@rajhlinux](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Frajhlinux)%5C
**Post date:** [November 21, 2025, 4:32pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F19 "2025-11-21T16:32:13Z")

</div>

Can’t find `#join-course` channel in the discord… something has changed? Thanks.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [November 22, 2025, 12:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreate-your-own-writing-assistant%2F11568%2F20 "2025-11-22T00:47:28Z")

</div>

Discord’s channel structure changes occasionally. It’s probably quite different from four years ago…

* * *

Current best practices, as of 2025:

1. Use only the official invite

2. Ignore old instructions that mention `#join-course`

3. Treat `#how-to-access-discord` as the single source of truth

4. Use a clean environment if verification is flaky  
If you get errors like “too many redirects”, “HF account already verified”, or you only ever see `#how-to-access-discord`, do the following: ([Hugging Face Forums](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fjoin-the-hugging-face-discord%2F11263%3Fpage%3D2 "Join the Hugging Face Discord! - Page 2 - Community Calls"))

5. Escalate by DM’ing `@lunarflu` if you remain stuck

6. Once access works, join the “general” and course areas

If you follow this order—official invite → `#how-to-access-discord` instructions → clean-environment retry if needed → DM `@lunarflu` as fallback—you are aligned with how Hugging Face themselves currently tell people to join and troubleshoot access.
