Skip to content

Commit

Permalink
fixup model alias
Browse files Browse the repository at this point in the history
  • Loading branch information
elithrar committed Sep 9, 2024
1 parent 18d776a commit 3ba4b59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions llm_cloudflare.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ def register_models(register):
# "https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/ai/models/search?per_page=1000" \
# -H "Authorization: Bearer ${WORKERS_AI_TOKEN}" \
# | jq --raw-output '.result[] | select (.task.name | contains("Text Generation")) | "register(WorkersAI(\"\(.name)\"))"'
register(
WorkersAI("@cf/meta/llama-3.1-8b-instruct"), aliases=("llama3.1-8b-instruct")
)
register(WorkersAI("@cf/meta/llama-3.1-8b-instruct"))
register(WorkersAI("@cf/qwen/qwen1.5-0.5b-chat"))
register(WorkersAI("@cf/google/gemma-2b-it-lora"))
register(WorkersAI("@hf/nexusflow/starling-lm-7b-beta"))
Expand Down

0 comments on commit 3ba4b59

Please sign in to comment.