Skip to content

Commit

Permalink
Removed model gemma-2-27b because no provider supports this model any…
Browse files Browse the repository at this point in the history
…more
  • Loading branch information
kqlio67 committed Jan 30, 2025
1 parent 91f5abf commit c454340
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
6 changes: 3 additions & 3 deletions g4f/Provider/Glider.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class Glider(AsyncGeneratorProvider, ProviderModelMixin):
] + reasoning_models

model_aliases = {
"llama-3-1-70b": "chat-llama-3-1-70b",
"llama-3-1-8b": "chat-llama-3-1-8b",
"llama-3-2-3b": "chat-llama-3-2-3b",
"llama-3.1-70b": "chat-llama-3-1-70b",
"llama-3.1-8b": "chat-llama-3-1-8b",
"llama-3.2-3b": "chat-llama-3-2-3b",
"deepseek-r1": "deepseek-ai/DeepSeek-R1",
}

Expand Down
1 change: 0 additions & 1 deletion g4f/Provider/needs_auth/HuggingChat.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class HuggingChat(AsyncAuthedProvider, ProviderModelMixin):
"flux-schnell": "black-forest-labs/FLUX.1-schnell",
### Used in other providers ###
"qwen-2-vl-7b": "Qwen/Qwen2-VL-7B-Instruct",
"gemma-2-27b": "google/gemma-2-27b-it",
"qwen-2-72b": "Qwen/Qwen2-72B-Instruct",
"qvq-72b": "Qwen/QVQ-72B-Preview",
"sd-3.5": "stabilityai/stable-diffusion-3.5-large",
Expand Down
11 changes: 1 addition & 10 deletions g4f/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class VisionModel(Model):
)

llama_3_2_3b = Model(
name = "llama-3-2-3b",
name = "llama-3.2-3b",
base_provider = "Meta Llama",
best_provider = Glider
)
Expand Down Expand Up @@ -347,12 +347,6 @@ class VisionModel(Model):
best_provider = Liaobots
)

gemma_2_27b = Model(
name = 'gemma-2-27b',
base_provider = 'Google DeepMind',
best_provider = HuggingFace
)

### Anthropic ###
# claude 3
claude_3_haiku = Model(
Expand Down Expand Up @@ -704,8 +698,6 @@ class ModelUtils:
gemini_1_5_flash.name: gemini_1_5_flash,
gemini_2_0_flash.name: gemini_2_0_flash,
gemini_2_0_flash_thinking.name: gemini_2_0_flash_thinking,
### Gemma
gemma_2_27b.name: gemma_2_27b,

### Anthropic ###
# claude 3
Expand Down Expand Up @@ -799,7 +791,6 @@ class ModelUtils:
command_r.name: [command_r, [HuggingSpace]],
command_r_plus.name: [command_r_plus, [HuggingSpace]],
command_r7b.name: [command_r7b, [HuggingSpace]],
gemma_2_27b.name: [gemma_2_27b, [HuggingFaceAPI]],
qwen_2_72b.name: [qwen_2_72b, [HuggingSpace]],
qwen_2_5_coder_32b.name: [qwen_2_5_coder_32b, [HuggingFace]],
qwq_32b.name: [qwq_32b, [HuggingFace]],
Expand Down

0 comments on commit c454340

Please sign in to comment.