Views
No views yet
1# Download and chat
2git clone https://github.com/Omkarth/CyberLLM.git
3cd CyberLLM
4
5pip install huggingface_hub torch sentencepiece pyyaml
6python -c "
7from huggingface_hub import hf_hub_download
8hf_hub_download(repo_id='Omk07/CyberLLM-350M', filename='model.pt', local_dir='checkpoints')
9hf_hub_download(repo_id='Omk07/CyberLLM-350M', filename='config.yaml', local_dir='checkpoints')
10hf_hub_download(repo_id='Omk07/CyberLLM-350M', filename='cybersec_tokenizer.model', local_dir='tokenizer')
11"
12
13python training/chat.py --model checkpoints/model.pt --question "What is SQL injection?"