1.8 KiB
1.8 KiB
ChatPBC Fine-Tuned Deployment Checklist
This checklist ensures that ChatPBC V4 and V3.3 are correctly deployed and accessible via the direct Hugging Face Inference API.
1. Repository Configuration
- Model repositories
chatpbc1/chatpbc-v4andchatpbc1/chatpbc-v33are set to Public. - Hugging Face Token has
writeaccess to these repositories.
2. API Endpoint Verification
- ChatPBC V4 Endpoint:
https://api-inference.huggingface.co/models/chatpbc1/chatpbc-v4/v1/chat/completions - ChatPBC V3.3 Endpoint:
https://api-inference.huggingface.co/models/chatpbc1/chatpbc-v33/v1/chat/completions - Endpoint format follows the OpenAI-compatible direct inference structure.
3. Code Implementation
ChatPBC_Conversational_Demo.htmluses the direct endpoints.hf_space_app.pyuses the direct endpoints.- The
providerfield is REMOVED from all API request bodies. - Authorization header is correctly set to
Bearer [HF_TOKEN]. - UI reflects "ChatPBC" branding only (no mentions of Llama or other base models).
4. Security & Deployment
- The version of
ChatPBC_Conversational_Demo.htmluploaded to repositories uses the placeholderYOUR_HF_TOKEN_HERE. - The version delivered to the user contains the real token.
hf_space_app.pyis uploaded to both repositories.- Supporting scripts (
chatpbc_webscraper.py,chatpbc_file_processor.py) are included.
5. Functional Testing
- Local HTML file opens in browser and successfully communicates with the model.
- CORS errors are absent due to using the
/v1/chat/completionssub-endpoint. - File uploads and URL inputs are correctly appended to the conversation context.
- Model switching between V4 and V3.3 works as expected.
Developer: Mik Tse Agency
Date: July 26, 2026