Skip to content

Commit

Permalink
chore: update README.md models (#23)
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
  • Loading branch information
aarnphm authored Sep 26, 2024
1 parent 63a9c17 commit 4aea71d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 43 deletions.
41 changes: 0 additions & 41 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions gen_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
"llama3": "Llama-3",
"phi3": "Phi-3",
"mistral": "Mistral",
"qwen2": "Qwen-2",
"qwen2.5": "Qwen-2.5",
"gemma": "Gemma",
"gemma2": "Gemma-2",
"mixtral": "Mixtral",
"mistral-large": "Mistral-Large",
Expand All @@ -40,6 +38,7 @@
for yaml_file in yaml_files:
with open(yaml_file, "r") as f:
data = yaml.safe_load(f)
if data['name'] not in model_display_names: continue
# Extract the HF model ID from routes.input.model.default
for route in data.get("schema", {}).get("routes", []):
for prop, details in route.get("input", {}).get("properties", {}).items():
Expand Down

0 comments on commit 4aea71d

Please sign in to comment.