15,195 Topics

Member Avatar for
Member Avatar for usmanmalik57

Chatbots are software applications that can interact with humans using natural language. They can be used for various purposes, such as customer service, entertainment, education, and more. Chatbots can be built using different techniques like rule-based systems, machine learning, or deep learning. In this article, I will focus on the …

3
801
Member Avatar for usmanmalik57

Language modeling is the cornerstone of advanced natural language processing, forming the backbone for cutting-edge technologies like ChatGPT. At its core, it involves predicting words based on context, a fundamental principle underlying modern large language Models (LLMs). There are various techniques for language modeling, with attention mechanisms emerging as the …

Member Avatar for AndreRet
2
563
Member Avatar for usmanmalik57

In this tutorial, you will learn to fine-tune a [Hugging Face Transformers model](https://huggingface.co/docs/transformers/index) for video classification in PyTorch. The Hugging Face documentation provides an example of performing video classification using the Hugging Face Trainer with one of Hugging Face's built-in datasets. However, the process of fine-tuning a video transformer on …

2
415
Member Avatar for cored0mp

I'm working on an application, certainly not my first. Some aspects of my coding background are quite informal, for example I have only a rudimentary understanding of source code repositories. Take library formation, for example? I'm reasonably proud that my source is of sufficient quality and organization to pass an …

Member Avatar for Dani
2
118
Member Avatar for usmanmalik57

Understanding facial expressions is crucial for various tasks, from recognizing emotions to enhancing security measures. While extracting faces from pictures is easy, doing the same in videos is tricky. Imagine creating videos with only highlighted facial expressions, offering a unique perspective on human interactions. Various tools are available for face …

1
2K
Member Avatar for cored0mp

How do I create a table in postgres that's associated with a specific database? Obviously from the command line one can do Create table tablename (); But how do I make sure that the table is associated with the correct database? CREATE table dbname.tablename(); is giving me the error: ERROR: …

Member Avatar for Dani
1
160
Member Avatar for usmanmalik57

## Introduction ## In the realm of computer vision, [Vision Transformers (ViTs)](https://arxiv.org/abs/2010.11929) revolutionized image processing by employing self-attention mechanisms, allowing for a non-sequential analysis of images. ViTs are instrumental in capturing intricate patterns and long-range dependencies, making them invaluable for tasks like image recognition and object detection. Hugging Face, a …

1
1K
Member Avatar for usmanmalik57

In a previous article, I showed you [how to analyze sentiments using Chat-GPT and data augmentation techniques](https://www.daniweb.com/programming/computer-science/tutorials/540502/sentiment-analysis-with-data-augmentation-using-chatgpt#post2293643). Following that, some readers reached out, asking for a breakdown of fine-tuning a Chat-GPT model. In this article, I will guide you through fine-tuning your Chat-GPT model using your own data. First, I'll …

2
504
Member Avatar for usmanmalik57

In one of my research projects, I needed to extract text from video files and create a CSV file that included sentiments expressed in the text. Manual extraction was time-consuming and costly. So, I explored Automatic Speech Recognition (ASR) systems and discovered OpenAI [Whisper](https://openai.com/research/whisper), known for its high accuracy in …

Member Avatar for Reverend Jim
1
853
Member Avatar for Artin_1

I've just finished reading Eric Matthes' Python Crash Course. A book which I found great to learn Python within a short time. The learning process wasn't really hard for me as I was already familiar with programming in other languages. Now I'm done with it and I've just started learning …

Member Avatar for Reverend Jim
0
108
Member Avatar for raj_41

If any of you have hands-on experience in developing texting platforms or have insights into the considerations involved, I would greatly appreciate your input. Factors such as real-time capabilities, scalability, integration with messaging protocols, and compatibility across devices are of utmost importance.

Member Avatar for Sajid_21
0
217
Member Avatar for NAFISUL

Hi, I am a non computing graduate. Have basic HTML knowledge gather using freecodecamp. I am transitting from marketing industry to IT (programming) industry. I have enrolled in a masters in UK which will start in just one month. But I am not sure If i will be able to …

Member Avatar for jkon
0
129
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-2
300
Member Avatar for usmanmalik57

Data annotation for text classification is time-consuming and expensive. In the case of smaller training datasets, pre-trained ChatGPT models might achieve higher classification accuracy on test sets than training classifiers from scratch or fine-tuning existing models. Additionally, ChatGPT can aid in annotating data for fine-tuning text classification models. In this …

Member Avatar for AndreRet
3
720
Member Avatar for Mindmade

Hi guyz, What is the main purpose of alpha and beta testing? From your own personal experience. Why is Beta Testing is very much important in mobile app development?

Member Avatar for Gulshan_6
-2
49
Member Avatar for fluids_

I am trying to make a drawing board in pygame but I want to be able to change the opacity using RGBA but it doesn't seem to be working, my code below: import pygame as pg import sys, os from pygame.locals import * pg.init() draw = 0 color = 0 …

Member Avatar for Reverend Jim
0
181
Member Avatar for lma2lke8
Member Avatar for Reverend Jim

I came across this item while programming something that should have been very simple. VLC Media Player will save the last viewed position in a media file (assuming you have the resume option enabled). It maintains two lists, file names, and offset times. The file names are encoded such that …

Member Avatar for rproffitt
0
49
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-2
53
Member Avatar for ashishhhroe

I am trying to run a python code but it's showing attribute error- my_string = "Hello, world!" my_string.reverse() Output for the above code: Traceback (most recent call last): File "c:\Users\name\OneDrive\Desktop\demo.py", line 2, in <module> my_string.reverse() ^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'reverse' Could you please help me solve this? …

Member Avatar for Reverend Jim
0
28
Member Avatar for biplabjackie

I have excel sheet where all pivotcharts are combined by slicers. i want to copy individual pivot charts from the excel sheet to a word document by image to placeholder Thank you in advance I have tried with win32 & openpyxl but error message came Object attribute charts is not …

Member Avatar for AndreRet
1
50
Member Avatar for Gulshan_6

Hello this is Gulshan Negi Well, I am writing a program for making hangman game in python but it shows some error at the time of its execution. Here is my source code: import random def select_word(): words_in_computer_memory = ['magazine','stars','computer','python','organisation'] word = random.choice(words_in_computer_memory) return word def is_gussed(word, guessed_letter_list): count=0 for …

Member Avatar for AndreRet
1
157
Member Avatar for JessicaW33

Hello everyone, I'm currently exploring blockchain development and would like to learn how to implement a simple blockchain in a programming language of my choice. I understand the basic concepts of a blockchain, but I'm curious about the specific steps and code required to create one. Could anyone please share …

Member Avatar for tarun Nagar
0
171
Member Avatar for Mindmade

Is it good to start your programming career with Python IDE & Editors? If it's is true, Then why it is?

Member Avatar for AndreRet
-2
92
Member Avatar for Reverend Jim

I wrote a timer/alarm app in Python that I wanted to be accessible from all Windows Desktops. What I had to do until recently was run the app, select the desktops icon on my toolbar, then right click the app and select "Show this window on all desktops". I was …

Member Avatar for AndreRet
2
877
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-1
445
Member Avatar for veomall

I am beginner python developer. I'm excited to be part of this brilliant community of talented individuals who share a love for coding and problem-solving. Let's collaborate, learn, and create amazing solutions together. Here's to our success!

Member Avatar for AndreRet
0
73
Member Avatar for dseto200

How do I modify this program player has 5 chances to ask a letter is in the word. Computer responds yes and no. Original Exercise - Computer picks a random word from a list and player guesses the word. Computer tells the player how many letters are in the word. …

Member Avatar for Reverend Jim
0
3K
Member Avatar for masocha

Please assit to translate the following code from python to php [Click Here](https://www.dropbox.com/s/qndlm9qenvge6sf/pyussd.rar) Thank you

Member Avatar for Mike_106
0
6K
Member Avatar for inkabi
Member Avatar for pritaeas
0
194
Member Avatar for Benitta

how can we read qr codes in 1st page from a pdf file and verify the same qr code is present in all the other pages of the file

Member Avatar for rproffitt
0
63
Member Avatar for morrisavendano

CTO, Associate Professor, SwEngineer, Psychologist, Consultant, Public Speaker, Researcher, and Volunteer.

Member Avatar for Akira350lth
0
43
Member Avatar for Nick74

I need help with this project I'm a week over due and am having problems with the following problem. Can some one please show me how to code this? ____________________________________________________________________________________ Write a program that prints a nicely formatted table of wind chill values. Rows should represent wind speed from 0 …

Member Avatar for Akira350lth
1
41
Member Avatar for jtoddmessage
Member Avatar for Mindmade
Member Avatar for 21Lester

hello, i have a huge problem and dont know how to fix it. here is the code: #(in class) def shoot(self, current_time, bullet_group, enemy_group): if current_time - self.last_shot > self.shoot_count: bullet = Bullet(self.rect.centerx, self.rect.bottom, "death_star_laser1.png", 10) bullet_group.add(bullet) if current_time - self.last_shot > self.cooldown: self.last_shot = current_time return random.choice(enemy_group.sprites()) #(just normal …

Member Avatar for donichalubaix
0
107
Member Avatar for darwin.scribe

In both situation __del__ doesn't work. I understand that 'del obj' don't delete all references, but why/how/which references created? Example 1: class Exp: def __init__(self): self.b = 1 self.a = lambda :self.b def __del__(self): print('a') obj = Exp() obj = None del obj Example 2: class Exp: def __init__(self): self.b …

Member Avatar for Reverend Jim
0
223
Member Avatar for Kh Hamsafar

## **Who am I?** ## Hi! Nice to meet you. I am Khairullah Hamsafar from Pakistan. Currently, I am studying Bachelor of Science in Software Engineering. ## **About My Professionalism** ## By profession, I am a Software Engineer. While by passion, I am a Data Science and Data Engineering expert. …

Member Avatar for Dani
0
27
Member Avatar for shebinkk

Hi everyone, I'm new to Python. My manager wants me to run a Python code and generate output for 40 set of values. The code works fine for sample data. But when I replace it with actual data, it doesn't give me any output. Below is the code. Sample data …

Member Avatar for Fifth Horseman
1
153
Member Avatar for mile.joncevski
Member Avatar for Akira350lth
0
36
Member Avatar for Mindmade
Member Avatar for rproffitt
-1
67
Member Avatar for andrewsmith2921

Hello all, i am new here and i hope this is the right place to ask the python query, basically i am in the first year of engineering and i want to learn the python programming language. we all know that python is now a days very popular programming language, …

Member Avatar for Colleen Cox
0
92
Member Avatar for zain.webinxs

Hi, I'm Zain Petrik, and I'm the proud owner of [Wndywaldman](http://www.https://wendywaldman.com/) a platform that connects Information of daily life ideas and business enthusiasts from all around the world. My mission is to provide a space where people can come together to learn, share ideas, and foster a sense of community. …

Member Avatar for Dani
0
22
Member Avatar for Corey_5

The button in question is supposed to calculate the cost of a car rental, from inputs for how many months, how many weeks and how many days. This is the entire code at the moment: import tkinter as tk from datetime import * # Create a tkinter window window = …

Member Avatar for woooee
0
69
Member Avatar for Corey_5

how exactly would I get an age validator and a rental cost calculator to work (python tkinter)? the code I used for the age validator is as follows: def validate_age(): dob = dob_entry.get() age = calculate_age(dob) if age < 24: tk.Label(text="You must be aged 24 or over to complete this …

Member Avatar for rproffitt
0
134
Member Avatar for Reverend Jim

My older son and I are both working through online videos teaching machine learning with python. All of the materials we have seen use Jupyter Notebooks. For those of you unfamiliar with Jupyter Notebooks, they are freaking awesome. At least they are when they work. We were using two laptops …

Member Avatar for Reverend Jim
0
80
Member Avatar for mmarkgilbert142

Hi all! If I want to get fast results on the project, what would be more efficient: getting only senior engineers, or considering those who are less senior but result-focused? Why?

Member Avatar for compshooter
0
174
Member Avatar for QMLab

I'm glad to join this community. My interest is deep learning for audio research.

Member Avatar for Dani
0
19
Member Avatar for johnmichae1

Finding seasoned programmers who are willing to work remotely might be challenging. It is possible to find them on websites such as Toptal, which is an amazing alternative. Only the top three percent of applicants who complete successfully pass the rigorous screening procedure required by Toptal software engineers. The people …

Member Avatar for Dani
-1
112
Member Avatar for Brian_37

Hello, I have run into an issue where my output for shipping charge needs to be Real Use local named constants not global Also the package weight needs to be times the rate PER pound, is what I have correct? rate1= 1.1 rate2= 2.2 rate3= 3.7 rate4= 3.8 def main(): …

Member Avatar for SendGroupSMS
0
2K

The End.