Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
generate
- Page 1
Re: Is digital marketing effective for your business?
Digital Media
4 Days Ago
by Bunker
Yes, digital marketing is effective for businesses. It helps reach more customers online, boosts brand awareness, and increases sales. Through platforms like social media, email, and websites, businesses can target specific audiences, track results, and adjust strategies for better outcomes.
Re: Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
2 Days Ago
by Harini sri
Hi, Thank you so much for the above code. Its giving better results compared to other libraries. I have few questions. In some tables, I have common column name for three columns and further I have sub columns like below.... in these cases the tables are not getting extracted properly...Do you have any suggestions for handling such cases? Also …
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
4 Weeks Ago
by usmanmalik57
…top 10 employees with the most sales. ##
Generate
Response from MySQL Database Generating a response from a…5. Product XLXQF with 184 units sold. ``` ##
Generate
Response from SQLite Database Finally, you can use a connection… string with the following syntax to
generate
a response from an SQLite database: ``` "…
Retrieval Augmented Generation with Hugging Face Models in LangChain
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
…any other LLM in langChain and allows you to
generate
responses, as shown in the script below. …4/2ea12a179c7fa91ce7657f39bafb1744.png) The next step is to
generate
embeddings using Hugging Face embedding models in LangChain…Generating Hugging Face Model Embeddings in LangChain To
generate
embeddings, you must first load the document and…
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
…;{input}"), ("user", "Given the above conversation,
generate
a search query to look up in order to get… a user prompt as a parameter. Inside the method, we
generate
a response for the user prompt and then append both…
Summarizing YouTube Video Transcriptions Using Distil Whisper and LLM
Programming
Computer Science
1 Week Ago
by usmanmalik57
…()` function uses the Mistral-7B model to
generate
the model response. ``` def generate_response(input_text… = encodeds.to(device) generated_ids = LLM.
generate
(model_inputs, max_new_tokens=response_tokens, temperature = temperature, …
'30% of Activities Performed by Humans Could Be Automated with AI'
Community Center
2 Weeks Ago
by Johannes C.
…. They will automate tedious tasks, collaborate via chat, provide support,
generate
reports, and much more. The potential to offload repetitive work…
Chrome generates AI content
Community Center
1 Week Ago
by Dani
Apparently a new feature in Google Chrome is to automatically
generate
AI content. All I need to do is start typing …
Re: Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Week Ago
by aishamushtaq
very helpful
Re: Chrome generates AI content
Community Center
1 Week Ago
by rproffitt
https://blogs.microsoft.com/blog/2023/02/07/reinventing-search-with-a-new-ai-powered-microsoft-bing-and-edge-your-copilot-for-the-web/ I recall seeing this on Bing and Edge as well. It shouldn't be long till Apple turns it on in Safari. Let me share a tip about search today. Use “before:2023" at the beginning of your search string. …
Re: Chrome generates AI content
Community Center
1 Week Ago
by Dani
Meanwhile, in other news, Google's huge March algorithm update, that is *still* going out, is focused hard and heavy on cutting out all AI-generated content from the search results. So, on one hand, you have Google making it super easy to churn out AI-generated content on the web, and on the other hand, you have Google churning their wheels trying …
Re: Chrome generates AI content
Community Center
1 Week Ago
by Johannes C.
For users who are tired of seeing AI-generated content on Google, a simple fix is to **write "before:2023" in front of search queries**. Gets rid of all the "let's-delve-into-the-rich-tapestry..." BS.
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
…( openai_api_key = openai_key , model = 'gpt-4', temperature = 0.5 ) ``` To
generate
a response, call the `invoke()` method using the model object… the final response. The following script implements the method to
generate
the final response. ``` def generate_response(query): response = retrieval_chain.…
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
…will be passed to the `document_chain` to
generate
the final response. Since we already have…an input parameter and invokes the `retrieval_chain` to
generate
a model response. Inside the `generate_response_with_memory()` function…is passed to the `generate_response_with_memory()` function to
generate
a chatbot response. Here is the script …
Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace
Programming
Computer Science
2 Months Ago
by usmanmalik57
… query and database response to the Gemma LLM model to
generate
the final response. ### Importing Required libraries ``` !pip install -q … = tokenizer(final_query, return_tensors="pt").to(device) outputs = model.
generate
(**inputs, max_new_tokens = 500) final_response = tokenizer.decode(outputs[0], skip_special_tokens=True…
7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM
Programming
Computer Science
1 Month Ago
by usmanmalik57
…the encoded inputs to the `model.
generate
()` method. The model's response contains…;) model_inputs = encodeds.to(device) generated_ids = model.
generate
(model_inputs, max_new_tokens=response_tokens, temperature = temperature, do_sample=True…
PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit
Programming
Computer Science
2 Months Ago
by usmanmalik57
…;: 0, "top_p": 1, "top_k": 32 } def
generate
(img, prompt): input = img + [prompt] responses = model.generate_content( input,… libraries for the `main.py` file. ``` from geminiconnector import
generate
from vertexai.preview.generative_models import Part import streamlit as st…
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
2 Months Ago
by usmanmalik57
…(text, return_tensors="pt").to(device) outputs = model.
generate
(**inputs, max_new_tokens=1) prediction = tokenizer.decode(outputs[0], skip_special_tokens…tokenizer(text, return_tensors="pt").to(device) outputs = model.
generate
(**inputs, max_new_tokens=1) prediction = tokenizer.decode(outputs[0], skip_special_tokens…
Claude 3 Opus Vs. Google Gemini Vs. GPT-4 for Zero-Shot Text Classification
Programming
Computer Science
1 Month Ago
by usmanmalik57
… internally calls the `OpenAI.chat.completions.create()` method to
generate
a response for the input tweet. ``` client = OpenAI… so-called best, Claude 3 Opus. To
generate
text using Claude 3, you need to create…`message.create()` method from the Anthropic client to
generate
a response. The following script defines the `find_sentiment_claude…
"What are effective digital marketing strategies for small businesses?"
Digital Media
Digital Marketing
2 Months Ago
by madiha1407
… Engagement**: Utilize platforms to connect and drive traffic. **Content Marketing**:
Generate
valuable content to attract and inform. **Email Campaigns**: Build relationships…
Re: "What are effective digital marketing strategies for small businesses?"
Digital Media
Digital Marketing
2 Months Ago
by vyasgiannetti
… targeted ads on search engines and social media platforms can
generate
immediate traffic and leads. These strategies, when implemented effectively, can…
Is digital marketing effective for your business?
Digital Media
2 Months Ago
by renita_1
…. * The goal is to increase brand awareness, drive traffic, and
generate
leads or sales.
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
2 Months Ago
by usmanmalik57
…['bbox'][1], column['bbox'][2], row['bbox'][3]] return cell_bbox #
Generate
cell coordinates and count cells in each row cell_coordinates = [] for…
The Rise of AI Scams: Deciphering Reality in a World of Deepfakes
Community Center
2 Months Ago
by Johannes C.
… continue to make it difficult for the average user to
generate
funny pictures of celebrities, but they may not be sufficient…
How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by A_957
….', '### Instruction:\n{0}\n### Response:\n') as session: response = session.
generate
(user_input, temp=0) return response except Exception as e: logging…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by Dani
… to 250ms. That's how long it typically takes to
generate
the HTML from the PHP code *and* send it over… off 50ms, we're talking strictly about the time to
generate
the HTML from the PHP code, which I would guesstimate…
Re: Seeking Help for Creating a Circle Generator Tool
Programming
Game Development
2 Months Ago
by jackwells
…;10"> <button onclick="generateCircle()">
Generate
Circle</button> </div> <div id…
Re: A reliable way of detecting AI content?
Hardware and Software
Cloud-based Apps
1 Month Ago
by Reverend Jim
… how this will apply to individuals who use AI to
generate
, then post content? It's even more problematic in the…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by Reverend Jim
… up-to-date. The query optimizer relies on statistics to
generate
efficient execution plans. Outdated statistics can lead to suboptimal query…
Re: Improve HAVING BY performance
Programming
Databases
1 Month Ago
by Dani
…, with a serverside language, we have to interpret it to *
generate
* the HTML code before we can even start sending it…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC