All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
6 views

can Ai be used to market cultural festivals in Nigeria

Cultural festivals has Cultural festivals are celebrations that showcase and honor the traditions, customs, and heritage of a particular culture or community. They often involve music, dance, food, ...
Favour Okorie's user avatar
-1 votes
0 answers
7 views

What would your suggestion be on how to learn for and get into ai market. Ideally, I want to develop AI powered cool and fun apps/websites/games

I am currently working on my own website built on Shopify. My background is mainly as a Product Analyst but I have brushed upon other options too due to my jobs. I am gradually realizing that coding ...
Prerit Khanna's user avatar
0 votes
0 answers
4 views

Is the `id` returned by Azure OpenAI GPT model sensitive, or can I share it publicly without any issue?

When I call an Azure OpenAI GPT model e.g.: #Note: This code sample requires OpenAI Python library version 1.0.0 or higher. import json import pprint from openai import AzureOpenAI client = ...
Franck Dernoncourt's user avatar
-1 votes
0 answers
10 views

What's the most universally compatible structure for storing audio recording datasets for voice cloning?

I would like to know the best way to store a voice actor's voice for reuse with multiple platforms. Let's say I record my voice to be cloned, or pay a voice actor to narrate for the purpose of using ...
Mentalist's user avatar
1 vote
0 answers
37 views

Ollama GPU Support

I've just installed Ollama in my system and chatted with it a little. Unfortunately, the response time is very slow even for lightweight models like tinyllama. It seems that Ollama is in CPU-only mode ...
Jeron Baffom's user avatar
0 votes
0 answers
8 views

What's the max latency for OpenAI models accessed via Azure with provisioned throughput units?

I'm currently using pay-as-you-go on Azure OpenAI and I'm curious to see how switching to provisioned throughput units would improve the latency. I read: Predictable performance: stable max latency ...
Franck Dernoncourt's user avatar
0 votes
0 answers
8 views

How to Supplement Google Assistant's/Bards "Hey Google" with my own private questions?

