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.
Activity for Franck Dernoncourt
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #293824 | Initial revision | — | about 18 hours ago |
Answer | — |
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`. ```python import json import requests newcapacity = 3 # Change this number to your desired capacity. 3 means 3000 tokens/minute. Authentication and resource ide... (more) |
— | about 18 hours ago |
Edit | Post #293792 |
Post edited: |
— | about 20 hours ago |
Edit | Post #293814 |
Post edited: |
— | about 21 hours ago |
Edit | Post #293814 |
Post edited: |
— | about 21 hours ago |
Edit | Post #293814 |
Post edited: |
— | about 21 hours ago |
Edit | Post #293814 |
Post edited: |
— | about 24 hours ago |
Edit | Post #293814 |
Post edited: |
— | about 24 hours ago |
Edit | Post #293815 | Initial revision | — | 1 day ago |
Answer | — |
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 operate exclusively in Cursor, the world's best IDE. You are pair programming with a USER to solve... (more) |
— | 1 day ago |
Edit | Post #293814 |
Post edited: |
— | 1 day ago |
Edit | Post #293814 | Initial revision | — | 1 day ago |
Question | — |
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: ```python import os from optimum.onnxruntime import ORTModelForSeq2SeqLM from transformers import AutoTokenizer, AutoConfig hfmodel... (more) |
— | 1 day ago |
Edit | Post #293804 |
Post edited: |
— | 3 days ago |
Edit | Post #293804 |
Post edited: |
— | 3 days ago |
Edit | Post #293804 |
Post edited: |
— | 3 days ago |
Edit | Post #293804 | Initial revision | — | 3 days ago |
Answer | — |
A: 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 the tags are relevant in my opinion. > tags like "open-ai" should probably be renamed "open-ai-... (more) |
— | 3 days ago |
Edit | Post #293792 |
Post edited: |
— | 4 days ago |
Edit | Post #293792 |
Post edited: |
— | 4 days ago |
Edit | Post #293792 | Initial revision | — | 4 days ago |
Question | — |
"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 not available on the selected Azure OpenAI Service resource. Learn more about model availability. ... (more) |
— | 4 days ago |
Edit | Post #293790 |
Post edited: |
— | 5 days ago |
Edit | Post #293790 | Initial revision | — | 5 days ago |
Question | — |
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]' resourcegroup = "[redacted]" resourcename = "[redacted]" modeldeploymentname = "gpt-4o-mini-202... (more) |
— | 5 days ago |
Edit | Post #293731 |
Post edited: |
— | 10 days ago |
Edit | Post #293731 | Initial revision | — | 10 days ago |
Question | — |
"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. every 1 or 2 hours. How can I extend the authentication time? Crossposts: - https://datasc... (more) |
— | 10 days ago |
Edit | Post #293664 |
Post edited: |
— | 17 days ago |
Edit | Post #293664 |
Post edited: |
— | 18 days ago |
Edit | Post #293664 | Initial revision | — | 18 days ago |
Question | — |
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 previous messages, file contents, or other contextual data from the IDE? Imagealttext Crossposts: ... (more) |
— | 18 days ago |
Edit | Post #293654 | Initial revision | — | 19 days ago |
Question | — |
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 this represents a cost of. 15 days 24 hours/day 2 USD/hour = 720 USD, and I have often several fine-tu... (more) |
— | 19 days ago |
Edit | Post #293653 | Initial revision | — | 19 days ago |
Question | — |
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 this represents a cost of. 15 days 24 hours/day 2 USD/hour = 720 USD, and I have often several fine-tu... (more) |
— | 19 days ago |
Edit | Post #293641 | Initial revision | — | 21 days ago |
Answer | — |
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). (more) |
— | 21 days ago |
Edit | Post #293640 |
Post edited: |
— | 21 days ago |
Edit | Post #293640 | Initial revision | — | 21 days ago |
Question | — |
Why doesn't my Azure OpenAI model show up in Cursor? I added my Azure OpenAI account show up in Cursor in the settings: Imagealttext But I don't see the Azure OpenAI model as one of the available models: Imagealttext Why doesn't my Azure OpenAI model show up in Cursor? Crossposts: - https://forum.cursor.com/t/why-doesnt-my-azure... (more) |
— | 21 days ago |
Comment | Post #293621 |
no body due to https://meta.codidact.com/posts/293622 leaving as such to help debug (more) |
— | 23 days ago |
Edit | Post #293621 | Initial revision | — | 23 days ago |
Question | — |
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 autocomplete to `options`) (more) |
— | 23 days ago |
Edit | Post #293616 |
Post edited: |
— | 24 days ago |
Edit | Post #293616 | Initial revision | — | 24 days ago |
Question | — |
Which model is Cursor IDE using when I specify a random model name? Example: I specify a random model name some random name: Imagealttext Then I call it: Imagealttext Which model is Cursor IDE using when I specify a random model name? Cross-posted: - https://stackoverflow.com/q/79537786/395857 (more) |
— | 24 days ago |
Edit | Post #293593 |
Post edited: |
— | 29 days ago |
Edit | Post #293593 |
Post edited: |
— | 29 days ago |
Edit | Post #293598 | Initial revision | — | 29 days ago |