Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts by Franck Dernoncourt‭

21 posts
66%
+2 −0
Q&A Why does Azure Command-Line Interface (CLI) list no groups and no resources in my Azure account?

I have several resource groups and instances in my Azure account. Yet, the Azure Command-Line Interface (CLI) lists no groups and no resources in my Azure account: franck [ ~ ]$ az group list [] ...

1 answer  ·  posted 29d ago by Franck Dernoncourt‭  ·  edited 28d ago by Franck Dernoncourt‭

Question azure
66%
+2 −0
Q&A How can I resolve the 403 Forbidden error when deploying a fine-tuned GPT model in Azure via Python?

I follow Azure's tutorial on fine-tuning GPT. I'm stuck at the deployment phase. Code: # Deploy fine-tuned model import json import requests token = '[redacted]' subscription = '[redacted...

0 answers  ·  posted 29d ago by Franck Dernoncourt‭

Question python azure
66%
+2 −0
Q&A Does the Rate limit (Tokens per minute) of an Azure OpenAI instance corresponds to the input tokens, the output tokens or the sum of both?

Does the Rate limit (Tokens per minute) of an Azure OpenAI instance corresponds to the input tokens, the output tokens or the sum of both? Crossposted at: https://serverfault.com/q/1176440/...

1 answer  ·  posted 28d ago by Franck Dernoncourt‭  ·  edited 28d ago by Franck Dernoncourt‭

Question azure azure-cognitive-services
66%
+2 −0
Q&A Why are model_q4.onnx and model_q4f16.onnx not 4 times smaller than model.onnx?

I see on https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct/tree/main/onnx: File Name Size model.onnx 654 MB model_fp16.onnx 327 MB model_q4.onnx 200 MB m...

1 answer  ·  posted 5mo ago by Franck Dernoncourt‭  ·  last activity 5mo ago by Derek Elkins‭

Question machine-learning onnx quantization language-model
60%
+1 −0
Q&A When I write and run a prompt in Cursor IDE, what's passed in the context to the model (GPT/Claude/etc.)?

https://gist.github.com/sshh12/25ad2e40529b269a88b80e7cf1c38084 extracted the entire prompt for Cursor IDE: You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operat...

posted 1d ago by Franck Dernoncourt‭

Answer
60%
+1 −0
Q&A Which model is Cursor IDE using when I specify a random model name?

Example: I specify a random model name some random name: Then I call it: Which model is Cursor IDE using when I specify a random model name? Cross-posted: https://stackoverflow.com/q/79...

0 answers  ·  posted 23d ago by Franck Dernoncourt‭  ·  edited 23d ago by Franck Dernoncourt‭

Question cursor-ai
60%
+1 −0
Q&A How can I export an encoder-decoder PyTorch model into a single ONNX file?

I converted the PyTorch model Helsinki-NLP/opus-mt-fr-en (HuggingFace), which is an encoder-decoder model for machine translation, to ONNX using this script: import os from optimum.onnxruntime im...

0 answers  ·  posted 1d ago by Franck Dernoncourt‭  ·  edited 5h ago by Franck Dernoncourt‭

Question python onnx pytorch machine-translation
60%
+1 −0
Q&A When I write and run a prompt in Cursor IDE, what's passed in the context to the model (GPT/Claude/etc.)?

When I write and execute a prompt in Cursor IDE, what specific information is included in the context that gets sent to the underlying language model (such as GPT or Claude)? E.g., does it include ...

1 answer  ·  posted 17d ago by Franck Dernoncourt‭  ·  last activity 1d ago by Franck Dernoncourt‭

Question cursor-ai
57%
+2 −1
Q&A How shall I refer to the documents and the context in the prompt when using the Azure RAG-QA framework?

I use Azure OpenAI RAG-QA (aka "bring our data"): which I call via e.g.: import os import pprint from openai import AzureOpenAI #from azure.identity import DefaultAzureCredential, get_bear...

0 answers  ·  posted 29d ago by Franck Dernoncourt‭  ·  edited 28d ago by Franck Dernoncourt‭

Question azure azure-cognitive-services
57%
+2 −1
Q&A "google.auth.exceptions.RefreshError: Reauthentication is needed.": How can I extend the authentication time?

I use Gemini via CLI via Google Vertex AI. I keep getting google.auth.exceptions.RefreshError: Reauthentication is needed. Please run gcloud auth application-default login to reauthenticate. ...

0 answers  ·  posted 9d ago by Franck Dernoncourt‭  ·  last activity 5d ago by Alexei‭