How can I add my own personal questions and get answers for it when I say "Hey Google" on my android phone ? e.g (If my wife prefers purple sweet potato, How can I train Google Assistant to ...
Vyas Senthil's user avatar
0 votes
0 answers
20 views

Issues driving GPT Builder input from an uploaded file

I have created a custom-GPT using OpenAI's GPT Builder. It is a pretty simple GPT that accepts an entity name and location and it tries to find the homepage URL. Real basic stuff. The stuff works ...
GenAI Philic's user avatar
0 votes
0 answers
7 views

Embedding prompt engineering suggestions needed. text-embedding-3-large, zero-shot classification

Model: text-embedding-3-large dimensions: 2048 I want to zeroshot classify Amazon products and which amazon domain you are most likely to find them in. For the domains, let's imagine I'm using .com, ...
FAD's user avatar
  • 1
2 votes
1 answer
40 views

How to upscale 500px x 500px to 20k px x 20k px?

I have many low resolution images around 500px, and I want to upscale them to 20k px x 20k px. (Basically, I want to print 300 DPI on 2 meter x 2 meter post). I tried to use "extra" in ...
Jill Clover's user avatar
-1 votes
1 answer
54 views

How to get ChatGPT to create photo realistic images?

I am trying to create photorealistic images in chatGPT however it always seems to give me more hype real cartoons than Photos. I have tried the below prompts: Photorealistic, realism, photoshoot, ...
MintBerryCRUNCH's user avatar
0 votes
0 answers
27 views

How best can I explain the professional ethics of GenAI to students?

Recently, a decision was made to allow the removal of AI-generated content in response to a letter from Moderators at Stack Exchange. This type of AI-generated content is increasingly used in response ...
William Ledbetter's user avatar
1 vote
0 answers
242 views

How to set ollama temperature from command line

I can run prompts from the command line like so: ollama run mixtral:latest 'Why is the sky blue?' But how do I change the temperature? I know that in the interactive mode (the REPL), I can run /set ...
Jo Liss's user avatar
  • 111
1 vote
0 answers
37 views

Is there a genAI which can describe an input image in Chinese?

I'm looking for a genAI where you input an image, and tell it to 看图写话 (look at the image and write), and it describes the image, i.e., image-to-text. I'd like to use it for language practice. I found ...
Rebecca J. Stones's user avatar
3 votes
1 answer
317 views

How to get access to use Sora?

OpenAI Sora was just publicly announced. I would like to try it, but I cannot seem to find a way to access it. How can one get access to use Sora?
holydragon's user avatar
0 votes
0 answers
8 views

N Requests made to a GPU instance that is always on

I was wondering if I could use ollama with any of their models on a GPU provider and get billed only for its usage ? Like I want my website which would be on digitalocean or the like, but the AI calls ...
anjanesh's user avatar
  • 101
-1 votes
0 answers
22 views

Adding inline links in LLM response

Background Bing Copilot's response is partially clickable. That means, some sentences are links. I'd like to have this feature in my LLM. In this discussion, it is recommended to lookup the source ...
Michael's user avatar
  • 99
-4 votes
0 answers
33 views

In which language most popular apps are written in? like youtube android app [closed]

I just wonder in which programming app, some of the most popular android apps are written?
azizmati's user avatar
0 votes
0 answers
23 views

find the speaker type from a conversation

I have a data frame in Python with two columns: speaker, text 1, 'Can I ask what is your experience' 2, 'I am John and I have worked in IT for several years and I am proficient in SQL' 2, 'What is SQL ...
mans's user avatar
  • 109
0 votes
0 answers
31 views

How to force LLM to output a variable list of items (such as strings)?

I want the output of an LLM to be a list of strings, that I can reliably parse to a Python list of strings. What prompt or completion generation framework should I use?
Elijas Dapšauskas's user avatar
0 votes
0 answers
12 views

Leonardo side view problem

I want to ask anyone if they encountered this problem. Whatever I do, it always generate character, that is facing the camera, meaning from the front view. I want to make 2d character from sideview. ...
Becko's user avatar
  • 1
0 votes
0 answers
16 views

What's the difference between "Tokens per Minute Rate Limit (thousands)" and "Rate limit (Tokens per minute)" in Azure OpenAI?

I deployed GPT-4V on Azure OpenAI. I see: Tokens per Minute Rate Limit (thousands): 10 Rate limit (Tokens per minute): 30000 What's the difference between "Tokens per Minute Rate Limit (...
Franck Dernoncourt's user avatar
0 votes
1 answer
35 views

What are these instructions in Chat GPT model_comparisons.json

In my free ChatGPT 3.5 account I requested my data, it was sent to me the next day in a zip folder, one of the files is called model_comparisons.json. I cant paste the whole file since it has lots of ...
sammy's user avatar
  • 1
-2 votes
1 answer
122 views

BadRequestError: Error code: 400 - {'error': {'message': 'Invalid file format. Line 1, key "messages": ...one message must be from the assistant ...}}

I follow OpenAI Capabilities - Fine-tuning. This is myfile.jsonl: {"messages": [{"role": "system", "content": "You are a chatbot that wants to help ...
questionto42's user avatar
0 votes
0 answers
21 views

Cannot find a prompt to generate a quiz in CSV format

I want to generate quizzes and obtain the output in CSV format using llama2. I want to obtain something like this: 1;What is the primary function of the mitochondria in a cell?;a) To synthesize ...
Duck's user avatar
  • 101
0 votes
1 answer
52 views

How can I open a licensed GPT chat like on https://chat.openai.com/ on my own user if I have an API key that is not from my user?

I can already ask questions against GPT4 with an API key that I got from a group license, see a question on my first tests at Stack Overflow How do I run a GPT API shell command in Jupyter Notebook ...
questionto42's user avatar
1 vote
0 answers
12 views

control styles in the text to image generation algorithm

I am looking at the text to image generation code from sdxl. huggingface lcm-lra-sdxl Let's take the code from there import torch from diffusers import LCMScheduler, AutoPipelineForText2Image ...
Shruti's user avatar
  • 11
0 votes
0 answers
49 views

Pre-Placing Specific Images onto Objects in a Generated Image with ComfyUI

With ComfyUI, what technique should I use to embed a predetermined image into an image that is yet to be generated? For example, I want to create an image of a person wearing a t-shirt, and I need ...
haxpanel's user avatar
  • 101
1 vote
1 answer
62 views

Do LLMs also support weight modification like image generators?

For instance, using "(n:2.0)" on a image generator prompt causes it to prioritize that thing on generation. Is this supportes on LLMs as well?
Poseidon of Milos's user avatar
0 votes
1 answer
66 views

Architectures of LLMs

What does the architecture of a LLM look like? Which part stores the enormous parameters? I know the transformer model, but I don’t know how to scale it sensibly as LLMs do.
Zirui Wang's user avatar
0 votes
0 answers
19 views

Freezing layers for finetuning

So i'm planning to fine tune a 7b parameter model for a research project. I understand the different steps of model fine tuning, namely Supervised fine tuning - where we train model on curated ...
kaiser's user avatar
  • 101
0 votes
0 answers
31 views

Video-to-video with custom model to achieve a kind of « mise en abîme »

I’m new to generative AI but want to learn. I have a good experience in graphic techniques and softwares - especially 3D (Blender) and After Effects. I have also coding skills; so I guess I could ...
gordie's user avatar
  • 101
2 votes
1 answer
57 views

How to fine tune custom gpt 3.5 on conversations?

As far as i know, i only can train based on Q&A, like this: {"prompt": "<prompt text>", "completion": "<ideal generated text>"} How can i train ...
user3065's user avatar
0 votes
0 answers
30 views

Gemini Pro API's response ommits the "text" field when I ask to translate a document

I integrate Gemini Pro into one of our internal tools to allow users to "ask" the documents in our database. It all worked fine until I was conducting some tests today and noticed that the ...
ahmed's user avatar
  • 101
0 votes
0 answers
35 views

How to populate labels for dataset preprocessing before LLM fine tuning?

I am using vicgalle/alpaca-gpt4 dataset to fine tune a LLM. I am trying to figure out how to tokenize the dataset's output column into labels within a dataset preprocessor. Please see the below ...
Intrastellar Explorer's user avatar
1 vote
0 answers
22 views

What could I do to further reduce my finetuning time of 67 hours with the following configuration?

I am taking a large text dataset and fitting them into 19k rows. Each row is exactly 4096 tokens (not characters), which is the maximum context length of llama 2 7B. GPU: 80GB My other configurations ...
Maximos's user avatar
  • 43
3 votes
1 answer
44 views

Match LLM output to fixed ontology

We have a certain fixed vocabulary or ontology and would like to match the output of a LLM to this vocabulary. The LLM output could be either a single term, a list of terms, or free form text. For ...
jdm's user avatar
  • 131
3 votes
1 answer
174 views

What is the difference between in-context learning and few-shot prompting?

In-context learning is a prompt engineering technique where natural-language demonstrations are provided as part of the prompt (source). Few-shot prompting is about providing a few examples in the ...
Intrastellar Explorer's user avatar
0 votes
0 answers
11 views

how to load distcp checkpoint files?

I have fintuned full aparmeters of mistral 7-b model, and i have used FDSP in HF accelerate I have a checkpoint which is place in a folder pytorch_model_0, which contains multiple distcp files. how ...
Mustafa Alahmid's user avatar
3 votes
1 answer
50 views

What is the efficient way to tokenize a long string?

I have a really long string. How can I efficiently identify the boundaries of a fixed token length in the text? For example: text = "Quick silver brown fox jumped over the hedge" ...
Maximos's user avatar
  • 43
0 votes
0 answers
39 views

How to make the character interact with the scene's background?

I want to decorate a children's book so i'm trying to get my character to do all kinds of things with a background generated with the AI tool. but I cannot get the tool to do what I want I have the ...
Ricky Levi's user avatar
1 vote
2 answers
43 views

How to create a vector field in Dall-E 3?

I want to create an image that looks like below. After failed attempts at my own description, I used chatgpt to generate a prompt for me: The image is a simple two-dimensional drawing featuring a ...
mindlessgreen's user avatar
1 vote
1 answer
87 views

Which techstack and IDE are good to set up a RAG model? (=Retrieval-augmented generation models jointly fine-tune DPR and sequence-to-sequence models)

I'm new to this and would like to know the techstack to finetune an LLM and the techstack to create a RAG system. A good overview with the full code to set it up is at Huggingface - Transformers - RAG:...
okayytrish's user avatar
0 votes
0 answers
17 views

How to include browsing and web search in a prompt with few shot examples for ChatGPT?

I'm including few shot examples for a custom GPT with Web Browsing enabled. I would like ChatGPT to browse all user provided links before answering. What keywords should I include in the few shot ...
Mark Horvath's user avatar
3 votes
0 answers
135 views

Prompt for generating two characters in the same scene

There's a core issue with the AI tools that i'm having trouble with. I generated my characters as I wanted, but then trying to combine them in a single image is very hard. Character one: https://cdn....
Ricky Levi's user avatar
2 votes
1 answer
61 views

Enhancing workflow with ChatGPT [closed]

I am using ChatGPT for writing texts and code (I am a software developer), and I'm keen to enhance this process. Could you recommend some resources that cover: ChatGPT automation techniques ...
kharandziuk's user avatar
0 votes
0 answers
27 views

Parallelised GPU training

When training/fine-tuning an LLM model it is necessary to have huge GPU resources (VRAM), as such I was wondering if there was a way in Linux to pool GPU resources if I have, say, 5 separate computers ...
mya205's user avatar
  • 9
3 votes
2 answers
126 views

Why the Llama 2 language model keeps printing random garbage text when certain prompts are used?

On the website https://llama2.ai/ you can test the llama 2 model. But when I ask certain questions (or with some prompts) it sometimes prints random nonsense text. I tried reducing the "...
Poseidon of Milos's user avatar
2 votes
2 answers
89 views

How does corpus size affect an LLM? Would one trained on just a book still be able to grasp the whole language?

I'm trying to understand how various factors affect LLMs. Specifically the size of the dataset they're trained on. What would be the main difference between: A regular LLM (like ChatGPT) that's ...
laggingreflex's user avatar
1 vote
0 answers
278 views

GPU vRAM minimum requirements for multiple GPUs running a 70B Llama 2 model at 4 bits

Backround I would like to run a 70B LLama 2 instance locally (not train, just run). Naively this requires 140GB VRam. Quantized to 4 bits this is roughly 35GB (on HF it's actually as low as 32GB). I'd ...
RabidMutant's user avatar

15 30 50 per page
1
2 3 4 5