Instructions to use litcoderr/CausalLens with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use litcoderr/CausalLens with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/junho/lbk/Competency/com2025/full_merged_checkpoint") model = PeftModel.from_pretrained(base_model, "litcoderr/CausalLens") - Notebooks
- Google Colab
- Kaggle
Download base/generation_config.json from litcoderr/CausalLens: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/litcoderr/CausalLens/resolve/main/base/generation_config.json
- Command line
-
hf download hf://litcoderr/CausalLens/base/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/litcoderr/CausalLens/resolve/main/base/generation_config.json
245 Bytes
| { | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "pad_token_id": 151643, | |
| "temperature": 0.7, | |
| "tie_word_embeddings": false, | |
| "top_k": 20, | |
| "top_p": 0.8, | |
| "transformers_version": "4.57.1" | |
| } | |