TGViewer
پایتون | Data Science | Machine Learning پایتون | Data Science | Machine Learning @python4all_pro · 24.3K subscribers
Post #867 3.33K
Summarize Text in Python Using ChatGPT (and other NLP tasks)

In this video we integrate Chat GPT with  Python in order to do three different NLP related tasks around text clean up and text summarization.
First we build a sentence averager that is able to take in a list of sentences and return a single summary sentence that represents the whole group.
Second, we build a straight up abstractive text summarizer that simply reads in a long piece of input text and returns a condensed summary.
And finally, we build a method that is able to take in a list of job titles and return back a single job title that represents the entire group. Basically, when you have a bunch of versions of the same job title written in slightly different ways, this method allows you to collapse them down into a single representative job title.

Link to git hub:
https://github.com/michaelgcortes/text-summarization-in-python-using-chatgpt 




#Code #python

🆔 @Python4all_pro
  • ❤ 1
  • 🆒 1
More from @python4all_pro
  1. Oct 2, 2026با هوش مصنوعی فقط کد تولید نکن؛ محصول بساز. بوت‌کمپ ۷ روزه و عملی ساخت محصول واقعی با هوش…
  2. Oct 2, 2026💥 ۲۰۰ هزار تومان تخفیفِ بیشتر علاوه بر تخفیفِ ۷۵ درصدی موجود در سایت | اشتراک یک ساله فرا…
  3. Oct 2, 2026اگه کسب و کارت هوشمند نیست،وقتشه هوشمندش کنی! 🎓 دوره جامع ABA | دستیار کسب وکار هوشمند در…
  4. Oct 1, 2026ثبت نام دوره‌های تخصصی آموزش هوش مصنوعی شروع شد! اگه مدت‌هاست می‌خوای هوش مصنوعی رو جدی‌تر…
  5. Sep 29, 2026What better way to understand a powerful tool like Claude Code than to build your own vers…
  6. Sep 28, 2026🧨 ۲۰۰ آموزش جدید دیگر، جایگزین آموزش‌های قبلی شد... 💯 ۴۰۰+۲۰۰ آموزش در فرادرس، هر آموزش…
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 →