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
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 [] ...
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...
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/...
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...
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...
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...
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...
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 ...
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...
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. ...
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...
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...
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]' ...
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...
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...
It is currently not possible to autocomplete variable names in prompts in Cursor (source).
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? ...
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...
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...
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...
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...