paulo037 / StableCode-DPO2

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: November 17 2024

Introduction of StableCode-DPO2

Model Details of StableCode-DPO2

Model Card for StableCode-DPO

This model is a fine-tuned version of NESPED-GEN/StableCode-text2SQL-alias-indentacao . It has been trained using TRL .

Quick start
from transformers import pipeline

question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="paulo037/StableCode-DPO", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
Training procedure

This model was trained with DPO, a method introduced in Direct Preference Optimization: Your Language Model is Secretly a Reward Model .

Framework versions
  • TRL: 0.12.1
  • Transformers: 4.46.2
  • Pytorch: 2.5.1+cu121
  • Datasets: 3.1.0
  • Tokenizers: 0.20.3
Citations

Cite DPO as:

@inproceedings{rafailov2023direct,
    title        = {{Direct Preference Optimization: Your Language Model is Secretly a Reward Model}},
    author       = {Rafael Rafailov and Archit Sharma and Eric Mitchell and Christopher D. Manning and Stefano Ermon and Chelsea Finn},
    year         = 2023,
    booktitle    = {Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023},
    url          = {http://papers.nips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html},
    editor       = {Alice Oh and Tristan Naumann and Amir Globerson and Kate Saenko and Moritz Hardt and Sergey Levine},
}

Cite TRL as:

@misc{vonwerra2022trl,
    title        = {{TRL: Transformer Reinforcement Learning}},
    author       = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
    year         = 2020,
    journal      = {GitHub repository},
    publisher    = {GitHub},
    howpublished = {\url{https://github.com/huggingface/trl}}
}

Runs of paulo037 StableCode-DPO2 on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About StableCode-DPO2 huggingface.co Model

StableCode-DPO2 huggingface.co

StableCode-DPO2 huggingface.co is an AI model on huggingface.co that provides StableCode-DPO2's model effect (), which can be used instantly with this paulo037 StableCode-DPO2 model. huggingface.co supports a free trial of the StableCode-DPO2 model, and also provides paid use of the StableCode-DPO2. Support call StableCode-DPO2 model through api, including Node.js, Python, http.

StableCode-DPO2 huggingface.co Url

https://huggingface.co/paulo037/StableCode-DPO2

paulo037 StableCode-DPO2 online free

StableCode-DPO2 huggingface.co is an online trial and call api platform, which integrates StableCode-DPO2's modeling effects, including api services, and provides a free online trial of StableCode-DPO2, you can try StableCode-DPO2 online for free by clicking the link below.

paulo037 StableCode-DPO2 online free url in huggingface.co:

https://huggingface.co/paulo037/StableCode-DPO2

StableCode-DPO2 install

StableCode-DPO2 is an open source model from GitHub that offers a free installation service, and any user can find StableCode-DPO2 on GitHub to install. At the same time, huggingface.co provides the effect of StableCode-DPO2 install, users can directly use StableCode-DPO2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

StableCode-DPO2 install url in huggingface.co:

https://huggingface.co/paulo037/StableCode-DPO2

Url of StableCode-DPO2

StableCode-DPO2 huggingface.co Url

Provider of StableCode-DPO2 huggingface.co

paulo037
ORGANIZATIONS

Other API from paulo037

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 15 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 14 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 15 2024