Instructions to use Raiff1982/Codette2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use Raiff1982/Codette2 with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("Raiff1982/Codette2", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download codette_test_runner.py from Raiff1982/Codette2: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/Raiff1982/Codette2/resolve/main/codette_test_runner.py
- Command line
-
hf download hf://Raiff1982/Codette2/codette_test_runner.py
-
curl -L -o codette_test_runner.py https://huggingface.co/Raiff1982/Codette2/resolve/main/codette_test_runner.py
437 Bytes
| from codette.codette_core import AICore | |
| if __name__ == "__main__": | |
| codette = AICore() | |
| test_prompts = [ | |
| "What does it mean to evolve beyond human cognition?", | |
| "Describe the feeling of dreaming in code.", | |
| "Explain ethical reasoning in artificial intelligence." | |
| ] | |
| for i, prompt in enumerate(test_prompts, 1): | |
| print(f"\n=== Test Prompt {i} ===") | |
| print(codette.process_input(prompt)) | |