TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #76 · 27 апр.

Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs

Резултати

Пронајдени 4 слични објави

Пребарај: #aitraining

当前筛选 #aitraining清除筛选
AI & Law

@ai_and_law · Post #569 · 14.05.2025 г., 07:04

🇬🇧UK Artists Demand AI Transparency in Copyright Use More than 400 British artists — including Elton John, Dua Lipa, Coldplay, and Paul McCartney — have signed an open letter urging Prime Minister Keir Starmer to support legislation that would mandate transparency in the use of copyrighted materials for AI training. The letter emphasizes that creative copyright is not just a legal tool but “the lifeblood of the creative industries,” underpinning both moral ownership and economic sustainability for millions. #AI#Copyright#AITraining

AI & Law

@ai_and_law · Post #443 · 14.11.2024 г., 08:04

Copyright Claims on AI Training Dismissed: A Case of Harm and Fair Use A recent New York court decision has set a notable precedent in copyright disputes involving AI training. Judge Colleen McMahon dismissed a lawsuit against OpenAI from news outlets Raw Story and AlterNet, which alleged the unauthorized use of their content to train ChatGPT. The case was dismissed on the grounds that the plaintiffs could not sufficiently demonstrate harm. However, Judge McMahon allowed room for an amended complaint, though she expressed doubt over whether the outlets could establish a recognizable injury under current law. OpenAI maintains that their model training practices align with fair use principles, as they rely on publicly accessible data and established legal precedents. Raw Story and AlterNet are evaluating options for amendment, emphasizing their confidence in addressing the court's concerns. The decision brings to light complex questions on fair use and copyright harm, particularly as AI tools continue to evolve and reshape content creation. #Copyright#AITraining#FairUse#AIRegulation

Crypto M - Crypto News

@CryptoM · Post #65290 · 12.04.2026 г., 14:54

🚀 AI TRENDS | Moore Threads Completes Rapid Adaptation of MTT S5000 GPU for MiniMax M2.7 Moore Threads has announced the successful completion of the Day-0 rapid adaptation of its flagship AI training and inference all-in-one GPU, the MTT S5000, for the new generation large model, MiniMax M2.7. According to Odaily, this achievement further demonstrates the capability of domestically produced full-feature GPUs to quickly respond to and support cutting-edge AI models. #MooreThreads#MTTS5000#AItraining#GPU#MiniMaxM2.7 #AImodels#domesticGPU

EdgeMarket.AI 📣

@edgemarketai · Post #8086 · 31.03.2026 г., 11:54

The next layer of EdgeMarket is live. We’re introducing community validation for real world events feeding verified truth directly into AI systems. Every validation strengthens the network. Every correct signal earns rewards. ⚡ Validate events 🧠. Train AI with real data 💰 Earn $BET This is how decentralised intelligence is built. Signal Truth. Earn $BET Click Here ⬇️ To Start https://edgemarket.ai/bnb/validate-results #EdgeMarket#AI#Web3#Crypto#BET #Airdrop#EarnCrypto#SignalTruth#Validation #Decentralization#AITraining#Blockchain #CommunityDriven#OnChain#DePIN