Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
inputs
- Page 1
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
3 Days Ago
by usmanmalik57
… `while` loop that asks users to enter queries as console
inputs
. If the input contains the string `bye`, we empty the…
Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace
Programming
Computer Science
4 Weeks Ago
by usmanmalik57
….\n{response}. <end>""" print(final_query)
inputs
= 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
2 Weeks Ago
by usmanmalik57
… format using the `tokenizer.apply_chat_template()` method, and pass the encoded
inputs
to the `model.generate()` method. The model's response contains…
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
1 Month Ago
by usmanmalik57
…text, return_tensors="pt").to(device) outputs = model.generate(**
inputs
, max_new_tokens=10) print(tokenizer.decode(outputs[0], skip_special_tokens=True)) ```…text, return_tensors="pt").to(device) outputs = model.generate(**
inputs
, max_new_tokens=1) prediction = tokenizer.decode(outputs[0], skip_special_tokens=True)…
TensorFlow Keras Sequence Data Generator for Multimodal Classification
Programming
Computer Science
2 Months Ago
by usmanmalik57
…problem with images and corresponding texts as
inputs
. We will train a Keras model that… TensorFlow Keras Multimodal Classifier ## We have two
inputs
to our model: text features and image features…='softmax')(x) # Create the model model = Model(
inputs
=[input_ids, attention_mask, image_input], outputs=final_output) adam_optimizer = Adam…
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
1 Month Ago
by usmanmalik57
… output. ``` def detect_table(image_doc): # preproces image document
inputs
= image_processor(images = image_doc, return_tensors="pt") … def get_table_features(cropped_image): # preprocess image input for table transformer
inputs
= image_processor(images = cropped_image, return_tensors="pt") …
Multivariate Stock Price Prediction with Transformer Encoder in TensorFlow
Programming
Computer Science
2 Months Ago
by usmanmalik57
… features dataframe, the training labels, and the sequence length as
inputs
and returns two arrays: `X` and `y'. `X` is an… = Dense(1, activation='linear')(dense_2) # Create the model model = Model(
inputs
=input_layer, outputs=output_layer) # Compile the model model.compile(loss='mean_squared_error…
Converting PDF Image to CSV Using Multimodal Google Gemini Pro
Programming
Computer Science
2 Months Ago
by usmanmalik57
… of the input. You can provide both text and image
inputs
in this list. **generation_config:** A dictionary containing the generation parameters…
PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit
Programming
Computer Science
1 Month Ago
by usmanmalik57
… and can solve highly complex tasks requiring image and text
inputs
.
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
class module..for automata...
Programming
Software Development
14 Years Ago
by saphireina
Inputs
are 0 and 1, create a Deterministic Finite-state Machine class that accepts NONE or EVEN number of zeros and having an input of 1 does not change its current state..... pls..help me...its for my final project.... pls...i really need help!!!.. thnx guys!!!
convert lower case letters to uppercase and vice-versa
Programming
Software Development
13 Years Ago
by AmerJamil
inputs
a string from the user and coverts all the capital …
Re: My text game's errors
Programming
Software Development
14 Years Ago
by woooee
…raw_input, so the code would be [CODE] if
inputs
[0].lower() == 'monster: ## or test =
inputs
[0].lower() if test == 'attack': actions.…enemy, player, menus) elif test == 'equip': actions.equip(player,
inputs
[1]) ##
inputs
[1] will not exist elif test == 'monster': print_monster_stats(enemy) [/CODE…
Re: How to display data into radio but
Programming
Web Development
4 Years Ago
by AndrisP
Inputs
should be inside form.
Inputs
with similar names should be pass as array. <input type="checkbox" name="name[]" value="<?php echo $name;?>" /><?php echo $name;?>
Re: Else If statement
Programming
Software Development
16 Years Ago
by upstream
inputs
need to be in a try..catch, format: try { [I]…
Re: PHP understanding problem
Programming
Web Development
11 Years Ago
by jady789
Inputs
are: Position // It should work as when the user types …
Re: Can't figure out how to format questions in Tkinter
Programming
Software Development
9 Years Ago
by vegaseat
Inputs
can be handled by the Entry() widget and bound the return key. For an example see: http://www.daniweb.com/software-development/python/code/216577/parallel-resistance-calculator-gui-python
Inputs - splitting of database - SQL Server 2005
Programming
Databases
12 Years Ago
by skumar_nasa
… multiple database with synonyms 3. multiple instance multiple database Need
inputs
on the below queries: Which best method we can go…
Re: Inputs - splitting of database - SQL Server 2005
Programming
Databases
12 Years Ago
by skumar_nasa
… objects). This is what we are trying to do Need
inputs
on the below queries: Which best method we can go…
Multiple operations from 2 inputs.
Programming
Software Development
17 Years Ago
by Lunaticrr
…Another stump. This time I have to recieve two
inputs
from the user and perform a few math operations using… both those two
inputs
. Meaning I have [B]String a, b;[/B]… for my two user
inputs
. Is it possible to get all 4 of my …6 more String variables and recieve 6 more
inputs
, to a total of 8…
Re: Multiple operations from 2 inputs.
Programming
Software Development
17 Years Ago
by iamthwee
…stump. This time I have to recieve two
inputs
from the user and perform a few math …operations using both those two
inputs
. Meaning I have [B]String a, b;[/…B] for my two user
inputs
. Is it possible to get all 4 of …String variables and recieve 6 more
inputs
, to a total of 8
inputs
from the user.[/QUOTE] Depends…
Returning any number of inputs in reverse
Programming
Software Development
14 Years Ago
by EvanRG
… to go about allowing the user to input as many
inputs
as they want, then when they stop the program will… print all
inputs
in reverse. The reverse part is easy, and declaring and… user how many arguments they would like to input. - If
inputs
less than 1, tell user that their request cannot be…
Submit inputs values using normal button(type !=submit), how to keep and clear values
Programming
Web Development
13 Years Ago
by Moderns
… my form, I have 3
inputs
(one textarea and two text
inputs
), I am validating their value …it must enter the value of those three
inputs
in my database in case they are true… then all
inputs
values must be cleared. In case AJAX … in case ajax returns error. I can clear
inputs
from Javascript, but it will be cleared on…
add new inputs but saving the other
Programming
Web Development
11 Years Ago
by titosd
… but not 100% I want to add the
inputs
when a user select a value from select.…thing. I want to add number of hidden
inputs
when the user select value from the first select… value i want to add another
inputs
, and to save the
inputs
that added it in the first …quot;2", i want to add 2 hidden
inputs
<select id"s2"> <…
Re: Multiple operations from 2 inputs.
Programming
Software Development
17 Years Ago
by iamthwee
[QUOTE=Lunaticrr]Not really. The user
inputs
2 numbers, but the program automatically does all four operations, … I have 4 int variables and to convert the String
inputs
into int data and then used from there by the… need to go back to basics. [CODE]PLEASE ENTER TWO
INPUTS
?A:B PRINT A+B PRINT A-B PRINT A…
Invoking a shell script which expects user inputs
Programming
Software Development
14 Years Ago
by Rahul1123
…script from python. This shell script while running expects user
inputs
based on which it proceeds to perform several actions. …I want to automate the process of sending the user
inputs
(may be from a file) I am using the …and then the Popen.communicate method to pass the user
inputs
. The communicate method only passes the first input and …
JavaScript Control of Form Inputs
Programming
Web Development
13 Years Ago
by terrymold
… again I have an HTML form with three groups of
inputs
. These
inputs
are all text. Group 1 has 1 input, group… 2 has one input, and group 3 has 3
inputs
. What I would like to do is this... If a… user
inputs
any data into a particular group input, then entry to…
Multiple Inputs...
Programming
Software Development
12 Years Ago
by MrAppleseed
…quot;Command Prompt") there is no definitive number of
inputs
that you can input, for instance; you can either… of solving this problem, is by either writing all
inputs
to a text file, reading them, _then_ processing them…. Or somehow splitting the
inputs
into tokens, and _then_ processing them. But I feel …
How: Save multiple texbox inputs and load back?
Programming
8 Years Ago
by carlcsolis
…] -> result form. I know how to display all combined
inputs
on all textboxes on the result form; [code] result.Show… and would like to continue later, can we save all
inputs
from all textboxes into ONE save file and open it… be displayed in their respective textbox for future use? Save
inputs
and load
inputs
back to their own textboxes? Thanks.
Re: Multiple operations from 2 inputs.
Programming
Software Development
17 Years Ago
by Lunaticrr
Not really. The user
inputs
2 numbers, but the program automatically does all four operations, no choice given and prints it out for the user. I can't figure out how that is to be done, since I have 4 int variables and to convert the String
inputs
into int data and then used from there by the math functions.
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