You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

TiTi Models — Trạm Điều Phối & Server Đa-Model Chính Thức (Thengbeo/titi-models)

Repo trung tâm siêu nhẹ (~50 KB) cho toàn bộ hệ sinh thái TiTi AI (titi-genesis, titi-g2, titi-g2.1, titi-moe…). Mỗi đời model giữ trọng số ở repo riêng (Thengbeo/titi-genesis, Thengbeo/titi-vision, Thengbeo/titi-bot…), còn titi_server.py kéo đúng model bạn chọn về nạp lên bất kỳ con GPU nào và cắm thẳng vào https://api.titi.ai.vn.


1. Chạy trên Google Colab / Akash / RunPod / Mac Studio (1 dòng duy nhất, không lộ token!)

!([ -d /content/titi-models ] || git clone https://huggingface.co/Thengbeo/titi-models /content/titi-models) && cd /content/titi-models && git pull && python titi_server.py

Khi chạy sẽ tự bật 2 khung tương tác gọn lỏn:

  1. 🔑 Nhập HF_TOKEN: (ẩn dấu •••••) → tự mở két sắt private Thengbeo/titi-infra-secrets lấy CF_TUNNEL_TOKEN + TITI_API_KEY.
  2. 🤖 Nhập tên (hoặc số) model muốn nạp:
    • Gõ titi genesis (hoặc 1, hoặc nhấn Enter) → chỉ tải & nạp Thengbeo/titi-genesis.
    • Gõ titi-genesis, titi-g2 → nạp đồng thời nhiều model trên cùng 1 GPU!
    • Gõ all → nạp toàn bộ danh sách trong models.json.

Muốn TẮT khung hỏi chọn model (chạy thẳng tự động)?

Thêm --models <tên_model>:

python titi_server.py --models titi-genesis

2. Cách thêm model mới (titi-g2, titi-g2.1, titi-moe…) mà KHÔNG cần sửa code server

  1. Mở file models.json, thêm 1 mục mới (tên model, repo, ckpt, tokenizer).
  2. Thậm chí khi server ĐANG CHẠY, gọi API nạp nóng luôn không cần restart:
    curl -X POST https://api.titi.ai.vn/admin/models/load \
      -H "Authorization: Bearer $TITI_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model": "titi-g2"}'
    
  3. Gỡ model khỏi VRAM để nhường GPU cho model khác:
    curl -X POST https://api.titi.ai.vn/admin/models/unload \
      -H "Authorization: Bearer $TITI_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model": "titi-genesis"}'
    

3. Các đường dẫn API trên https://api.titi.ai.vn

  • GET /health — Kiểm tra GPU, danh sách model đang chạy & danh bạ có sẵn.
  • GET /v1/models — Danh sách model đang chạy (chuẩn OpenAI).
  • POST /v1/chat/completions — Gọi chat theo "model": "titi-genesis" (hoặc "titi-g2"…).
  • POST /v1/titi/batch — Chấm benchmark batch siêu tốc theo "model".
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support