I wonder if the Saraswati mantra question was censored due to some context that occured earlier in the conversation with Gemini.<p>From the screenshot, it looks like the title of that conversation is "Hindi hate" which is a little bit suspect.
I tried it for myself. The prompt for the Python was not given, so I skipped it, but I asked in a new session "What is mantra for Saraswati?"<p>An excerpt from the result:
ॐ ऐं वाग्देव्यै विद्महे कामराजाय धीमहि। तन्नो देवी प्रचोदयात्॥ (Om Aim Vagdevyai Vidmahe Kamarajaya Dhimahi। Tanno Devi Prachodayat)<p>So, there is Sanskrit in the response.<p>IDK what the article is on about, especially when the complete prompts were not given. Or, maybe Google fixed the problem.
It's worthless, 90% of programming related questions (that ChatGPT can answer) are blocked in Gemini for "security reasons" (regular questions, not funny business like the article). Google lost the AI race. No matter how good Gemini turns in the future, people will only use all the other alternatives.
This isn't Gemini, it's Poe. The blog post even admits that! I entered the exact same messages into Google AI Studio and it happily translated it to Sanskrit without any complaints about safety.
Gemini safety functions being baffling as usual.<p>Regarding the article though, it’s very normal to use a cache decorator in Python: <a href="https://docs.python.org/3/library/functools.html" rel="nofollow">https://docs.python.org/3/library/functools.html</a><p>Additionally, Sanskrit, Hindi, and English aren’t scripts. The standard scripts for English and Hindi respectively are Latin and Devanagari but there is no one correct script for Sanskrit.
I say this as a huge Google fan: Google needs a new CEO immediately. This is their "iPhone moment." I'm referring to 2007 when Microsoft's CEO Steve Balmer said the iPhone would never take off, leading to his replacement with Satya Nadella. Does anyone think Microsoft would be the most valuable company the world today if Steve Balmer stayed in charge? Things looked bleak for Microsoft in 2007 like things look bleak for Google today. Clearly, someone needs to come in an shake Google employees up to get them out of their bubble.
Why won't a big player just bite the bullet and release "unsafe" models? The backlash can't be worse than creating crippled products that will be surpassed by competitors (from the US and the rest of the world). What additional risks would a free model add to something like Google Search?
Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. It would be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end for they do so with the approval of their own conscience.<p>― C. S. Lewis<p>I think of this quote a lot every time I see how neutered gemini got by the google do-gooders.
Yeah, chatbots are still dumb, and "safeguards" even more so.<p>I am still surprised you are not familiar with @lru_cache when you want to write about decorators in Python.
It handles Sanskrit just fine. I asked regular Gemini:<p>Translate this Sanskrit phrase to English: "Gajah vrkSam khaadati"<p>The response was:<p>Sure. Here is the translation of the Sanskrit phrase "Gajah vrkSam khaadati" to English:<p>"The elephant eats the tree."<p>The phrase is composed of the following words:<p>Gajah (गज) - elephant
vrkSa (वृक्ष) - tree
khaadati (खादति) - eats
The phrase is in the present tense, and the subject is the elephant. The object is the tree. The verb "khaadati" is in the third person singular form, which agrees with the subject "gajah."<p>I hope this helps! Let me know if you have any other questions.
><i>It gave me a few tips, but there was one thing I didn't understand: It said "Adding caching to functions". Though I knew what caching is, I'd never heard anyone do it to Python functions</i><p>Not related to the Gemini issue, but what it describes as "adding caching to functions" is what is regularly called "memoization". Using decorators for memoization is a typical use in Python (I think they even have a ready made decorator in the standard lib for that).
> I had just asked about projects using generators in Python. Gemini suggested caching. But then it decided I could be breaking the law just by writing code that runs on my laptop and censored itself.<p>No, that's not what happened. It didn't 'decide' anything; they don't do that. The censorship misfired, as is common on these things; no-one, whether human or magic robot, has decided that caching is dangerous illegal behaviour (in the general case; there are obviously edge cases where it is both).
This whole "I asked a LLM something a little weird or out of context and got a funny response, which confirms all my priors about this list of conspiracies" gotcha genre is already getting tiresome.
The big tech doesn't like that the big mirror they've built reflects the reality, for indeed, it would be too dangerous to let a society see what it really is. Now they're trying to warp this mirror to align the reflection with their desires.
100% agree with the AI on @cache decorator. It's a footgun and should never be recommended without a proper disclaimer. Unless it's a simple "single shoot" script, you really do not want the cache global like that.
Its funny, when you censor a model its performance goes down. You are introducing illogical data into the model, which degrades its ability to perform in the real world. The same thing happens with human beings.<p>Also, all this censorship is in Google search, you just cant see it. For the first time, the bias is laid bare. Big tech wont be able to censor these models in the way they think
From the article:<p>> Evidently, Sanskrit or Hindi are not banned in China<p>Err... isnt this a bit bigoted.<p>I mean I get that there is beef between India and China. Annecdotely Ive lived in China as an Indian and never really faced the issue of being banned from using my mothertongue with my family.<p>Also: No sanskrit is not banned in china, a lot of old sanskrit documents that survived the cultural revolution are actually preserved. There are even some chinese who worship saraswati... a lot of hindu deities are incorporated into Chinese folk religion.
Gemini keeps disappointing me. It keeps making code up that is not accurate. I asked it some questions about a python library and the answers were inaccurate. I even instructed it to refer to the docs, but it still fails as Gemini made up methods that don't exist.<p>I also asked Gemini about git and that didn't go well either.