Instructions to use Ferrag/Trust-DeepCoder-6.7b-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ferrag/Trust-DeepCoder-6.7b-Instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("deepseek-ai/deepseek-coder-6.7b-base") model = PeftModel.from_pretrained(base_model, "Ferrag/Trust-DeepCoder-6.7b-Instruct") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from Ferrag/Trust-DeepCoder-6.7b-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 119 Bytes
-
https://huggingface.co/Ferrag/Trust-DeepCoder-6.7b-Instruct/resolve/main/generation_config.json
- Command line
-
hf download hf://Ferrag/Trust-DeepCoder-6.7b-Instruct/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Ferrag/Trust-DeepCoder-6.7b-Instruct/resolve/main/generation_config.json
119 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 32013, | |
| "eos_token_id": 32014, | |
| "transformers_version": "4.36.2" | |
| } | |