TGViewer
Channel Public Channel
🍳 Датазавтраки ☕️ НСК (Академ)

🍳 Датазавтраки ☕️ НСК (Академ)

@databreakfast

Каждый вторник с 8:30 до 10:00 в "Shurubor coffeeshop" у фонтана ТЦ https://go.2gis.com/wlkqi

По всем вопросам к @promsoft . Рекламу не размещаем
Subscribers
709
Photos
262
Videos
15
Links
1.9K

Showing posts older than #1305 · Back to latest

Older Posts 20 shown
Post #1304 401
Вот совсем простой пример, который мне сгенерировал Qwen https://chat.qwen.ai/s/54635107-4020-4c51-926d-926a4cc63f50?fev=0.0.90



import openai
import json

# Установите ваш API ключ
openai.api_key = "your-api-key"

# Набор коротких текстов
texts = [
"Как приготовить пасту карбонара в домашних условиях?",
"Лучшие курорты Таиланда для отдыха с детьми",
"Почему не стоит покупать машину на автомате?",
"Рецепт диетического овощного супа за 30 минут"
]

# Формируем запрос
prompt = f"""
Ты — помощник по анализу текста. Твоя задача — определить основную тему каждого текста из списка ниже.
Верни результат в формате JSON: {{ "themes": [...] }}, где themes — список тем в том же порядке, что и входные тексты.

Тексты:
{json.dumps(texts, ensure_ascii=False, indent=2)}
"""

# Вызов OpenAI API
response = openai.ChatCompletion.create(
model="gpt-3.5-turbo", # или "gpt-4"
messages=[
{"role": "system", "content": "Ты — помощник по анализу текста."},
{"role": "user", "content": prompt}
]
)

# Извлечение ответа
answer = response.choices[0].message.content
result = json.loads(answer)

print("Выявленные темы:")
for i, theme in enumerate(result["themes"]):
print(f"{i+1}. {theme}")
chat.qwen.ai Qwen Chat Qwen Chat offers comprehensive functionality spanning chatbot, image and video understanding, image generation, document processing, web search integration, tool utilization, and artifacts.
Post #1301 393
Post #1299 335
Рассказывал про Marti Hearst (не смог вспомнить ее фамилию на датазавтраке), которая изобрела метод извлечения отношений для построения графа https://en.wikipedia.org/wiki/Marti_Hearst
  • ❤ 1
  • 👍 1
Post #1297 254
Post #1295 223
В тексте это так:
nice girl
Round 1 — Generating image...
Round 1 — Describing image...
New prompt: The image depicts a person with long, wavy brown hair. They are wearing a green jacket over a white top, and the jacket has a buttoned front and a pocket on the chest. The individual is also wearing a...

Round 2 — Generating image...
Round 2 — Describing image...
New prompt: The image shows a person wearing a light green jacket over a white top. The jacket has visible button details and a collar. The background is plain and light-colored....

Round 3 — Generating image...
Round 3 — Describing image...
New prompt: This image shows a person wearing a light green, button-up jacket with white buttons. The jacket features two flap pockets on the chest. Underneath the jacket, the person is wearing a white top. The b...

Round 4 — Generating image...
Round 4 — Describing image...
New prompt: The image shows a close-up of a person wearing a light green blazer. The blazer has a buttoned front with double-breasted buttons and multiple pockets, each secured with a button. The color is a soft ...

Round 5 — Generating image...
Round 5 — Describing image...
New prompt: The image depicts a close-up view of a person wearing a light green blazer. The blazer features a double-breasted design with metallic gold buttons arranged in two vertical rows. The collar is neatly ...

Final prompt: The image depicts a close-up view of a person wearing a light green blazer. The blazer features a double-breasted design with metallic gold buttons arranged in two vertical rows. The collar is neatly folded, and there is a subtle pocket flap on the left side, near the chest area. The fabric appears smooth and well-fitted, emphasizing a formal or professional look.
  • ❤ 2
  • 😁 1
Post #1289 221
Рассказывал про то, как "испорченный телефон" сходится к картинке из интернет-магазина:
берем фразу "nice girl", генерируем картинку, генерируем по ней описание, по описанию снова картинку и так пять раз. Получается вот что:
  • 👍 1
Post #1287 226

Forwarded from Pavel

добрый день. прошу отрепостить что ищем рецензента на диплом "Разработка метода использования моделей машинного обучения для решения логопедических задач c помощью wav2vec трансформеров" Д.Клюс
  • 🔥 1
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →