Skip to content

Commit

Permalink
Merge branch 'main' of github.com:CuriousDima/pardon-my-english
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousDima committed May 26, 2024
2 parents 2ced3a8 + cb0d924 commit 9b654bb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# Pardon My English
This Telegram bot is designed to assist non-native English speakers by transforming semantically incorrect or awkwardly phrased English text into grammatically accurate and fluent English. Users simply input their original text, and the bot efficiently processes and returns a polished version, enhancing clarity and coherence. Ideal for learners of English, professionals, and anyone looking to improve their written communication.

**tl;dr: The bot that uses preset prompts to help users communicate like native English speakers.**

It is freely available. Go ahead and give it a try: https://t.me/PardonMyEnglishBot.

Pardon My English is designed to assist non-native English speakers by transforming semantically incorrect or awkwardly phrased English text into grammatically accurate and fluent English. Users simply input their original text, and the bot efficiently processes and returns a polished version, enhancing clarity and coherence. Ideal for learners of English, professionals, and anyone looking to improve their written communication.

# Changelog

- \[2024-04-24\] We've transitioned to using Llama3-70B for all existing and new users, and have seen significant improvements in quality without any degradation in inference speed, thanks to the capabilities of [Groq](https://groq.com/).
2 changes: 1 addition & 1 deletion telegram-bot/db_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Account(SQLModel, table=True):
user_id: str = Field(index=True, sa_type=BigInteger) # Telegram user ID
username: str | None
provider: Provider = Field(default=Provider.GROQ)
model: Model = Field(default=Model.GEMMA)
model: Model = Field(default=Model.LLAMA3_70B)
tokens_balance: int = Field(default=_NUM_TOKENS_DEFAULT)
# Whether the user is a friend of the bot owner.
# This is used to give the user an unlimited token balance.
Expand Down

0 comments on commit 9b654bb

Please sign in to comment.