« DSPy » : différence entre les versions


Aucun résumé des modifications
Aucun résumé des modifications
Ligne 2 : Ligne 2 :


== Définition ==
== Définition ==
XXXXXXXXX
DSPy est un cadre d'applications qui utilise la programmation déclarative pour optimiser algorithmiquement les requêtes et le '''[[poids]]''', en particulier lorsque les modèles de langue sont utilisés une ou plusieurs fois dans un '''[[pipeline]]'''.
 
Voir aussi '''[[modèle de langue]]''' et '''[[requête en langue naturelle]]'''


== Français ==
== Français ==
''' XXXXXXXXX '''
''' DSPy '''
 


== Anglais ==
== Anglais ==
''' DSPY'''
''' DSPy'''


'''declarative language model calls into self-improving pipelines'''
''' Declarative Self-improving language Programs pythonically'''


  DSPy is a framework for algorithmically optimizing LM prompts and weights, especially when LMs are used one or more times within a pipeline. To use LMs to build a complex system without DSPy, you generally have to: (1) break the problem down into steps, (2) prompt your LM well until each step works well in isolation, (3) tweak the steps to work well together, (4) generate synthetic examples to tune each step, and (5) use these examples to finetune smaller LMs to cut costs. Currently, this is hard and messy: every time you change your pipeline, your LM, or your data, all prompts (or finetuning steps) may need to change.
''The Declarative Self-improving language Programs pythonically (DSPy) is a framework that uses the declarative programming paradigm for algorithmically optimizing prompts and weight, especially when Language Models are use one or more times with a pipeline.''


== Source ==
== Source ==


[https://arxiv.org/abs/2310.03714   Source : arxiv  ]
[https://github.com/stanfordnlp/dspy  Source : github]
 
[https://medium.com/the-ai-forum/declarative-self-improving-language-programs-pythonically-01e4ddbae12a#:~:text=DSPy%20(Declarative%20Self%2Dimproving%20language,more%20times%20within%20a%20pipeline  Source : Medium]
 
[https://mfg-labs.medium.com/r%C3%A9v%C3%A9ler-le-potentiel-des-llm-lart-de-l-optimisation-des-prompts-avec-dspy-c8f9159ea4a5   Source : Medium fr]




[[Catégorie:vocabulary]]
[[Catégorie:publication]]

Version du 27 septembre 2024 à 11:07

en construction

Définition

DSPy est un cadre d'applications qui utilise la programmation déclarative pour optimiser algorithmiquement les requêtes et le poids, en particulier lorsque les modèles de langue sont utilisés une ou plusieurs fois dans un pipeline.

Voir aussi modèle de langue et requête en langue naturelle

Français

DSPy


Anglais

DSPy

Declarative Self-improving language Programs pythonically

The Declarative Self-improving language Programs pythonically (DSPy) is a framework that uses the declarative programming paradigm for algorithmically optimizing prompts and weight, especially when Language Models are use one or more times with a pipeline.

Source

Source : github

Source : Medium

Source : Medium fr

Contributeurs: Arianne , wiki