Rax 3.5 Chat - Deployment Guide
Uploading to Hugging Face
Prerequisites
- Install required packages:
pip install huggingface_hub transformers
- Login to Hugging Face:
huggingface-cli login
Upload Steps
- Initialize Git LFS (if not already done):
cd /home/ogega/Projects/models/rax-3.5-chat
git lfs install
- Add all files:
git add .
git commit -m "Initial commit: Rax 3.5 Chat model"
Create repository on Hugging Face:
- Go to https://huggingface.co/new
- Create a new model repository named "rax-3.5-chat" under raxcore-dev
- Choose "Public" or "Private" as needed
Push to Hugging Face:
git remote add origin https://huggingface.co/raxcore-dev/rax-3.5-chat
git branch -M main
git push -u origin main
Alternative: Using huggingface_hub
from huggingface_hub import HfApi
api = HfApi()
api.upload_folder(
folder_path="/home/ogega/Projects/models/rax-3.5-chat",
repo_id="raxcore-dev/rax-3.5-chat",
repo_type="model"
)
Model Testing
Run the included test script:
cd /home/ogega/Projects/models/rax-3.5-chat
python test_rax.py
Files Included
config.json- Model configurationtokenizer_config.json- Tokenizer configurationmodel.safetensors- Model weightstokenizer.json- Tokenizer datatokenizer.model- SentencePiece modelgeneration_config.json- Generation parametersREADME.md- Comprehensive documentationmodel_card.md- Hugging Face model cardtest_rax.py- Test script.gitattributes- Git LFS configuration
Ready for Release!
Your Rax 3.5 Chat model is now fully rebranded and ready for upload to Hugging Face.