Skip to content

Python scraper based on AI

feat: Add new models and update existing ones

Alok Saboo58289eccc523
diff --git a/scrapegraphai/helpers/models_tokens.py b/scrapegraphai/helpers/models_tokens.py
index f1780049..d84e1094 100644
--- a/scrapegraphai/helpers/models_tokens.py
+++ b/scrapegraphai/helpers/models_tokens.py
@@ -33,25 +33,36 @@ models_tokens = {
},
"ollama": {
+ "command-r": 12800,
+ "command-r-plus": 12800,
+ "codellama": 16000,
+ "dbrx": 32768,
+ "dbrx:instruct": 32768,
+ "deepseek-coder:33b": 16000,
+ "dolphin-mixtral": 32000,
"llama2": 4096,
"llama3": 8192,
+ "llama3:70b-instruct": 8192,
"llava": 4096,
+ "llava:34b": 4096,
"llava_next": 4096,
"mistral": 8192,
- "codellama": 16000,
- "dolphin-mixtral": 32000,
- "mistral-openorca": 32000,
- "stablelm-zephyr": 8192,
- "command-r-plus": 12800,
- "command-r": 12800,
"mistral:7b-instruct": 32768,
- "llama3:70b-instruct": 8192,
+ "mistral-openorca": 32000,
"mixtral:8x22b-instruct": 65536,
- "wizardlm2:8x22b": 65536,
- "dbrx": 32768,
- "dbrx:instruct": 32768,
"nous-hermes2:34b": 4096,
"orca-mini": 2048,
+ "phi3:3.8b": 12800,
+ "phi3:14b": 12800,
+ "qwen:0.5b": 32000,
+ "qwen:1.8b": 32000,
+ "qwen:4b": 32000,
+ "qwen:14b": 32000,
+ "qwen:32b": 32000,
+ "qwen:72b": 32000,
+ "qwen:110b": 32000,
+ "stablelm-zephyr": 8192,
+ "wizardlm2:8x22b": 65536,
# embedding models
"nomic-embed-text": 8192,
"snowflake-arctic-embed:335m": 8192,