Instructions to use tim-d/CurtGPT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tim-d/CurtGPT with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("teknium/Puffin-Phi-v2") model = PeftModel.from_pretrained(base_model, "tim-d/CurtGPT") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from tim-d/CurtGPT: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/tim-d/CurtGPT/resolve/refs%2Fpr%2F1/README.md
- Command line
-
hf download hf://tim-d/CurtGPT@refs/pr/1/README.md
-
curl -L -o README.md https://huggingface.co/tim-d/CurtGPT/resolve/refs%2Fpr%2F1/README.md
1.43 kB
| language: | |
| - en | |
| license: other | |
| library_name: peft | |
| datasets: | |
| - LDJnr/Puffin | |
| - pvduy/rm_hh_helpful_only | |
| pipeline_tag: text-generation | |
| widget: | |
| - text: 'USER: What''s better, farming, or using computers (which suck) | |
| ASSISTANT:' | |
| base_model: teknium/Puffin-Phi-v2 | |
| <table> | |
| <tr> | |
| <td style="width: 30%; text-align: left; vertical-align: middle"> | |
| # CurtGPT | |
| Using Microsoft's Phi 1.5 model like it was never intended. | |
| </td> | |
| <td style="text-align: center;"> | |
| <img src="https://github.com/tim-a-davis/silly_little_language_modeling_thing_at_utd/blob/main/curtgpt%20logo.png?raw=true" width="300" height="auto"> | |
| </td> | |
| </tr> | |
| </table> | |
| # Main Procedure | |
| This model is an adapter on [puffin phi v2](https://huggingface.co/teknium/Puffin-Phi-v2) trained using [QLoRA](https://arxiv.org/pdf/2305.14314.pdf) and [DPO](https://arxiv.org/pdf/2305.18290.pdf) on 60,000 samples from the [anthropic helpful only](https://huggingface.co/datasets/pvduy/rm_hh_helpful_only) dataset. | |
| --- | |
| library_name: peft | |
| --- | |
| ## Training procedure | |
| The following `bitsandbytes` quantization config was used during training: | |
| - quant_method: bitsandbytes | |
| - load_in_8bit: False | |
| - load_in_4bit: True | |
| - llm_int8_threshold: 6.0 | |
| - llm_int8_skip_modules: None | |
| - llm_int8_enable_fp32_cpu_offload: False | |
| - llm_int8_has_fp16_weight: False | |
| - bnb_4bit_quant_type: nf4 | |
| - bnb_4bit_use_double_quant: False | |
| - bnb_4bit_compute_dtype: float16 | |
| ### Framework versions | |
| - PEFT 0.5.0 |