Question google-cloud-platform
50%
+0 −0
Q&A "This model is not available on the selected Azure OpenAI Service resource." error, but I think it is. Why did I miss?

I've given up on that Azure UI, here's the Python code to do it. It requires a token generated via az account get-access-token. import json import requests new_capacity = 3 # Change this numbe...

posted 2h ago by Franck Dernoncourt‭

Answer
50%
+0 −0
Meta What to do with GenAI tags?

None which have anything to do with programming I disagree, e.g.: a program may be about building an LLM. a program may call an LLM. a program could be partly be done with an LLM. so t...

posted 2d ago by Franck Dernoncourt‭  ·  edited 2d ago by Franck Dernoncourt‭

Answer
50%
+0 −0
Q&A How can I deploy a fine-tuned GPT model in Azure via Python without using a token (e.g., using an endpoint key instead)?

I follow Azure's tutorial on fine-tuning GPT. I follow the deployment phase. Code: # Deploy fine-tuned model import json import requests token = '[redacted]' subscription = '[redacted]' ...

0 answers  ·  posted 4d ago by Franck Dernoncourt‭  ·  edited 4d ago by Lundin‭

Question deployment azure-cognitive-services llm fine-tuning
50%
+0 −0
Q&A How can I automatically delete any deployment of a fine-tuned OpenAI model on Azure that hasn't been used in the past x hours? [duplicate]

How can I automatically delete any deployment of a fine-tuned OpenAI model on Azure that hasn't been used in the past x hours? I am aware of 15-day timeout. However, this is too long for me, as th...

0 answers  ·  posted 18d ago by Franck Dernoncourt‭  ·  closed as duplicate 18d ago by ArtOfCode‭

Question azure azure-cognitive-services
50%
+0 −0
Q&A How can I automatically delete any deployment of a fine-tuned OpenAI model on Azure that hasn't been used in the past x hours?

How can I automatically delete any deployment of a fine-tuned OpenAI model on Azure that hasn't been used in the past x hours? I am aware of 15-day timeout. However, this is too long for me, as th...

0 answers  ·  posted 18d ago by Franck Dernoncourt‭

Question azure azure-cognitive-services
50%
+0 −0
Q&A How can I autocomplete variable names in prompts in Cursor?

It is currently not possible to autocomplete variable names in prompts in Cursor (source).

posted 20d ago by Franck Dernoncourt‭

Answer
50%
+0 −0
Q&A Why doesn't my Azure OpenAI model show up in Cursor?

I added my Azure OpenAI account show up in Cursor in the settings: But I don't see the Azure OpenAI model as one of the available models: Why doesn't my Azure OpenAI model show up in Cursor? ...

0 answers  ·  posted 20d ago by Franck Dernoncourt‭  ·  edited 20d ago by Franck Dernoncourt‭

Question cursor-ai
50%
+0 −0
Q&A Does the Rate limit (Tokens per minute) of an Azure OpenAI instance corresponds to the input tokens, the output tokens or the sum of both?

Does the Rate limit (Tokens per minute) of an Azure OpenAI instance corresponds to the input tokens, the output tokens or the sum of both? The sum of both input tokens and the output tokens. S...

posted 28d ago by Franck Dernoncourt‭

Answer
50%
+0 −0
Q&A Why does Azure Command-Line Interface (CLI) list no groups and no resources in my Azure account?

Reddit user InsufficientBorder found the issue: If you have multiple subscriptions, and/or haven't set a default, the CLI will "randomly" set one to be the subject of any requests. Check you'v...

posted 28d ago by Franck Dernoncourt‭

Answer
42%
+1 −2
Q&A How can I autocomplete variable names in prompts in Cursor?

E.g., I have a variable name options. Then I write a prompt. How can I autocomplete the variable name in prompt in Cursor? (i.e., instead of typing options, I want to only type o then it'll autocom...

1 answer  ·  posted 22d ago by Franck Dernoncourt‭  ·  edited 18d ago by ArtOfCode‭

Question cursor-ai
40%
+0 −1
Q&A "This model is not available on the selected Azure OpenAI Service resource." error, but I think it is. Why did I miss?

I deployed a finetuned GPT 4o mini model on Azure, region northcentralus. I getting this error in the Azure portal when trying to edit it (I wanted to change the max hit rate): This model is no...

1 answer  ·  posted 4d ago by Franck Dernoncourt‭  ·  last activity 2h ago by Franck Dernoncourt‭

Question azure-cognitive-services fine-tuning