artificial-intelligence Questions

6

I want to create an app that creates Midjourney images. The problem is that Midjourney doesn't provide an API, it works from Discord. How to automate the process of image generation without the nee...
Hirudin asked 9/1, 2023 at 11:19

1

I am developing a 2D top-down view game (more specifically, a Factorio mod rather than a stand-alone game). I need several models of buildings with simple animations indicating that they “do stuff”...
Letreece asked 9/4, 2023 at 19:6

6

I am designing a neural network and am trying to determine if I should write it in such a way that each neuron is its own 'process' in Erlang, or if I should just go with C++ and run a networ...

4

Solved

I am currently working on a chatbot, and as I am using Windows 11 it does not let me migrate to newer OpenAI library or downgrade it. Could I replace the ChatCompletion function with something else...
Sanative asked 17/11, 2023 at 23:9

6

Solved

Context: I am trying to query Llama-2 7B, taken from HuggingFace (meta-llama/Llama-2-7b-hf). I give it a question and context (I would guess anywhere from 200-1000 tokens), and ask it to answer the...

9

Solved

I've read about neural network a little while ago and I understand how an ANN (especially a multilayer perceptron that learns via backpropagation) can learn to classify an event as true or false. ...
Fatimafatimah asked 6/10, 2009 at 3:17

3

Solved

I was doing some research on training deep neural networks using tensorflow. I know how to train a model. My problem is i have to train the same model on 2 different computers with different datase...
Effendi asked 20/1, 2018 at 17:9

11

Solved

This is my first post and I am new to coding, so please let me know if you need more information. I have been running some AI to generate artwork and it has been working, but when I reloaded it the...

3

Solved

The program Eurisko was developed by Douglas Lenat in the late 70s and 80s. It's allegedly adept at learning general patterns and heuristics, and at improving it's own performance. Naturally, Lenat...
Lambrequin asked 26/3, 2010 at 14:52

3

Solved

I am trying build a small text mining tool for my android app. I am checking for a machine learning library that will allow me to cluster, classify etc. Are there any machine learning librar...

3

Solved

I recently started to follow along with Siraj Raval's Deep Learning tutorials on YouTube, but I an error came up when I tried to run my code. The code is from the second episode of his series, How ...
Unchancy asked 26/11, 2017 at 6:16

8

I'm working with LangChain to create a retrieval-based QA system. However, when I attempt to chain Runnables, I encounter a TypeError that I'm unable to resolve. The error occurs when I try to use ...
Ritch asked 9/11, 2023 at 10:29

7

Solved

Suppose I have a Tensorflow tensor. How do I get the dimensions (shape) of the tensor as integer values? I know there are two methods, tensor.get_shape() and tf.shape(tensor), but I can't get the s...
Chantellechanter asked 17/11, 2016 at 22:37

23

Solved

I found a lot of references to the AI of the ghosts in Pacman, but none of them mentioned how the eyes find their way back to the central ghost hole after a ghost is eaten by Pacman. In my i...
Tenebrific asked 30/6, 2010 at 10:43

3

Solved

I have this question in my mind for long but never got reasonable answer for that : Usually in artifitial intelligent course when it comes to search it is always said that BFS is optimal but...
Hypogenous asked 21/1, 2014 at 16:41

2

Solved

I have used an activation function that I have created on my own (not usually) and I used for my LSTM. Everything went well, I trained my model and saved it as .h5 file. Here is my customized act...
Calaboose asked 21/4, 2019 at 2:1

6

Solved

I'm using redis on an AI project. The idea is to have multiple environment simulators running policies on a lot of cpu cores. The simulators write experience (a list of state/action/reward tuples)...
Alti asked 23/3, 2019 at 6:58

4

Is there any way of getting sentence embeddings from meta-llama/Llama-2-13b-chat-hf from huggingface? Model link: https://huggingface.co/meta-llama/Llama-2-13b-chat-hf I tried using transfomer.Auto...

3

Solved

i'm planning to subs google colab pro to get better GPU memory when doing some research. But i was wondering if i exhaust my 100 compute units in the first day due to continues usage of GPU, can i ...

9

Solved

Like lots of you guys on SO, I often write in several languages. And when it comes to planning stuff, (or even answering some SO questions), I actually think and write in some unspecified hybrid la...

2

Studying AI and LangChain, and I was trying to make a conversational chatbot. So far so good, I managed to get feed it custom texts and it answers questions based on the text, but for some reason i...
Crispen asked 19/7, 2023 at 13:54

5

Solved

I'm designing a realtime strategy wargame where the AI will be responsible for controlling a large number of units (possibly 1000+) on a large hexagonal map. A unit has a number of action points w...
Wallboard asked 18/7, 2010 at 10:42

9

I want to create a text file that is essentially a dictionary, with each word being paired with its vector representation through word2vec. I'm assuming the process would be to first train word2vec...
Chrysolite asked 15/7, 2015 at 20:50

2

Solved

I am unable to understand the difference between the two. Though, I come to know that word_tokenize uses Penn-Treebank for tokenization purposes. But nothing on TweetTokenizer is available. For whi...
Saphena asked 20/5, 2020 at 17:53

2

Solved

I have three questions : Given count of LLM parameters in Billions, how can you figure how much GPU RAM do you need to run the model ? If you have enough CPU-RAM (i.e. no GPU) can you run the...

© 2022 - 2025 — McMap. All rights reserved.