Replies: 29 comments 9 replies
-
HI, What are the specs of your computer? Also, what is your operating system+version, python version, and Numpy version? |
Beta Was this translation helpful? Give feedback.
-
Hi, I use Ubuntu Linux 22.04, from pip install numpy Python 3.10.6 EDIT: |
Beta Was this translation helpful? Give feedback.
-
Ok. So you seem to be doing both set up procedures, when you need to only do 1. You need either Docker or Pip setup. Try running a these commands (for a docker CPU setup) and please report back what happens:
|
Beta Was this translation helpful? Give feedback.
-
It works. I get a root prompt inside the docker after running it but i don't know what i'm supposed to do once there ? Do i have to put my python file in the Dockerfile or should i set a docker port to use in the quickai API ? Thx for your advice and your time. BR, |
Beta Was this translation helpful? Give feedback.
-
Perfect! So you should get your python file and dataset inside the docker container(see below). The docker container is self contained, and should have all the dependencies in it. Once you put the data and python file in docker container, you execute the python script from that bash prompt. If I remember correctly, within the docker container, there is a path you can access local files from. Try running the container with the -v flag. Then, the file and data should be at the path inside container.
|
Beta Was this translation helpful? Give feedback.
-
Any ideas ?. |
Beta Was this translation helpful? Give feedback.
-
Hmm that's strange. Can you try running |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I already tried to install quickai in the image but it returned me an error. |
Beta Was this translation helpful? Give feedback.
-
Try running |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Try pip3 list also what error do you get when you try pip/pip3 install quickai? |
Beta Was this translation helpful? Give feedback.
-
Sorry, the pip install quickai works but my program raise an error :
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
pip3 install opencv-python |
Beta Was this translation helpful? Give feedback.
-
Ok, thx, next error :
|
Beta Was this translation helpful? Give feedback.
-
try |
Beta Was this translation helpful? Give feedback.
-
Thx, next error :
|
Beta Was this translation helpful? Give feedback.
-
pip3 install easydict |
Beta Was this translation helpful? Give feedback.
-
Ok and next and perhaprs last :
|
Beta Was this translation helpful? Give feedback.
-
Note: Even if you are not using YOLO, you will still need a file in your current working directory called coco.names. If you are not using YOLO, this file can be empty. |
Beta Was this translation helpful? Give feedback.
-
The issues that you had with the Docker dependencies is strange... The Dockerfile in the repo has all the modules listed as dependencies. |
Beta Was this translation helpful? Give feedback.
-
Thx for your help, i'm trying now to understand if the IA can give me an complete answer to my question regarding the prompt that contains a list of questions and answers. |
Beta Was this translation helpful? Give feedback.
-
No problem! Also, just a heads up, without GPU any language task will take a very very long time. |
Beta Was this translation helpful? Give feedback.
-
Does it understand french ? Or is there some limitations on other language than english ? |
Beta Was this translation helpful? Give feedback.
-
Ok i found this page : huggingface It seems it links different files to download. Can i use all of them for q_and_a ? Where should i install them ? BR, |
Beta Was this translation helpful? Give feedback.
-
You don't need to download any of them. Find one that supports French and use it by passing it(in huggingface format) as model_name parm to function q_and_a. |
Beta Was this translation helpful? Give feedback.
-
Ok, i have found one model that give relatively good result but the answer are very short ... I use : "etalab-ia/camembert-base-squadFR-fquad-piaf" Is it possible to ask for elaborate answers with quickai ? Thx for your help, i could not get here without your help ! |
Beta Was this translation helpful? Give feedback.
-
Hmm. That's a great idea actually. Right now, there is no functionality built in for that, but if you want something you can edit the source code of the q_and_a function. In the nlp call, set max_length equal to how many tokens you want. I know it's a crude solution. I'll consider implementing this in the future. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Thx for all this work. It is impressive !
I'm new to AI and I'm eager to make it work and try to converse with the AI using quickai.
I hope you can help me.
I've this python code:
Also it's not clear to me what i have to do to install gptneo.
I git clone quickai and run
All seems ok
I get the docker :
I run it using the given command :
docker run -it ufoym/deepo:cpu bash
when i ran the other option :
and run my python script and get this message :
I tried to build the docker image but i ran into errors :
I'm probably doing something wrong ... Can you help me ?
BR,
Laurent
Beta Was this translation helpful? Give feedback.
All reactions