Блог пользователя MikeMirzayanov

Автор MikeMirzayanov, история, 3 года назад, По-английски

Hello, Codeforces.

I have implemented automatic translation of problem statements in Polygon (yes, yes, through ChatGPT). Here's an example of how to use it:

  • Suppose we have a problem statement only in Russian and we want to have it in English as well.

  • Create an empty problem statement in English.

  • Go to the bottom of the problem statement and click on "Add automatic translation."

  • In the popup window, you can choose the original language for translation (we only have Russian, so there's nothing to choose) and the section of the problem statement to translate (by default, it usually selects the appropriate option — translate everything).

  • Click the "Translate" button.

  • Wait for ChatGPT to translate the text (it may take up to a couple of minutes).

  • When the translation is ready, it will be loaded into the popup window.

  • Click "Save Translation."

  • Done.

  • Remember to proofread the statement yourself. Although it's a quality machine translation, it's still a machine translation.

One useful thing to note is that this method of translation miraculously preserves most of the LaTeX markup.

When using it, remember that the API is not free. I have set quotas, and if they are exceeded, I will have to turn off the feature. I hope this doesn't happen.

There are a few more ideas on how to use ChatGPT for peaceful purposes. Don't go too far.

  • Проголосовать: нравится
  • +1245
  • Проголосовать: не нравится

»
3 года назад, скрыть # |
 
Проголосовать: нравится +61 Проголосовать: не нравится

Thank you thank you thank you

»
3 года назад, скрыть # |
 
Проголосовать: нравится +14 Проголосовать: не нравится

Has someone tried translating using chatGPT before? I sure do hope it's not as cursed as google translate...

  • »
    »
    3 года назад, скрыть # ^ |
     
    Проголосовать: нравится +13 Проголосовать: не нравится

    In my experience it's pretty great. The translations are better than what you usually get on Google Translate or DeepL and you can be very specific. (Like saying "don't translate this word" or "use this kind of language")

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится +140 Проголосовать: не нравится

can you also add a button to generate solution into submit page, pls

»
3 года назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

I have a feature idea (Not related to Chat-GPT)

I was giving virtuals for a few weeks now. Around 25% of the contests, I face some problems which I have mind-solved before or maybe read it. It's very frustrating when it is one of the hard ones.

So maybe some marker, which would help to mark the problems as mind-solved or read? It would also be very useful to avoid problems while practicing.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +35 Проголосовать: не нравится

I think you can enable us to use our own API

»
3 года назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Your kindness is greatly appreciated.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

thank you!

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thank you

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I bet the next things are the validators, checkers, and generators

»
3 года назад, скрыть # |
 
Проголосовать: нравится +11 Проголосовать: не нравится

That's great, it will save so much time!

It would also be wonderful if the users can switch through the languages when they are presented with the problems. A few weeks ago, I organized a contest on my faculty with my own problems, but because of the rules on the faculty, the tasks had to be in Slovene. So, because of this limitation, I wrote the Slovene statements in the "English" tab and the English statements in the "Slovene" tab. This way, the Slovene statements were "default" and I only exported the English as .pdf file.

Adding such a language chooser would be greatly appreciated by many! Thank you.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Fantastic feature! Thank you!

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

У меня что-то перевод не работает, точнее минут 30 уже пишет что please wait. Это просто на сервере что-то багуется, или у меня проблема какая-то? MikeMirzayanov

»
3 года назад, скрыть # |
 
Проголосовать: нравится -27 Проголосовать: не нравится

How about using ChatGPT to convert long problem statements into short problem statements or remove stories?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

thank you sir

»
3 года назад, скрыть # |
 
Проголосовать: нравится +25 Проголосовать: не нравится

I don't know if you're aware of this but this is prone to prompt injection attacks

https://imgur.com/a/N5IzgoM

»
3 года назад, скрыть # |
 
Проголосовать: нравится +50 Проголосовать: не нравится

Finally no и in place of and

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Не думал, что мы доживём до такого

»
3 года назад, скрыть # |
 
Проголосовать: нравится +24 Проголосовать: не нравится

will chatgpt learn about the problem and give it away before the contest?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

MikeMirzayanov Уже часа три пишет что please wait. А этот сервис в рабочем состоянии?