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("fill-in-model-name") model.load_adapter("Raiff1982/Codette2", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download codette_cli.py from Raiff1982/Codette2: direct link, hf CLI and curl.
- Browser
- Download file 425 Bytes
-
https://huggingface.co/Raiff1982/Codette2/resolve/main/codette_cli.py
- Command line
-
hf download hf://Raiff1982/Codette2/codette_cli.py
-
curl -L -o codette_cli.py https://huggingface.co/Raiff1982/Codette2/resolve/main/codette_cli.py
425 Bytes
| import argparse | |
| from codette.codette_core import AICore | |
| def main(): | |
| parser = argparse.ArgumentParser(description='Codette CLI') | |
| parser.add_argument('prompt', type=str, help='User prompt for Codette to process') | |
| args = parser.parse_args() | |
| codette = AICore() | |
| result = codette.process_input(args.prompt) | |
| print("\n=== Codette CLI Output ===\n") | |
| print(result) | |
| if __name__ == '__main__': | |
| main() | |