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

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

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
  • Проголосовать: не нравится

»
13 месяцев назад, # |
  Проголосовать: нравится +61 Проголосовать: не нравится

Thank you thank you thank you

»
13 месяцев назад, # |
  Проголосовать: нравится +14 Проголосовать: не нравится

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

  • »
    »
    13 месяцев назад, # ^ |
      Проголосовать: нравится +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")

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

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

»
13 месяцев назад, # |
  Проголосовать: нравится +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.

  • »
    »
    13 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Don't be lazy, implement the solutions when you mind-solve them!

  • »
    »
    13 месяцев назад, # ^ |
    Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

    I usually just resubmit an existing AC solution whenever I solve it in theory, that way it gets picked up by TLE bot and skipped when I request new problems or virtuals

»
13 месяцев назад, # |
  Проголосовать: нравится +35 Проголосовать: не нравится

I think you can enable us to use our own API

»
13 месяцев назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Your kindness is greatly appreciated.

»
13 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Thank you

»
13 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
13 месяцев назад, # |
  Проголосовать: нравится +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.

»
13 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Fantastic feature! Thank you!

»
13 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
13 месяцев назад, # |
  Проголосовать: нравится -27 Проголосовать: не нравится

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

  • »
    »
    13 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I prefer the stories to none and its a skill to be able to abstract it yourself as well. That's my opinion at least.

  • »
    »
    13 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    ChatGPT is not good at all at understanding underlying complex abstract concepts of the tasks, so probably it'll remove a lot of important stuff, it's even highlighted in "sparks of agi" paper where they compare how well chatgpt and gpt4 actually understand several math problems and evaluate their solution reasoning. gpt4 is much better for such use case, but it's not available for public for now.

»
13 месяцев назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

thank you sir

»
13 месяцев назад, # |
  Проголосовать: нравится +25 Проголосовать: не нравится

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

https://imgur.com/a/N5IzgoM

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

    Of course, I am aware of such a possibility. If I notice any abuses of the system, I will ban a user and/or impose strict quotas. It seems that if you really want to send a request to ChatGPT, you should open its website and do it there.

»
13 месяцев назад, # |
  Проголосовать: нравится +50 Проголосовать: не нравится

Finally no и in place of and

»
13 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
13 месяцев назад, # |
  Проголосовать: нравится +24 Проголосовать: не нравится

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

»
12 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
12 месяцев назад, # |
Rev. 2   Проголосовать: нравится -25 Проголосовать: не нравится

a