Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
2-split
- Page 1
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
6 Days Ago
by usmanmalik57
…have text in the LangChain document format, you can
split
it using any LangChain splitter, create text embeddings, …handle large documents and prepare them for retrieval, we
split
them into smaller chunks using the LangChain `RecursiveCharacterTextSplitter`. …Arc de Triomphe) for a view of the city.
2
. Having a picnic near the Eiffel Tower with food…
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
4 Weeks Ago
by usmanmalik57
…-GPT Retrieval augmented generation (RAG) works in three steps. 1.
Split
and create embeddings for the documents containing the knowledge base… you want to search.
2
. Based on the user query, use similarity search to find…
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
…-Paris2024/ticket-prices.pdf") docs = loader.load_and_split() ``` We then
split
our PDF document and create embeddings for the different chunks… is at the same height as indoor volleyball (
2
.24m for women and
2
.43m for men). The game is contested by…
Re: Why does Dell hate Linux so much?
Hardware and Software
Linux and Unix
3 Weeks Ago
by mickeydoodle
I've just acquired a Dell laptop, it seems to hate Linux! Touch pad doesn't work properly, Wireless won't connect and it's sooo slow! Works fine with Windows!
Converting PDF Image to CSV Using Multimodal Google Gemini Pro
Programming
Computer Science
2 Months Ago
by usmanmalik57
…currency symbols and the decimal separators. ``` lines = full_response.strip().
split
('\n') def process_line(line): special_patterns = re.compile(r'\d+,\…: line = line.replace(match, temp_replacement, 1) parts = line.
split
(',') for i, part in enumerate(parts): if temp_replacement in part…
PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit
Programming
Computer Science
2 Months Ago
by usmanmalik57
…the decimal separators. ``` def process_line(line): lines = full_response.strip().
split
('\n') special_patterns = re.compile(r'\d+,\d+\s[€%]') temp_replacement = …line = line.replace(match, temp_replacement, 1) parts = line.
split
(',') for i, part in enumerate(parts): if temp_replacement in part…
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
1 Month Ago
by usmanmalik57
….TrainingArguments( per_device_train_batch_size=1, gradient_accumulation_steps=4, warmup_steps=
2
, max_steps=100, learning_rate=2e-4, fp16=True… prediction = tokenizer.decode(outputs[0], skip_special_tokens=True) prediction.
split
(" ")[-1] ``` **Output:** ``` positive ```…
Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace
Programming
Computer Science
1 Month Ago
by usmanmalik57
…containing external knowledge into a vector database.
2
. Convert the input query into corresponding vector…for the `gemma-2b-it` model, a
2
billion parameters instruction variant of Gemma. ``` model_name … MODEL") print("===================================") print(final_response.
split
("<end>")[1]) ``` **…
7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM
Programming
Computer Science
1 Month Ago
by usmanmalik57
…temperature, do_sample=True) decoded = tokenizer.batch_decode(generated_ids) return decoded[0].
split
("[/INST]")[1].rstrip("</s>"….png](https://static.daniweb.com/attachments/4/dde6bac6ebb29a1e02dcb63ac3f000c1.png) ##
2
. Text Summarization with Mistral 7b Let's now perform text…
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Reverend Jim
…>' pat = '<td>(.+?)</td>' then re.
split
(pat,html) returns ['<tr align="right">…;', '236', '', 'Roy', '', 'Allyson', ''] and re.
split
(pat,html)[1::
2
] will return only ['236', 'Roy', 'Allyson'] The expression `.+?` does…
Re: Extracting values from a regex match
Programming
Software Development
2 Months Ago
by Reverend Jim
…>' pat = '<td>(.+?)</td>' then re.
split
(pat,html) returns ['<tr align="right">…;', '236', '', 'Roy', '', 'Allyson', ''] and re.
split
(pat,html)[1::
2
] returns ['236', 'Roy', 'Allyson']
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Reverend Jim
….findall(pat,line)) I realized that findall is cleaner than
split
. You might want to have a look at [this regex…
Re: Fine-Tuning OpenAI Whisper Model for Audio Classification in PyTorch
Programming
Computer Science
2 Months Ago
by habi_2
how to use the best_model.pt
Re: Creating an intranet in Windows XP
Hardware and Software
Microsoft Windows
16 Years Ago
by John A
Split
.
Re: 2008 Warning in my code gethostbyname
Programming
Software Development
15 Years Ago
by Comatose
split
it by : ;)
Split test PPC Campaigns For Best ROI
Digital Media
Digital Marketing
Search Engine Strategies
8 Years Ago
by SmartMoneyFinan
… is a crucial part of Marketing. In fact without
split
testing your campaigns against each other you could be leaving…able to increase conversions by over 100% You can
split
test different offers or just different landing pages for the… same offer. Also
split
testing which keywords perform best. So start
split
testing today if you aren't…
Re: VBA Select and Split not working
Programming
Software Development
12 Years Ago
by BitBlt
Split
returns an array, so you have to reference your variable as an array. So, for example, if you reference avarSplit(0) you will get the first element in the array, avarSplit(1) will get you the second, etc.
Split Column by Pipe In Ms Sql
Programming
Databases
9 Years Ago
by jotungiya
Split
pipe delimited into new columns as below : col1 col2 col3 … tune 5 Data|| Data check http://stackoverflow.com/questions/19688863/
split
-pipe-delimited-into-new-columns
[split] c++ program for who wants to be a millionaire
Programming
Software Development
14 Years Ago
by fruymercado
[
split
from [url]http://www.daniweb.com/forums/post1162537.html#post1162537][/…
Re: Split Session values
Programming
Web Development
8 Years Ago
by broj1
Split
on what condition? Give an example of a session variable you have and how would you like to have it
split
.
Re: Split document an count words
Programming
8 Years Ago
by woooee
split
() on <doc> first and then process each item separately in the returned list.
Re: Data() = Split(buffer, ",") what is that?
Programming
Software Development
15 Years Ago
by Teme64
Split
function splits a string to substrings. Second argument is substring separator. For example[CODE=VB.NET] Dim Data() As String Data =
Split
("Comma,separated,values)", ",") 'Data(0) is "Comma" 'Data(1) is "separated" 'Data(
2
) is "values"[/CODE]
Re: String split help
Programming
Software Development
13 Years Ago
by kvprajapati
Split
() method return an array of string. [code] Dim w() as string = s.
Split
(" ") [/code]
Re: Deprecated: Function split() is deprecated
Programming
Web Development
11 Years Ago
by diafol
split
- use explode() instead: $toArr = explode(',', $to);
Re: Deprecated: Function split() is deprecated
Programming
Web Development
11 Years Ago
by hwoarang69
>
split
- use explode() instead: > > $toArr = explode(',', $to); i had a old verson. i just update to new verson. also changed $mail->IsHTML(true); $mail->Body = $body; just fixed all the errors. its all working fine. i get messeage saying worked. but the email is not being sent.
Re: Yet another ATM post (split from the dead)
Programming
Software Development
17 Years Ago
by Salem
Split
from the dead thread [url]http://www.daniweb.com/techtalkforums/thread52372.html[/url] Also, read this [url]http://www.daniweb.com/techtalkforums/announcement8-
2
.html[/url]
Re: what is the meaning of
Programming
Web Development
11 Years Ago
by pritaeas
Split
a string into an array,
split
at every one or more whitespace. See [the manual](http://php.net/preg_split).
i need my python code to be changed in java
Programming
Computer Science
6 Years Ago
by omprakash_1
…= to_terminal(right) else: node['right'] = get_split(right)
split
(node['right'], max_depth, min_size, depth+1) # Build a…('%s[%s]' % ((depth*' ', node))) dataset = [[
2
.771244718,1.784783929,0], [1.728571309,1.169761413,0], …[3.678319846,
2
.81281357,0], [3.961043357,
2
.61995032,0], [
2
.999208922,
2
.209014212,0], [7…
Cannot find server - Microsoft internet Explorer
Hardware and Software
Information Security
19 Years Ago
by ED5715
{
Split
from thread http://www.daniweb.com/techtalkforums/thread20430.html} I…FIREWALL\CPD.EXE C:\PROGRAM FILES\COMMON FILES\AOL\TOPSPEED\
2
.0\AOLTSMON.EXE C:\WINDOWS\SYSTEM\MSTASK.EXE C:\…\..\RunServices: [AOL TopSpeedMonitor] C:\Program Files\Common Files\AOL\TopSpeed\
2
.0\aoltsmon.exe O4 - HKLM\..\RunServices: [SchedulingAgent] mstask.exe …
Hacked or what??
Hardware and Software
Information Security
18 Years Ago
by grams79
(
Split
from thread [url]http://www.daniweb.com/techtalkforums/thread29019-1.html[/url]) Hello gentlemen, Same has happend to me... Norton Internet Secureity 2003: Intrution Detection (option) is locked in OFF mode When “Turn On
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
Meet People
Forums
Top Members
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