2,719 Recommended Topics
Remove Filter | |
heres my timer class with a module(on a group project for create a DLL): 'Module: Option Explicit Private Declare Function SetTimer Lib "user32" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long Private Declare Function KillTimer Lib "user32" (ByVal hWnd As … | |
## Introduction ## In a previous article, I explained [how to fine-tune the vision transformer model for image classification in PyTorch](https://www.daniweb.com/programming/computer-science/tutorials/540749/fine-tuning-vision-transformer-for-image-classification-in-pytorch). In this article, I will explain how to fine-tune the pre-trained OpenAI Whisper model for audio classification in PyTorch. Audio classification is an important task that can be applied … | |
The AI wave has introduced a myriad of exciting applications. While text generation and natural language processing are leading the AI revolution, image, and vision-based technologies are quickly catching up. The intersection of text and vision applications has seen a rapid surge recently. In this article, you'll learn how to … | |
Large language models (LLMS) are trained to predict the next token (set of characters) following an input sequence of tokens. This makes LLMs suitable for unstructured textual responses. However, we often need to extract structured information from unstructured text. With the Python [LangChain](https://www.langchain.com/) module, you can extract structured information in … | |
I had a difficult time figuring out how to get or test the last character of a string with javascript, so figured I would post it once I found out in case it helps someone else. I found plenty of removing the last character, but not for just checking what … | |
I have 3 okta apps setup. Okta app for backend Okta spa app Okta web app The Okta spa app is able to use the access token it got and pass to Okta app for backend and the token is validated. However, the Okta web app access token when passed … | |
have an annoyance that I i'd like to know a workaround for please: -often/frequently/ nearly everytime i use MS 365 sign in or gmail sign in it takes me to a password reset. i have no wish to change my password { also previously did but it still kept wanting … | |
Reflect on your experience with object-oriented programming (OOP) in Java. Discuss how concepts like inheritance, polymorphism, and abstraction have helped you in your projects. Share examples and personal insights. | |
I'm learning nodejs(and I like it!). I tried to figure out how to have shorter alias for `console.log` and I found out that I can use `var cout=console.log` and use `cout('[string]')` from then on. Then when I wanted to use `process.stdout.write` and I tried to make a short alias for … | |
"Hello everyone, I'm currently working on developing a shopping app, and I'd like to gather some insights from the community. What do you believe are the essential key features that should be considered when developing a shopping app? Your expertise and suggestions would be greatly appreciated. Thank you!" | |
Retrieval augmented generation (RAG) allows large language models (LLMs) to answer queries related to the data the models have not seen during training. In my previous article, I explained [how to develop RAG systems using the Claude 3.5 Sonnet model](https://www.daniweb.com/programming/computer-science/tutorials/542136/retrieval-augmented-generation-with-claude-3-5-sonnet). However, RAG systems only answer queries about the data stored … | |
Never published this before, so this is a DaniWeb.com Exclusive :) If your WP-Site has a lot of K-Links, you should consider using this script. It definetly works. For now... ## **Negative SEO** through spamming Backlinks can be a huge problem for the visibility of a webpage. ## You can … | |
On August 20, 2024, [OpenAI enabled GPT-4o fine-tuning](https://openai.com/index/gpt-4o-fine-tuning/) in the OpenAI playground and the OpenAI API. The much-awaited feature is free for fine-tuning 1 million daily tokens until September 23, 2024. In this article, I will show you how to fine-tune the OpenAI GPT-4o model for text classification and summarization … | |
If you have a Form that gets user input, submits and adds to a MySQL db. You want to be alerted via email, and also send an email to the user thanking them. You decide PHPMailer is the safest way, but want to use PDO to avoid Injection hacks. What … | |
Please can someone advice | |
In a previous article, I compared [GPT-4o mini vs. GPT-4o and GPT-3.5 Turbo for zero-shot text summarization](https://www.daniweb.com/programming/computer-science/tutorials/542208/gpt-4o-mini-vs-gpt-4o-vs-gpt-3-5-turbo-for-text-summarization). The results showed that the GPT-4o mini achieves almost similar performance for zero-shot text classification at a much-reduced price compared to the other models. I will compare Meta Llama 3.1 70b with OpenAI … | |
In my previous articles, I presented a [comparison of OpenAI GPT-4o mini model with GPT-4o and GPT-3.5 turbo models for zero-shot text classification](https://www.daniweb.com/programming/computer-science/tutorials/542182/gpt-4o-mini-a-cheaper-and-faster-alternative-to-gpt-4o). The results showed that GPT-4o mini, while significantly cheaper than its counterparts, achieves comparable performance. On 8 August 2024, OpenAI enabled GPT-4o mini fine-tuning for developers across … | |
Hey guys! I started a keylogger project two months back, and I've hit a slump relating to what features I can add to make it more complex and less basic. So I just wanted to hear any suggestions anyone might have, so I find some inspiration. **Note: This project is … | |
Learning to code is one such skill that sets your kid apart from the crowd. In the same way, it also helps your kid in landing some amazing opportunities in his/her career. Some Points are: 1) Take baby steps 2) Block-based for beginners 3) Python programming course for kids 4) … | |
Hello !! "I want to learn Java data structures and algorithms (DSA). I have recently learned Java object-oriented programming (OOP). Suggest me best tutorials for learning. | |
It has to be said that Apple in recent years has not had any particularly eye-catching upgrades. Even, some features that users like very much have been removed, such as fingerprint unlocking. I'm using iPhone 13 now, if I wear makeup sometimes, iPhone 13 can't recognize my face. Once, I … | |
Hi, Am using VB.NET. I have a search page in one form(Search.vb) and another form(Form1.vb) to display the details of selected data from the search form. I already have back button in Form1.vb which returns to some other form say (Action.vb). In case of searching data it returns to Form1 … | |
Hey everyone! 🌟 Web development is evolving rapidly with exciting trends like Progressive Web Apps (PWAs), Jamstack architecture, and AI integration. What tools and frameworks are you using? How do you tackle challenges like responsive design, performance optimization, and security? Share your experiences and tips! Cheers, Haseeb Ahmad: | |
Recently made a decision for an app I'm working on to accumulate data in batches AND THEN to insert it into the database with one statement rather than adding 1,000 records through one thousand separate inserts. Is this done better through file or memory? If I write the segments of … | |
I want to use the seekbar to zoom in and out of the camera from zxing | |
Hi.. I've to remove a very long path. I've written the below to try that but its giving WindowsError: [Error 206] (I've pasted it below). I've prepended "\\?\" to the actual path but still I'm getting the exception. Please let me know the solution... ++++ import os import shutil os.rmdir(os.path.realpath(r"\\?\D:\Kamesh\test-1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950\test-1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950\kkkkkkkkkkkkkkkkkkkkkkkkk\kllkppppppppppppp\long_path_test")) … | |
I found some code on the web a while back. But I don't know who wrote it. The code below looks for worksheet names in a excel file. I am not familiar with C++ (and do little to nothing with binary files). Can someone help me convert the code below … | |
In my previous [article on GPT-4o mini](https://www.daniweb.com/programming/computer-science/tutorials/542182/gpt-4o-mini-a-cheaper-and-faster-alternative-to-gpt-4o), I compared the performance of GPT-4o mini against GPT-3.5 Turbo and GPT-4o for zero-shot text classification. We saw that GPT-4o mini, being 36% times cheaper, achieves only 2% less accuracy than GPT-4o. Furthermore, while being 1/3 of the price, the GPT-4o mini significantly … | |
Hey, im having a problem retrieving information about some files due to the fact either the file name or the extension is too long. For example i want to retrieve the size of a file only i call [CODE=Python]os.path.getsize("somelongfilename.txt")[/CODE] Note that it may not be a .txt extension, but it … |
The End.